Commit Graph

1447 Commits

Author SHA1 Message Date
Dmitry Timoshkov 35fc9c12dc gdiplus: Avoid not necessary memory allocation for BITMAPINFO. 2013-01-30 12:43:24 +01:00
Andrew Talbot 32d070afb0 gdiplus: Avoid signed-unsigned integer comparisons. 2013-01-24 10:49:34 +01:00
Dmitry Timoshkov 9532de882f gdiplus: Make GdipCreateFromHDC2 not fail in case of hDevice != NULL. 2013-01-23 12:52:16 +01:00
Dmitry Timoshkov 0d0f05e523 gdiplus: Avoid not necessary memory allocation in GdipCreateBitmapFromHICON. 2013-01-16 12:23:19 +01:00
Dmitry Timoshkov bd601f9950 gdiplus: Avoid not necessary memory allocation for BITMAPINFO. 2013-01-15 12:11:46 +01:00
Dmitry Timoshkov 44e554b744 gdiplus: Avoid not necessary memory allocation for palette entries. 2013-01-15 12:11:39 +01:00
Dmitry Timoshkov 34ef07fda2 gdiplus: Fix reading the mask bits in GdipCreateBitmapFromHICON. 2013-01-15 12:11:24 +01:00
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