Commit Graph

1429 Commits

Author SHA1 Message Date
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
Dmitry Timoshkov f39c140a88 gdiplus: Add more tests for GIF image properties. 2012-09-21 17:06:58 +02:00
Dmitry Timoshkov d8d4bffb39 gdiplus: Test GIF properties using a specially created GIF image with a bunch of extensions. 2012-09-21 17:06:52 +02:00
Vincent Povirk 0b40c9cb41 gdiplus: Implement LineCapRound in GdipWidenPath. 2012-09-21 10:53:29 +02:00
Vincent Povirk 8871af7ea5 gdiplus: Properly set the first point to start when widening open figures. 2012-09-21 10:53:23 +02:00
Vincent Povirk 47c433de8c gdiplus: Implement LineCapSquare in GdipWidenPath. 2012-09-21 10:53:17 +02:00
Dmitry Timoshkov 058963282e gdiplus: Add some tests for GIF properties. 2012-09-18 19:05:06 +02:00
Dmitry Timoshkov 4d42626dbe gdiplus: Add preliminary support for pixel offset modes. 2012-09-18 19:04:53 +02:00
Dmitry Timoshkov 556bdf249e gdiplus: Add some tests for scaling an image with various pixel offset modes. 2012-09-18 19:04:44 +02:00
Dmitry Timoshkov b8f4252290 gdiplus: Add support for generic typographic string format. 2012-09-04 17:15:39 +02:00
Dmitry Timoshkov bfa35f37a7 gdiplus: Add support for StringFormatFlagsNoClip. 2012-09-04 17:15:32 +02:00
Marcus Meissner 5ae8629fca gdiplus: Avoid uninitialized usage of bitmap (Coverity). 2012-09-03 17:43:31 +02:00