"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dlls/gdiplus/graphics.c" between
wine-5.12.tar.xz and wine-5.13.tar.xz

About: Wine is an Open Source implementation of the MS Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs. Development release.

graphics.c  (wine-5.12.tar.xz):graphics.c  (wine-5.13.tar.xz)
skipping to change at line 7427 skipping to change at line 7427
static GpStatus draw_driver_string(GpGraphics *graphics, GDIPCONST UINT16 *text, INT length, static GpStatus draw_driver_string(GpGraphics *graphics, GDIPCONST UINT16 *text, INT length,
GDIPCONST GpFont *font, GDIPCONST GpStringFor mat *format, GDIPCONST GpFont *font, GDIPCONST GpStringFor mat *format,
GDIPCONST GpBrush *brush, GDIPCONST PointF *p ositions, GDIPCONST GpBrush *brush, GDIPCONST PointF *p ositions,
INT flags, GDIPCONST GpMatrix *matrix) INT flags, GDIPCONST GpMatrix *matrix)
{ {
GpStatus stat = NotImplemented; GpStatus stat = NotImplemented;
if (length == -1) if (length == -1)
length = lstrlenW(text); length = lstrlenW(text);
if (graphics->image && graphics->image->type == ImageTypeMetafile)
return METAFILE_DrawDriverString((GpMetafile*)graphics->image, text, len
gth, font,
format, brush, positions, flags, matrix);
if (graphics->hdc && !graphics->alpha_hdc && if (graphics->hdc && !graphics->alpha_hdc &&
brush->bt == BrushTypeSolidColor && brush->bt == BrushTypeSolidColor &&
(((GpSolidFill*)brush)->color & 0xff000000) == 0xff000000) (((GpSolidFill*)brush)->color & 0xff000000) == 0xff000000)
stat = GDI32_GdipDrawDriverString(graphics, text, length, font, format, stat = GDI32_GdipDrawDriverString(graphics, text, length, font, format,
brush, positions, flags, matrix); brush, positions, flags, matrix);
if (stat == NotImplemented) if (stat == NotImplemented)
stat = SOFTWARE_GdipDrawDriverString(graphics, text, length, font, forma t, stat = SOFTWARE_GdipDrawDriverString(graphics, text, length, font, forma t,
brush, positions, flags, matrix); brush, positions, flags, matrix);
return stat; return stat;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)