Commit Graph

501 Commits

Author SHA1 Message Date
Detlef Riekenberg fa5d091051 gdiplus/tests: Add tests for GdipSetCustomLineCapWidthScale. 2013-04-18 11:41:53 +02:00
Dmitry Timoshkov 6ab04040e5 gdiplus: GdipMeasureCharacterRanges should treat empty layout extents as infinite when StringFormatFlagsNoClip is specified.
Unlike GdipMeasureString which always treats empty layout extents as infinite.
2013-03-15 11:43:24 +01:00
Dmitry Timoshkov db746fe897 gdiplus: GdipMeasureCharacterRanges shouldn't add margins to string bounds. 2013-03-15 11:43:13 +01:00
Dmitry Timoshkov 4b19b618f5 gdiplus: Add more GdipMeasureString/GdipMeasureCharacterRanges clipping and alignment tests. 2013-03-14 12:03:45 +01:00
Vincent Povirk 636e60b6e0 gdiplus: Fix GdipCreateBitmapFromGraphics implementation. 2013-03-11 10:42:40 +01:00
Francois Gouget 06489c6501 gdiplus/tests: Skip the tests if unable to load the TIFF image.
On Windows XP most versions of gdiplus (i.e. older than 5.2) do not support TIFF.
2013-03-04 17:32:02 +01:00
Dmitry Timoshkov 464b8b4160 gdiplus: Add some tests for string format alignment. 2013-03-04 11:19:20 +01:00
Dmitry Timoshkov d23bfd8dfc gdiplus: Round up when converting from 32-bit ARGB to PARGB. 2013-02-25 10:40:36 +01:00
Dmitry Timoshkov ada3aea736 gdiplus: Add some tests for ARGB conversions. 2013-02-25 10:40:36 +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
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 2ddb3b7d93 gdiplus: Add a test for drawing to HDC's backed by 32-bit alpha dibs. 2012-12-04 19:34:19 +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
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
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 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 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 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 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
Dmitry Timoshkov 058963282e gdiplus: Add some tests for GIF properties. 2012-09-18 19:05:06 +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 bf0f8c970f gdiplus: Add a test for scaling an image with world transform. 2012-08-31 17:02:22 +02:00
Dmitry Timoshkov 89ab0e4b12 gdiplus: Make GdipMeasureCharacterRanges/GdipMeasureString/GdipDrawString add extra space around the text. 2012-08-29 21:25:07 +02:00
Dmitry Timoshkov 31544a73da gdiplus/tests: Fix font leak. 2012-08-27 19:49:39 +02:00
Dmitry Timoshkov 4e2959ab9b gdiplus: Make GdipMeasureCharacterRanges use common font transformation code. 2012-08-24 18:25:19 +02:00
Dmitry Timoshkov e6c77a7c7a gdiplus: Clarify in the tests where 1/3 of extra text height comes from. 2012-08-23 21:36:56 +02:00
Dmitry Timoshkov c8055b5b7b gdiplus: GdipMeasureCharacterRanges should respect device units and transformations. 2012-08-22 12:12:27 +02:00
Dmitry Timoshkov 1418cd796c gdiplus: GdipMeasureCharacterRanges shouldn't treat empty layout rectangle as infinite bounds. 2012-08-22 12:12:11 +02:00
Dmitry Timoshkov 32d37c832d gdiplus: Add a bunch of tests for GdipMeasureCharacterRanges. 2012-08-22 12:12:04 +02:00
Dmitry Timoshkov acc4623fd0 gdiplus: Use set_rect_empty() helper to make the code slightly more compact and readable. 2012-08-21 11:47:15 +02:00
Dmitry Timoshkov de6c150d98 gdiplus: Add a test for extra space added by GdipMeasureString. 2012-08-20 17:06:13 +02:00