Commit Graph

38 Commits

Author SHA1 Message Date
Michael Stefaniuc 0ae101080b gdi32/tests: Remove useless casts to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 09:32:13 +02:00
Daniel Lehman e976e179ae gdi32: Update edgetable limits with top and bottom.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-18 14:13:43 +02:00
Daniel Lehman 418514820f gdi32/tests: Add test for clipped polygon.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-18 14:13:43 +02:00
Michael Stefaniuc 314a276f19 gdi32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 13:29:10 +02:00
Alexandre Julliard b70cda9a1e gdi32/tests: Add a test to run once through all functions supported on paths.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-24 15:33:04 +09:00
Alexandre Julliard 06234a081a gdi32: Reimplement Ellipse in paths to avoid calling imprecise arc helper functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-24 15:33:04 +09:00
Alexandre Julliard 0b38f16767 gdi32: Reimplement RoundRect in paths to avoid calling imprecise arc helper functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-24 15:33:04 +09:00
Alexandre Julliard 1fcf8f547a gdi32: Compatibility fixes for Rectangle in paths, with tests.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-24 15:33:03 +09:00
Alexandre Julliard b2702b2d6f gdi32/tests: Get rid of the todo mechanism in the path tests.
All the tests succeed now.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-23 12:36:15 +09:00
Alexandre Julliard c500713dd3 gdi32: Fix updating the current position in PolyDraw.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-21 00:23:50 +09:00
Alexandre Julliard 7373a7c71d gdi32: Fix PathToRegion and SelectClipPath behavior with an empty path.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-16 01:21:47 +09:00
Alexandre Julliard bd53a012b4 gdi32/tests: Add a few more path tests.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-16 00:25:34 +09:00
Nikolay Sivov 10437c027f gdi32/tests: Simplify tests using todo_wine_if().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:17:28 +09:00
Frédéric Delanoy 259cb3c8cd gdi32/tests: Use BOOL type where appropriate. 2013-11-07 13:13:12 +01:00
Alexandre Julliard f44c1e6533 gdi32/tests: Add tests for path open/closed states. 2011-10-26 12:41:56 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Francois Gouget 53bcd3edb5 gdi32/tests: Add a '\n' to an ok() call. 2011-03-07 11:09:19 +01:00
Austin English b667582a71 gdi32/tests: Make sure to use return value (LLVM/Clang). 2011-02-09 09:29:43 -06:00
Gerald Pfeifer 4339944fae gdi32/tests: Remove variable oldPen which is not really used from test_widenpath. 2010-05-10 10:10:08 +02:00
Gerald Pfeifer 6cad49da4b gdi32: Remove variable retb which is not really used from test_closefigure. 2010-04-26 07:02:30 -05:00
Alexandre Julliard bd5ccea53f gdi32: Avoid some rounding errors in AngleArc. 2010-04-09 18:24:35 +02:00
Francois Gouget 9de60b9c2c gdi32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-24 16:57:26 +01:00
Huw Davies 65d5c20a6b gdi32: LineDDA shouldn't include the end point. Add some tests. 2008-04-16 14:07:07 +02:00
Laurent Vromman 52f769e88d gdi32: Correct a test where the tested function was not called. 2007-11-07 12:10:43 +01:00
Laurent Vromman 6f140f9bec gdi32: Add a test for CloseFigure. 2007-11-06 14:00:40 +01:00
Francois Gouget ebadbd4bd5 Assorted spelling fixes. 2007-08-09 14:13:07 +02:00
Evan Stade 96937e04a2 gdi32: Added PATH_PolyDraw. 2007-07-17 14:12:37 +02:00
Evan Stade 578ff168b3 gdi32: Added PolyDraw tests. 2007-07-17 14:12:29 +02:00
Misha Koshelev 102a0a3b79 gdi32/tests: Fix test_widenpath to succeed on Win98. 2007-06-22 14:19:48 +02:00
Misha Koshelev 920b050a8b gdi32: Emulate AngleArc using ArcTo. 2007-06-22 14:19:06 +02:00
Misha Koshelev ce8e6d16cd gdi32/tests: Expand framework for tests of drawing functions in paths, add test for AngleArc in paths. 2007-06-22 14:18:57 +02:00
Misha Koshelev 859bf44c33 gdi32: Handle ArcTo in paths as native. 2007-06-21 16:03:29 +02:00
Misha Koshelev 80b7134bb8 gdi32: Set current position properly after ArcTo. 2007-06-21 16:02:47 +02:00
Misha Koshelev 1dbe178f5e gdi32: Fix ArcTo to use proper starting and ending points. 2007-06-19 11:57:32 +02:00
Misha Koshelev 2c9c761b56 gdi32/tests: Add framework for tests of drawing functions in paths, add test for ArcTo in paths. 2007-06-19 11:51:22 +02:00
Laurent Vromman 932c6f5bdd gdi32: Correct WidenPath behaviour when working on an open path. 2007-04-03 13:00:24 +02:00
Laurent Vromman 525fd82366 gdi32: Correction of WidenPath behaviour when pen width is 1. 2007-04-03 13:00:09 +02:00
Laurent Vromman a11c751463 gdi32: Add two basic tests to check what WidenPath does. 2007-04-02 11:29:35 +02:00