Marcus Meissner
|
716f115293
|
gdiplus/tests: Check return code of GdipGetClipBounds (Coverity).
|
2013-07-22 17:16:04 +02:00 |
Dmitry Timoshkov
|
14f34c15d1
|
gdiplus: Store graphics clipping region in device coordinates.
|
2013-07-19 11:58:23 +02:00 |
Dmitry Timoshkov
|
c8ebd4ade0
|
gdiplus/tests: Test how device to world transform correlates with clipping region bounding rectangle.
|
2013-07-19 11:57:56 +02:00 |
Dmitry Timoshkov
|
ffd207850c
|
gdiplus/tests: Add another set of clipping region tests.
|
2013-07-12 12:14:58 +02:00 |
Dmitry Timoshkov
|
964778fda5
|
gdiplus/tests: Add tests for a sample 100x100 rectangle region.
|
2013-07-10 11:00:00 +02:00 |
Dmitry Timoshkov
|
ccdc41d8c4
|
gdiplus: Add more clipping region tests.
|
2013-07-09 22:21:58 +02:00 |
Dmitry Timoshkov
|
e1572f9cd1
|
gdiplus/tests: Add GdipGetClipBounds tests.
|
2013-07-08 15:15:40 +02:00 |
Dmitry Timoshkov
|
84ef3d484c
|
gdiplus: get_font_hfont() should ask gdi32 to match font height against the character height instead of cell height.
|
2013-06-19 19:18:39 +02:00 |
Vincent Povirk
|
e21af554b5
|
gdiplus: Add test for measuring a single line that exactly fits.
|
2013-05-31 12:00:16 +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 |
Dmitry Timoshkov
|
464b8b4160
|
gdiplus: Add some tests for string format alignment.
|
2013-03-04 11:19:20 +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 |
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 |
André Hentschel
|
9e5936b36c
|
gdiplus/tests: Fix out-of-bounds access (coverity).
|
2012-10-23 12:28:59 +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
|
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
|
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 |
Dmitry Timoshkov
|
e9aef40c26
|
gdiplus: Round the layout rectangle down instead of up in gdip_format_string().
|
2012-08-20 17:05:39 +02:00 |
Dmitry Timoshkov
|
003333e6cb
|
gdiplus: Add a test for measuring string that doesn't fit into layout rectangle.
|
2012-08-20 17:05:22 +02:00 |
Francois Gouget
|
1051a107a4
|
gdiplus/tests: Make pixels_to_units() static.
|
2012-08-16 17:08:00 +02:00 |
Dmitry Timoshkov
|
50931d8985
|
gdiplus: Add a test for font height scaling.
|
2012-08-15 13:54:55 +02:00 |
Dmitry Timoshkov
|
6f4625559e
|
gdiplus: GdipMeasureString should apply its internal scaling factors to layout rectangle.
|
2012-08-15 13:52:52 +02:00 |
Dmitry Timoshkov
|
889be9d447
|
gdiplus: get_font_hfont helper should transform returned font height using font and device unit/resolution/scale.
|
2012-08-14 16:41:56 +02:00 |
Dmitry Timoshkov
|
f8b1154226
|
gdiplus: GdipGetLogFontW should transform returned font height using font and device unit/resolution/scale.
|
2012-08-14 16:41:55 +02:00 |
Dmitry Timoshkov
|
b953011f9e
|
gdiplus: Add more tests for GdipMeasureString using device with custom resolution.
|
2012-08-14 16:41:53 +02:00 |
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 |
Andrew Eikum
|
ff95a69f5a
|
gdiplus/tests: Fix resource leaks in several tests.
A few tests initialized two GpGraphics objects, and only released one.
These have been fixed by removing the redundant initialization.
|
2009-06-26 14:38:13 +02:00 |
Andrew Eikum
|
119e9af74a
|
gdiplus: Test cases and parameter checks for GdipDrawCurve.
|
2009-06-08 12:41:58 +02:00 |
Vincent Povirk
|
c486e8147d
|
gdiplus: Implement GdipTransformPointsI.
|
2009-05-20 10:51:42 +02:00 |
Vincent Povirk
|
2af29ed916
|
gdiplus: Implement GdipTransformPoints.
|
2009-05-20 10:51:33 +02:00 |
Vincent Povirk
|
0879b767ae
|
gdiplus: GdipDrawString: Handle either a width or height of 0 sanely.
Based on Aric's recent patch.
|
2009-04-02 15:09:55 +02:00 |
Nikolay Sivov
|
8c096167d7
|
gdiplus: Add testing for ObjectBusy in some Graphics methods.
|
2009-02-03 12:48:46 +01:00 |
Nikolay Sivov
|
63ae714fc6
|
gdiplus: Stub for GdipGetNearestColor.
|
2008-12-11 11:50:42 +01:00 |
Vincent Povirk
|
23456b690f
|
gdiplus/tests: Fix a double-free in the graphics test.
Spotted by Lionel Debroux.
|
2008-12-09 10:25:26 +01:00 |