Commit Graph

45 Commits

Author SHA1 Message Date
Vincent Povirk 8f54e2034e gdiplus/tests: Enable floating point exceptions.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-26 10:10:10 +02:00
Zebediah Figura 7e1522cdd6 gdiplus: Scale widened dashes to the pen width.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 21:34:37 +02:00
Vincent Povirk dd5fd46c63 gdiplus/tests: Add tests for 0-pixel pens.
It turns out that GdipDrawLine behaves differently from GdipDrawPath, only
in the case of a 0 pixel pen.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-14 09:17:14 +02:00
Louis Lenders 2d6daeb8ea gdiplus/tests: Add test for GdipTransformPath with null-matrix.
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-25 12:44:16 +09:00
Vincent Povirk 6a6aa3134d gdiplus: Fix GdipWidenPath transform for non-pixel pens.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-17 13:08:04 +09:00
Vincent Povirk 91352c5aa4 gdiplus/tests: Add test for matrix transform in GdipWidenPath.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-17 13:07:55 +09:00
André Hentschel 1ff3264deb gdiplus/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 12:09:39 +09:00
Vincent Povirk b9e58dd7cc gdiplus/tests: Add test for GdipWidenPath.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:16:05 +09:00
Dmitry Timoshkov 6278f5ffdc gdiplus/tests: Add more checks to the GdipGetPathData test. 2013-11-06 12:01:55 +01:00
Dmitry Timoshkov 1c8d4aaa4b gdiplus/tests: Fix tests compilation with __WINESRC__ defined. 2013-10-16 11:41:20 +02:00
Vincent Povirk cd3855f384 gdiplus: Allow adding rectangles with negative sizes to paths. 2011-02-07 10:12:33 -06:00
Gerald Pfeifer 448a8bb594 gdiplus/tests: Remove variable path which is not really used from test_linei. 2010-05-03 16:46:38 +02:00
Nikolay Sivov 29357ec024 gdiplus/tests: Fix a matrix leak in test. 2009-12-09 13:50:35 +01:00
Nikolay Sivov 5b7fae2ea8 gdiplus/tests: Delete Pen object after use. 2009-12-07 14:18:27 +01:00
Nikolay Sivov 5c31643452 gdiplus: Implemented GdipIsVisiblePathPoint with tests. 2009-02-16 15:35:15 +01:00
Nikolay Sivov 8cb170126a gdiplus: Handle zero width/height in GdipAddPathPie. 2009-02-10 12:31:29 +01:00
Nikolay Sivov 7cddc57989 gdiplus: Added GdipAddPathCurve3/GdipAddPathCurve3I with tests. 2008-12-15 12:33:49 +01:00
Vincent Povirk eddc127588 gdiplus: Fix GdipFlattenPath for already-flat paths and add a test. 2008-11-17 14:27:36 +01:00
Nikolay Sivov 72304d8377 gdiplus: Initial GdipFlattenPath implementation. 2008-09-04 12:31:12 +02:00
Nikolay Sivov 5c1edcfaad gdiplus: Stub for GdipFlattenPath with tests. 2008-08-29 14:00:21 +02:00
Nikolay Sivov ac23eb7939 gdiplus: Free memory after some GraphicsPath tests. 2008-08-25 11:37:26 +02:00
Nikolay Sivov aa0df2300e gdiplus: Implemented GdipAddPathPie/GdipAddPathPieI with test. 2008-08-05 14:09:35 +02:00
Nikolay Sivov 5887e661b7 gdiplus: Implemented GdipReversePath with tests. 2008-08-05 14:09:35 +02:00
Nikolay Sivov 8be642c4c0 gdiplus: Implemented GdipAddPathClosedCurve2 with tests. 2008-08-04 14:17:59 +02:00
Nikolay Sivov 169140cc83 gdiplus: Implemented GdipAddPathCurve2 with tests. 2008-08-04 14:17:31 +02:00
Nikolay Sivov 5863eabdfa gdiplus: GdipGetPathLastPoint implementation. 2008-07-01 13:45:37 +02:00
Nikolay Sivov db9172471b gdiplus: Fix uninitialized value jump and a leak in GdipAddPathPolygon test. 2008-06-30 15:00:21 +02:00
Nikolay Sivov 629761acde gdiplus: Implementation of GdipAddPathPolygon with tests. 2008-06-26 21:37:08 +02:00
Nikolay Sivov 991e785f50 gdiplus: Fix GdipGetPathData implementation and test.
Previous version (commit 3bacdaf664) was totally incorrect.
Thanks to Paul Vriens for pointing this out.
2008-06-26 12:50:09 +02:00
Nikolay Sivov 3bacdaf664 gdiplus: Implemented GdipGetPathData with test. 2008-06-20 12:37:44 +02:00
Nikolay Sivov d4ae6fa1ea gdiplus: Implemented GdipAddPathRectangles with tests. 2008-06-20 12:35:52 +02:00
Nikolay Sivov b5046c28ca gdiplus: Added GdipAddPathRectangle with tests. 2008-05-13 11:22:58 +02:00
Reece H. Dunn 571a383d7e gdiplus: Fix the bezier arc path test on all Windows platforms. 2008-02-05 12:19:36 +01:00
Evan Stade 4e041fe4b9 gdiplus/tests: Added GdipAddPathLineI test. 2007-08-16 11:41:13 +02:00
Evan Stade a4f238a117 gdiplus: Fix arc2polybezier. 2007-07-26 12:36:19 +02:00
Evan Stade e11f7b7bbd gdiplus/tests: Added GdipAddPathEllipse test. 2007-07-26 12:36:10 +02:00
Evan Stade 44691eefb4 gdiplus: Added GdipAddPathPath test. 2007-07-13 12:31:31 +02:00
Evan Stade 3dc17d2544 gdiplus: Improved GdipGetPathWorldBounds handling of both matrix and pen's effect on bounding box. 2007-07-13 12:30:52 +02:00
Evan Stade 41a9a83890 gdiplus: Added more GdipGetPathWorldBounds tests. 2007-07-13 12:30:33 +02:00
Evan Stade e547ceb1f6 gdiplus: Use passed pen in GdipAddPathWorldBound. 2007-07-13 12:30:26 +02:00
Evan Stade f9b0dac9f5 gdiplus: Added GdipGetPathWorldBounds test. 2007-07-12 14:59:12 +02:00
Evan Stade 1f7cfb1dc8 gdiplus: Added GdipAddPathArc test. 2007-07-12 14:48:19 +02:00
Bernd Buschinski ace2749010 gdiplus: Fix test typo/compile error. 2007-07-10 15:42:49 +02:00
Evan Stade da23ed6e0f gdiplus: Added a test for GdipAddPathLine2. 2007-07-10 14:31:52 +02:00
Evan Stade fec9e5e803 gdiplus: Added constructor and destructor test for gdiplus paths. 2007-07-10 14:30:55 +02:00