Commit Graph

1539 Commits

Author SHA1 Message Date
Dmitry Timoshkov
9797afd003 gdiplus/tests: Fix the test for flags of an empty region. 2013-11-08 16:29:43 +01:00
Dmitry Timoshkov
7dfbadec67 gdiplus/tests: Clean up the use of macros in the region tests. 2013-11-08 16:29:43 +01:00
Dmitry Timoshkov
394d4b07e6 gdiplus: Avoid not necessary memory allocations in GdipCreateRegionPath. 2013-11-08 16:29:43 +01:00
Dmitry Timoshkov
f204aab17f gdiplus: Use same rounding formula that is used to decide whether a path should be stored as an array integers. 2013-11-08 16:29:43 +01:00
Dmitry Timoshkov
e7f6d77919 gdiplus: Implement GdipPrivateAddFontFile. 2013-11-06 12:01:55 +01:00
Dmitry Timoshkov
6278f5ffdc gdiplus/tests: Add more checks to the GdipGetPathData test. 2013-11-06 12:01:55 +01:00
Dmitry Timoshkov
d4db49efc2 gdiplus/tests: Use trace instead of printf. 2013-11-06 12:01:55 +01:00
Vincent Povirk
feef61743d gdiplus: Use clip region in GdipFillPath. 2013-10-31 09:46:36 +01:00
Vincent Povirk
08b650202c gdiplus: Use clip region in GdipDrawPath. 2013-10-31 09:46:29 +01:00
Vincent Povirk
2dbd0e1694 gdiplus: Implement remaining dash styles in GdipWidenPath. 2013-10-24 10:46:23 +02:00
Vincent Povirk
1c35dd6cb4 gdiplus: Implement GdipWidenPath for custom dashed lines. 2013-10-24 10:46:15 +02:00
Dmitry Timoshkov
b528e01d85 gdiplus: Reimplement GdipCloneImage using GdipCloneBitmapArea for a bitmap. 2013-10-18 16:56:56 +02:00
Dmitry Timoshkov
df367c3399 gdiplus: Reimplement GdipCloneBitmapArea without using GdipBitmapLockBits. 2013-10-18 16:56:56 +02:00
Dmitry Timoshkov
4e14c45b8b gdiplus/tests: Add a test for GdipCloneBitmapArea called on an already locked bitmap. 2013-10-17 10:47:09 +02:00
Dmitry Timoshkov
1c8d4aaa4b gdiplus/tests: Fix tests compilation with __WINESRC__ defined. 2013-10-16 11:41:20 +02:00
Vincent Povirk
b14a4ca006 gdiplus: Properly set the gdi+ format to match the wic encoder's format. 2013-10-07 13:32:06 +02:00
Frédéric Delanoy
70bc6d5f78 gdiplus: Use BOOL type where appropriate. 2013-10-03 12:54:40 +02:00
Michael Stefaniuc
0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Dmitry Timoshkov
ec9a0d8570 gdiplus: GdipTransformRegion should not fail for an empty path. 2013-09-24 12:56:22 +02:00
Dmitry Timoshkov
3870e5b255 gdiplus/tests: Add a test for GdipTransformRegion with an empty region path. 2013-09-24 12:56:15 +02:00
Dmitry Timoshkov
108873320c gdiplus/tests: Don't bother to delete a NULL hrgn. 2013-09-24 12:56:11 +02:00
Dmitry Timoshkov
fdeab06142 gdiplus/tests: Print actual rectangle extents if the tests fail. 2013-09-24 12:56:05 +02:00
Dmitry Timoshkov
603ccca889 gdiplus/tests: Add a test for GdipTransformMatrixPoints with number of points == 0. 2013-09-24 12:55:51 +02:00
Vincent Povirk
12586f76e3 gdiplus: Always provide image data in the format requested by image encoders. 2013-09-23 21:31:18 +02:00
Vincent Povirk
85b989c1fa gdiplus: Don't expand the drawing area to include empty glyphs. 2013-09-23 21:31:07 +02:00
Vincent Povirk
ce9de5c4bb gdiplus: Skip drawing lines of text with only empty glyphs. 2013-09-23 21:31:00 +02:00
Akihiro Sagawa
e29e4caca3 gdiplus: Fix empty glyph handling. 2013-09-23 20:32:27 +02:00
Michael Stefaniuc
9fefae61da gdiplus: Avoid using CONST. 2013-09-23 11:54:47 +02:00
Vincent Povirk
2c3142f0ee gdiplus: Copy custom dashes in GdipClonePen. 2013-08-15 16:25:08 +02:00
Vincent Povirk
dc047ecdaa gdiplus: Add error checking to GdipClonePen. 2013-08-15 16:25:03 +02:00
Vincent Povirk
814f9cf7e4 gdiplus: Only clip strings if rectangle width and height are positive. 2013-08-15 16:24:45 +02:00
Dmitry Timoshkov
f575eb494b gdiplus: Reimplement GdipSetClipRect to avoid potential problems with rotating world transform. 2013-07-30 20:51:54 +02:00
Dmitry Timoshkov
cdc3e820cd gdiplus: Fix clipping region bounds calculation with rotating transform. 2013-07-30 20:51:52 +02:00
Dmitry Timoshkov
249bf0eb63 gdiplus/tests: Add clipping region tests with rotating world transform. 2013-07-30 20:51:47 +02:00
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
73f7b857b3 Revert "gdiplus: Ignore gdiplus page and world transformations when creating a gdi32 clipping region.".
This reverts commit 61dafbb701.
2013-07-12 12:14:59 +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
Piotr Caban
f37027a947 gdiplus: Add support for more string formats while getting font name. 2013-07-08 15:15:43 +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
Andrew Eikum
2b8b64f9ab gdiplus: Implement GdipResetImageAttributes. 2013-05-22 19:32:44 +02:00
Alexandre Julliard
1731ee55b6 gdiplus: Don't bother to free memory at process exit. 2013-05-15 10:19:18 +02:00
Dmitry Timoshkov
4c4c661bc0 gdiplus: Implement GdipEnumerateMetafileDestPoint and GdipEnumerateMetafileDestPointI. 2013-05-06 15:55:22 +02:00
Dmitry Timoshkov
69d74ece53 gdiplus: Implement GdipEnumerateMetafileDestRect and GdipEnumerateMetafileDestRectI. 2013-05-06 15:55:21 +02:00
Detlef Riekenberg
fa5d091051 gdiplus/tests: Add tests for GdipSetCustomLineCapWidthScale. 2013-04-18 11:41:53 +02:00