Jeff Smith
47b0155f96
gdiplus: Simplify modulo 8 math used for rendering origin.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Esme Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-22 16:43:12 +02:00
Jeff Smith
da91507491
gdiplus: Handle rendering origin during hatch fill.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Esme Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-17 11:34:59 +02:00
Jeff Smith
03cefac99b
gdiplus/tests: Test that hatch fill uses rendering origin.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Esme Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-17 11:34:56 +02:00
Jeff Smith
7bf86e0016
gdiplus: Handle additional hatch styles.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Esme Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-15 20:55:56 +02:00
Jeff Smith
d0c70facbd
gdiplus: Fix hatch brush patterns that require anti-aliasing.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Esme Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-15 20:55:53 +02:00
Jeff Smith
a75584ec1b
gdiplus: Fix most hatch brush patterns.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Esme Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-15 20:55:50 +02:00
Jeff Smith
7735c11d69
gdiplus/tests: Test hatch brush patterns.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Esme Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-15 20:55:46 +02:00
Jeff Smith
1802ca5e34
gdiplus: Calculate centroid of path as default center of path gradient.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 21:11:29 +01:00
Jeff Smith
3a092fb616
gdiplus/tests: Add another GdipGetPathGradientCenterPoint test.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 21:11:29 +01:00
Nikolay Sivov
0937186f7d
gdiplus: Fix brush transform created with GdipCreateLineBrushFromRect().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 10:43:37 +01:00
Nikolay Sivov
1f95fd4811
gdiplus/tests: Add more tests for gradient brush rectangles.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 10:43:37 +01:00
Francois Gouget
3939fd554f
gdiplus/tests: Add a trailing '\n' to ok() calls.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-04 21:46:59 +01:00
Hugh Bellamy
b8f56c0b86
gdiplus: Add GdipCreateLineBrushFromRectWithAngle tests.
...
Signed-off-by: Hugh Bellamy <hughbellars@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 18:29:18 +02:00
Hugh Bellamy
c022c46613
gdiplus: Define GpHatchStyle.
...
Signed-off-by: Hugh Bellamy <hughbellars@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-18 18:44:34 +02:00
Hugh Bellamy
e0601829e1
gdiplus: Fix validation of HatchStyle in GdipCreateHatchBrush.
...
Signed-off-by: Hugh Bellamy <hughbellars@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-18 18:27:07 +02:00
Andrew Eikum
aac33dab2a
gdiplus: Implement transform matrix for line gradient brushes.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-18 08:07:54 +09:00
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
Dmitry Timoshkov
1c8d4aaa4b
gdiplus/tests: Fix tests compilation with __WINESRC__ defined.
2013-10-16 11:41:20 +02:00
Vincent Povirk
e2b59a87b0
gdiplus: Store only one surround color if all colors are the same.
2012-04-25 12:16:36 +02:00
Vincent Povirk
b66fd44080
gdiplus: Implement GdipSetPathGradientBlend, with tests.
2012-04-25 12:16:15 +02:00
Francois Gouget
84bc0f7888
gdiplus/tests: Make test_pathgradientpresetblend() static.
2012-04-20 12:00:29 +02:00
Vincent Povirk
aed62dbff1
gdiplus: Add tests for preset blend accessors.
2012-04-02 12:37:49 +02:00
Vincent Povirk
7e90dc3dc7
gdiplus: Implement path gradient surround color accessors.
2012-03-15 19:56:13 +01:00
Vincent Povirk
7a9f6abd85
gdiplus: Test SetSurroundColors with fewer colors than points on the path.
2012-03-15 19:56:04 +01:00
Vincent Povirk
b54d38a536
gdiplus: Add test for GdipGetPathGradientSurroundColorsWithCount.
2012-03-14 11:50:15 +01:00
Vincent Povirk
7fd6ccd19e
gdiplus: Add tests for path gradient center point functions.
2012-03-13 10:27:56 +01:00
Vincent Povirk
116665d7fc
gdiplus: Add stub GdipGetPathGradientPath with tests.
2012-03-13 10:27:44 +01:00
Austin English
1a24d1c0f1
gdiplus/tests: Make sure to use return values (LLVM/Clang).
2011-02-09 09:28:55 -06:00
Vincent Povirk
f49d56fef3
gdiplus: Add tests for GdipGetLineTransform.
2010-11-01 11:33:58 +01:00
Vincent Povirk
2661ce79d6
gdiplus: Reject linear gradients where the start and end points are equal.
2010-10-28 11:41:45 +02:00
Justin Chevrier
4027813764
gdiplus: Add GdipGetPathGradientSurroundColorCount stub with tests.
2010-03-29 15:50:21 +02:00
Nikolay Sivov
db5e3f4a05
gdiplus/tests: Free brush pointer after test.
2009-12-07 14:18:26 +01:00
Vincent Povirk
ad6adc750e
gdiplus: Add tests for linear gradient preset blends.
2009-09-15 17:34:48 -05:00
Vincent Povirk
ee74501102
gdiplus: Fix rectangles of horizontal and vertical gradients.
2009-08-04 12:48:42 +02:00
Vincent Povirk
2cdc48a4e5
gdiplus: Implement GdipSetLineLinearBlend.
2009-07-13 10:25:44 +02:00
Vincent Povirk
aaee4d7f9d
gdiplus: Store the rect passed to GdipCreateLineBrushFromRect.
2009-05-08 12:21:16 +02:00
Vincent Povirk
550d02e1ad
gdiplus: Expand the GdipGetLineRect tests.
2009-05-08 12:21:03 +02:00
Vincent Povirk
47c3993ad3
gdiplus: Add tests for GdipGet/SetLineBlend.
2009-04-29 13:07:45 +02:00
Nikolay Sivov
8496db4976
gdiplus: Some tests for LinearGradientBrush.
2009-02-09 17:17:09 +01:00
Nikolay Sivov
37bbe9d4bc
gdiplus: Added Gdip[Get/Set]TextureWrapMode.
2008-10-22 13:54:53 +02:00
Nikolay Sivov
31847cf30b
gdiplus: Implemented GdipResetTextureTransform.
2008-09-25 11:24:38 +02:00
Nikolay Sivov
edb764fa54
gdiplus: Implemented GdipSetTextureTransform with tests.
2008-09-25 11:24:31 +02:00
Nikolay Sivov
48b8072518
gdiplus: Implement GdipGetTextureTransform with test.
2008-09-25 11:24:22 +02:00
Nikolay Sivov
69e17d6a6a
gdiplus: GdipGetLineGammaCorrection should check result pointer. Test added.
2008-09-03 14:21:41 +02:00
Nikolay Sivov
b127647b96
gdiplus: Fix swapped got-expected in brush test.
2008-07-24 11:55:33 +02:00
Nikolay Sivov
74dc990bbf
gdiplus: Implemented GdipGetPathGradientRect with test.
2008-07-23 11:23:36 +02:00
Nikolay Sivov
48e914b519
gdiplus: Implement GdipGetPathGradientBlend with basic tests.
2008-07-22 15:24:38 +02:00
Nikolay Sivov
01abb3d1dc
gdiplus: implemeted GdipGetPathGradientBlendCount with test.
2008-07-22 15:24:29 +02:00
Evan Stade
44412cf1e4
gdiplus: Change include list on 3 tests.
2007-08-01 11:59:18 +02:00
Evan Stade
e4fdc9690c
gdiplus: Brush tests.
2007-06-15 13:31:46 +02:00