Commit Graph

741 Commits

Author SHA1 Message Date
Vincent Povirk c3d2395669 gdiplus: Don't leak a device context when GdipCreateFromHWND fails. 2009-04-27 13:23:05 +02:00
Vincent Povirk 8a3d9ff773 gdiplus: Only release device contexts created internally. 2009-04-27 13:23:00 +02:00
Paul Vriens 1c2b29dae3 gdiplus/tests: Fix a test failure on Win98. 2009-04-24 15:02:58 +02:00
Paul Vriens 163b046ec5 gdiplus/tests: Fix test failures on Win98 by using A-functions. 2009-04-24 11:57:03 +02:00
Paul Vriens 40f812c110 gdiplus: Convert lfFaceName from W to A, not the other way around. 2009-04-24 11:56:52 +02:00
Paul Vriens 7bf6a3030b gdiplus: Return the correct result in GdipCreateFontFromLogfontA. 2009-04-24 11:56:38 +02:00
Andrew Nguyen f82a086f56 gdiplus: Stub GdipBitmapSetResolution. 2009-04-20 17:20:12 +02:00
Francois Gouget 5ef481922f Assorted spelling fixes. 2009-04-20 15:25:26 +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
Vincent Povirk 68dba4eff3 gdiplus: Support line gradient brushes in GdipFillPath. 2009-03-24 13:57:39 +01:00
Vincent Povirk efcd0bbffa gdiplus: Stub GdipCloneBitmapAreaI. 2009-03-09 12:04:28 +01:00
Paul Vriens b7219295cc gdiplus/tests: Fix two test failures on Win98. 2009-03-06 15:39:43 +01:00
Vincent Povirk 3db77ce50b gdiplus: Return a NULL bitmap when GdipCreateBitmapFromScan0 fails. 2009-03-05 16:16:25 +01:00
Huw Davies f0666564ce gdiplus/tests: Elliptic regions have a shorter layout in win98. 2009-03-03 13:26:18 +01:00
Vincent Povirk f365ef46f0 gdiplus: Fix GdipCreateBitmapFromHBITMAP flipping images vertically.
GdipCreateBitmapFromHBITMAP currently assumes that all bitmaps are
top-down, even though a positive height (which it also assumes)
signals a bottom-up DIB. The net result is that
GdipCreateBitmapFromHBITMAP flips images vertically.
2009-02-18 12:18:08 +01:00
Vincent Povirk 65750fabbb gdiplus: Handle negative stride in GdipCreateBitmapFromScan0. 2009-02-18 12:17:49 +01:00
Nikolay Sivov a3048451d9 gdiplus: Fix a docheader typo, add some missed headers. 2009-02-17 12:47:46 +01:00
Nikolay Sivov ba42bf380a gdiplus/tests: Use expectf macro for floating point tests. 2009-02-16 16:01:37 +01:00
Nikolay Sivov df9831d60a gdiplus/tests: Some tests for Image raw format value. 2009-02-16 16:01:37 +01:00
Nikolay Sivov 5c31643452 gdiplus: Implemented GdipIsVisiblePathPoint with tests. 2009-02-16 15:35:15 +01:00
Aric Stewart 43caae8386 gdiplus: In GdipDrawString do not NULL terminate the buffer. It is unneeded and overruns the buffer. 2009-02-16 11:47:42 +01:00
Nikolay Sivov 8cb170126a gdiplus: Handle zero width/height in GdipAddPathPie. 2009-02-10 12:31:29 +01:00
Nikolay Sivov 8496db4976 gdiplus: Some tests for LinearGradientBrush. 2009-02-09 17:17:09 +01:00
Nikolay Sivov c17266de9e gdiplus: Implemented GdipGetLogFontA. 2009-02-04 15:41:09 +01:00
Nikolay Sivov 9f0edc5e7c gdiplus: Implemented GdipFillRegion. 2009-02-04 15:40:59 +01:00
Nikolay Sivov 8c096167d7 gdiplus: Add testing for ObjectBusy in some Graphics methods. 2009-02-03 12:48:46 +01:00
Nikolay Sivov f8edb068e7 gdiplus: Implemented GdipSetClipHrgn. 2009-02-03 12:48:35 +01:00
Nikolay Sivov bcfe4e7e46 gdiplus: Implemented GdipGetClipBounds/GdipGetClipBoundsI. 2009-02-03 12:48:27 +01:00
Nikolay Sivov 5bc54ed97e gdiplus: Implemented GdipCreateBitmapFromHICON (with tests). 2009-02-03 12:48:07 +01:00
Aurimas Fischer 2489e76b59 gdiplus: Implement GdipSetStringFormatFlags with tests. 2009-02-02 15:48:11 +01:00
Aurimas Fischer 6319006368 include: Add GdipSetStringFormatFlags prototype. 2009-02-02 15:44:39 +01:00
Nikolay Sivov 5da52e0677 gdiplus: Implemented GdipTranslateClip/GdipTranslateClipI. 2009-02-02 15:21:43 +01:00
Nikolay Sivov dc3908a351 gdiplus: Implemented GdipGetRegionBounds/GdipGetRegionBoundsI. 2009-02-02 15:21:43 +01:00
Nikolay Sivov cb8f4eb16c gdiplus: Implemented GdipTranslateRegionI. 2009-02-02 15:21:43 +01:00
Nikolay Sivov c3462b1101 gdiplus: Implemented GdipTranslateRegion. 2009-02-02 15:21:43 +01:00
Nikolay Sivov 03a02d83dd gdiplus: Implemented GdipIsEqualRegion. 2009-02-02 15:21:43 +01:00
Nikolay Sivov 67f9570332 gdiplus: Implemented GdipCreateRegionHrgn for rectangular regions. 2009-01-30 13:00:27 +01:00
Vincent Povirk 3184dc9125 gdiplus: Do not call delete_element(NULL). 2009-01-26 14:29:22 +01:00
Alexandre Julliard 0208fe2f1f gdiplus: Fix a typo that breaks the Mingw build. 2009-01-16 16:36:29 +01:00
Andrey Turkin 1138c28eeb gdiplus: GdipLoadImageFromStream should use well-known pixel format constants when possible. 2009-01-15 12:42:43 +01:00
Michael Stefaniuc b53877d92e gdiplus: Remove superfluous pointer casts. 2009-01-14 13:51:00 +01:00
Chris Wulff 10637b4f0d gdiplus: Implement hatch brush accessor functions. 2009-01-12 14:36:41 +01:00
Chris Wulff a2a94a49bc gdiplus: Partial implementation of GdipCreateHatchBrush. 2009-01-12 14:36:37 +01:00
Nikolay Sivov be7d21255c gdiplus: Stub for GdipRotateLineTransform. 2008-12-27 20:27:07 +01:00
Nikolay Sivov f4c017eac1 gdiplus: Stub for GdipScalePenTransform. 2008-12-27 20:27:00 +01:00
Nikolay Sivov 62512971fe gdiplus: Stub for GdipResetPenTransform. 2008-12-27 20:26:53 +01:00
Nikolay Sivov e2615cc059 gdiplus: Fix Font test failure on charset mismatch. 2008-12-16 12:52:38 +01:00
Nikolay Sivov 7cddc57989 gdiplus: Added GdipAddPathCurve3/GdipAddPathCurve3I with tests. 2008-12-15 12:33:49 +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