Commit Graph

1440 Commits

Author SHA1 Message Date
Alexandre Julliard
1c2f23cf2f gdi32: Add helper functions for GetTextExtentExPoint and fix handling of text justification. 2012-12-18 19:21:44 +01:00
Alexandre Julliard
fa664b548e gdiplus/tests: Tweak some metrics to make the tests pass on Wine. 2012-12-10 11:54:58 +01:00
Andrew Talbot
e4351708d5 gdiplus: Remove unneeded address-of operator from array name. 2012-12-06 13:01:07 +01:00
Vincent Povirk
ba4ef584d7 gdiplus: Fix graphics bounds for memory DC's. 2012-12-06 13:00:49 +01:00
Vincent Povirk
81d9ffa041 gdiplus: Always use AlphaBlend to draw to 32-bit DIB's. 2012-12-06 12:59:56 +01:00
Vincent Povirk
431aa5bc3f gdiplus: Use one GetDIBits call instead of one per row. 2012-12-06 12:59:26 +01:00
Vincent Povirk
04412f7a74 gdiplus: Avoid accessing dib bits directly in GdipCreateBitmapFromHBITMAP. 2012-12-06 12:56:27 +01:00
Vincent Povirk
2ddb3b7d93 gdiplus: Add a test for drawing to HDC's backed by 32-bit alpha dibs. 2012-12-04 19:34:19 +01:00
Andrew Talbot
f8da0d3a1e gdiplus: Remove superfluous braces. 2012-11-28 20:14:41 +01:00
Vincent Povirk
423d50eb3b gdiplus: Use clipping region in alpha_blend_pixels. 2012-11-28 14:41:43 +01:00
Dmitry Timoshkov
b9ead1a7ea gdiplus: Avoid more cases of allocating a transformation matrix on the heap. 2012-11-19 11:47:27 +01:00
Dmitry Timoshkov
39ec8ce67e gdiplus: Store transformation matrix directly in the objects. 2012-11-08 15:37:49 +01:00
Dmitry Timoshkov
0a81a34643 gdiplus: Avoid GdipCloneMatrix calls for the graphics transformation matrix. 2012-11-07 11:58:27 +01:00
Dmitry Timoshkov
fa184bc2c2 gdiplus: Allocate a copy of the graphics transformation matrix on the stack instead of cloning it. 2012-11-06 20:00:27 +01:00
Dmitry Timoshkov
12340af3f9 gdiplus: Add support for extra transformation in GdipMeasureDriverString and GdipDrawDriverString. 2012-11-06 20:00:22 +01:00
Vincent Povirk
91a3e5fc10 gdiplus: Reimplement GdipCreateMetafileFromEmf without using IPicture. 2012-11-01 10:50:45 +01:00
Vincent Povirk
d8a855305f gdiplus: Implement GdipCloneImage for metafiles with a handle. 2012-11-01 10:50:41 +01:00
Vincent Povirk
0cbec5508b gdiplus: Implement drawing metafiles with an emf handle. 2012-11-01 10:50:37 +01:00
Vincent Povirk
954b49382f gdiplus: Add tests for drawing recorded metafiles. 2012-11-01 10:50:33 +01:00
Rafał Mużyło
fc2bb3bdc1 gdiplus: Mark regions as unclipped correctly. 2012-10-30 18:08:13 +01:00
Rafał Mużyło
48a2b48e16 gdiplus: Fix logic of treating the region of a string as unclipped. 2012-10-30 18:08:13 +01:00
Frédéric Delanoy
c97066370c gdiplus/tests: Cleanup resources on error path in test_font_height_scaling (coverity). 2012-10-30 10:47:17 +01:00
Dmitry Timoshkov
84ea75f1c6 gdiplus: GdipGetLogFont should use device scale and transform when appropriate. 2012-10-26 16:48:53 +02:00
Dmitry Timoshkov
71eb164482 gdiplus: Move internal helper get_log_fontW() out of public GdipGetLogFontW() export. 2012-10-26 16:47:01 +02:00
André Hentschel
31eef521e9 gdiplus: Fix order of GdipFrees (coverity). 2012-10-25 11:47:23 +02:00
André Hentschel
9e5936b36c gdiplus/tests: Fix out-of-bounds access (coverity). 2012-10-23 12:28:59 +02:00
Dmitry Timoshkov
5e65f95542 gdiplus: Test also lf.lfEscapement and lf.lfOrientation returned by GdipGetLogFont. 2012-10-23 12:11:05 +02:00
Dmitry Timoshkov
a45da55922 gdiplus: Fix a typo leading to incorrect character width calculation in GdipMeasureDriverString. 2012-10-22 11:44:41 +02:00
Dmitry Timoshkov
22336a121b gdiplus: Add a test for GdipMeasureDriverString called with not NULL matrix. 2012-10-12 11:28:12 +02:00
Dmitry Timoshkov
ca91825345 gdiplus: Clarify where extra Y margin added by GdipMeasureString comes from. 2012-10-11 20:40:11 +02:00
Dmitry Timoshkov
608a936ada gdiplus: Clarify where extra Y margin added by GdipMeasureString comes from. 2012-10-11 20:40:08 +02:00
Dmitry Timoshkov
9d49bb2b00 gdiplus: Use IFD_SHORT type for the TIFF compression tag to avoid test failures under some XP versions. 2012-10-11 20:22:54 +02:00
Dmitry Timoshkov
8fd422499b gdiplus: Add more font transformation tests. 2012-10-09 16:12:17 +02:00
Dmitry Timoshkov
1c30b894ec gdiplus: Stop adding 1/6 of EM height to the created font height. 2012-10-08 17:36:15 +02:00
Dmitry Timoshkov
ec4cd117b5 gdiplus: Workaround missing support for true floating point regions in Wine gdiplus by using a scaling world transform.
This simplifies the test and makes sure that there is no broken workarounds
in the tests.
2012-10-08 17:36:09 +02:00
Dmitry Timoshkov
2551ce4ea7 gdiplus: Detect broken GdipMeasureCharacterRanges behaviour before performing the font height scaling test. 2012-10-08 17:35:59 +02:00
Dmitry Timoshkov
e664c2bd3a gdiplus: Add a font transformation test. 2012-10-08 17:35:54 +02:00
Dmitry Timoshkov
896d1047f3 gdiplus: Reuse an existing image stream in GdipImageSelectActiveFrame. 2012-09-28 17:17:47 +02:00
Dmitry Timoshkov
691be74f17 gdiplus: Take into account font substitution in GdipCreateFontFromLogfont. 2012-09-27 20:49:37 +02:00
Dmitry Timoshkov
65a966de76 gdiplus: Take into account font substitution in GdipCreateFontFamilyFromName. 2012-09-27 20:49:29 +02:00
Dmitry Timoshkov
25ee85fe84 gdiplus: Move font substitution test into a separate function. 2012-09-27 20:49:23 +02:00
Dmitry Timoshkov
0ef523e2bf gdiplus: Add GIF palette to the image properties. 2012-09-25 11:30:31 +02:00
Dmitry Timoshkov
faa24d96d4 gdiplus: Add GIF loopcount to the image properties. 2012-09-25 11:30:28 +02:00
Dmitry Timoshkov
54edca19e1 gdiplus: Add GIF transparent index to the image properties. 2012-09-25 11:30:25 +02:00
Dmitry Timoshkov
a950a0549f gdiplus: Add GIF background to the image properties. 2012-09-25 11:30:21 +02:00
Dmitry Timoshkov
3bb4974dd4 gdiplus: Add GIF frame delay to the image properties. 2012-09-25 11:30:18 +02:00
Dmitry Timoshkov
000f4725aa gdiplus: Add GIF comment to the image properties. 2012-09-25 11:30:14 +02:00
Dmitry Timoshkov
a0424f33c0 gdiplus: Remove GIF properties test from generic tests, they are tested separately. 2012-09-25 11:30:11 +02:00
Dmitry Timoshkov
5f9be70570 gdiplus: Make GIF palettes in a custom test image slightly more different. 2012-09-24 22:27:26 +02:00
Dmitry Timoshkov
915df87aa5 gdiplus: Add an ability to cache bitmap properties and use distinct metadata loaders for different image formats. 2012-09-21 17:07:09 +02:00