Commit Graph

88 Commits

Author SHA1 Message Date
Dmitry Timoshkov e6c69e9685 gdiplus: Add some GdipTransformPoints tests for a device with different x/y resolutions. 2012-07-26 11:08:02 +02:00
Dmitry Timoshkov b20a1f56b0 gdiplus: GdipMeasureString operates internally in pixels but in/out rectangles are in device units. 2012-07-18 17:17:46 +02:00
Dmitry Timoshkov 9288acda1d gdiplus: GdipGetFontHeight should convert height from font to device units. 2012-07-18 17:17:38 +02:00
Dmitry Timoshkov 9da37c769e gdiplus: Add a test for font and graphics using different base units. 2012-07-18 17:17:14 +02:00
Dmitry Timoshkov 3439f28679 gdiplus: GdipCreateFontFromLogfont also returns NotTrueTypeFont for a not present font. 2012-06-19 13:44:07 +02:00
Marcus Meissner f0392c77bc gdiplus: Check return values of GdipCreateMatrix(2) (Coverity). 2011-07-14 14:14:04 +02:00
Vincent Povirk 3a6ba94011 gdiplus: Add test showing scaling does not affect returned HDC objects. 2011-07-08 11:26:31 +02:00
Vincent Povirk 6cc7e7f7c4 gdiplus: Implement GdipMeasureDriverString. 2011-06-28 16:46:16 -05:00
Vincent Povirk 640c7b5e4f gdiplus: Test MeasureDriverString with a character that has an underhang. 2011-06-28 16:46:12 -05:00
Vincent Povirk 0ec9d398a5 gdiplus: Fix the order of arguments to expectf in test_string_functions. 2011-06-28 16:46:05 -05:00
Vincent Povirk c0682a26d2 gdiplus: Add test for GdipMeasureDriverString. 2011-06-27 16:59:08 -05:00
Vincent Povirk be0af56be3 gdiplus: Add a software implementation of GdipDrawDriverString. 2011-04-05 13:36:56 +02:00
Vincent Povirk 15140a722e gdiplus: Add basic implementation of GdipDrawDriverString. 2011-04-01 10:48:25 +02:00
Vincent Povirk b3dfe973ad gdiplus: Add test for GdipSetTextRenderingHint and make it pass. 2011-03-29 12:37:03 +02:00
Vincent Povirk 204253b6ba gdiplus: Add test for GdipDrawDriverString. 2011-03-29 12:36:59 +02:00
Vincent Povirk 71eb248c30 gdiplus: Implement GdipFillRectangle based on GdipFillPath. 2011-03-17 10:42:32 +01:00
Vincent Povirk a2631ae1d2 gdiplus: Add tests for interpolation mode and make them pass. 2011-03-10 14:10:15 +01:00
Maarten Lankhorst c057694883 gdiplus: Add tests and fix GdipDrawImagePointsRect. 2011-03-03 17:47:15 +01:00
Austin English f817e547f9 gdiplus/tests: Make sure to use return values (LLVM/Clang). 2011-02-17 17:30:00 +01:00
Austin English 2ebcaf1a51 gdiplus/tests: Remove redundant assignments (LLVM/Clang). 2011-02-10 10:27:55 -06:00
Austin English e77d27a2eb gdiplus/tests: Make sure to use return values (LLVM/Clang). 2011-02-10 10:27:39 -06:00
Vincent Povirk c8a48f237e gdiplus: Don't create a DIB section for non-alpha or reference bitmaps. 2010-10-01 13:44:39 +02:00
Vincent Povirk 728aaf2902 gdiplus: Add tests for the HDC's we get from bitmap objects. 2010-08-17 11:55:33 +02:00
Vincent Povirk 9a6eabf0b5 gdiplus: Create HBITMAP-less bitmap objects for exotic pixel formats. 2010-08-17 11:55:33 +02:00
Wade Gobel cceb3dc77a gdiplus: Implemented GdipFillClosedCurve and GdipFillClosedCurveI. 2010-07-28 14:01:52 +02:00
Wade Gobel f4e2af65c5 gdiplus: Fixed GdipFillClosedCurve2 and GdipFillClosedCurve2I in the cases that count <= 1. 2010-07-28 14:01:52 +02:00
Alexandre Julliard 811cdfaf27 gdi32: Reject invalid DIB depths in CreateDIBSection. 2010-07-20 14:40:32 +02:00
Alexandre Julliard 5d71136611 gdiplus/tests: Use Tahoma instead of Courier New for testing font metrics. 2010-07-01 11:38:46 +02:00
Vincent Povirk deb6466f3f gdiplus: Implement GdipMeasureCharacterRanges. 2010-03-31 11:40:20 +02:00
Vincent Povirk f860285cca gdiplus: Add tests for GdipMeasureCharacterRanges. 2010-03-31 11:40:15 +02:00
Vincent Povirk 21109a40fb gdiplus: Fix the linesfilled calculation in GdipMeasureString. 2010-03-31 11:40:08 +02:00
Vincent Povirk 0bc54fb4fb gdiplus: Add a test for GdipMeasureString. 2010-03-31 11:39:43 +02:00
Vincent Povirk 0f919e365b gdiplus: Add tests for GdipDrawString. 2010-03-31 11:37:45 +02:00
Alexandre Julliard be748e0d71 gdiplus/tests: Create a window for graphics tests instead of painting over the desktop. 2010-03-19 11:59:51 +01:00
Paul Vriens 0513eb506e gdiplus/tests: Fix a test failure on Win98/WinMe. 2010-03-16 17:03:43 +01:00
Justin Chevrier b4bfa6e1c1 gdiplus: Basic implementation of GdipGetNearestColor with changes to test to reflect fixes. 2010-02-26 14:18:59 +01:00
Justin Chevrier 56238cd70e gdiplus/test: Add GdipGetNearestColor test. 2010-02-26 14:18:59 +01:00
Huw Davies b18cc9f680 gdiplus: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-15 16:09:12 +01:00
Andrew Eikum f5896a2be0 gdiplus: Implement GdipIsVisibleRect. 2009-08-27 11:51:24 +02:00
Andrew Eikum d06dd2d7cb gdiplus: Implement GdipIsVisiblePoint. 2009-08-27 11:51:08 +02:00
Vincent Povirk dad00cce44 gdiplus: Add a test for drawing to application-provided memory. 2009-08-19 12:15:22 +02:00
Francois Gouget 04105f7ff3 gdiplus/tests: Add a trailing '\n' to an ok() call. 2009-08-19 12:07:28 +02:00
Andrew Eikum 60fc01a0c4 gdiplus/tests: Add tests for GdipGetVisibleClipBounds. 2009-08-13 16:44:28 +02:00
Vincent Povirk c71853cda5 gdiplus: Ignore the graphics transforms in GdipGetRegionBounds. 2009-08-04 12:49:01 +02:00
Andrew Eikum 1ef13941f6 gdiplus: Implement GdipSaveGraphics and GdipRestoreGraphics. 2009-07-08 20:35:20 +02:00
Andrew Eikum 0ed10bf696 gdiplus/tests: Test cases for GdipBeginContainer2. 2009-07-07 12:33:21 +02:00
Andrew Eikum 4c0edba681 gdiplus: Implement GdipDrawCurve3 and GdipDrawCurve3I. 2009-06-30 12:58:31 +02:00
Andrew Eikum c2aa66d506 gdiplus/tests: Add tests for GdipDrawCurve2I. 2009-06-29 12:29:35 +02:00
Andrew Eikum fe55f0df2a gdiplus/tests: Add tests for GdipDrawCurveI. 2009-06-29 12:29:32 +02:00
Andrew Eikum 7dcfb09b1e gdiplus/tests: Add tests for GdipDrawCurve2. 2009-06-29 12:29:27 +02:00