Commit Graph

274 Commits

Author SHA1 Message Date
Vincent Povirk 94ab23377d gdiplus: Implement GdipDrawImagePointRect. 2009-09-08 13:44:01 +02:00
Vincent Povirk aef202507b gdiplus: Remove unused bitmap flipping code. 2009-09-08 12:13:07 +02:00
Vincent Povirk 895c6d8e1e gdiplus: Use AlphaBlend for 32-bit images with alpha channels. 2009-08-29 16:48:56 +02:00
Vincent Povirk 436b3be651 gdiplus: Create DIBs instead of IPictures in CreateBitmapFromScan0. 2009-08-29 16:48:55 +02:00
Andrew Eikum f5896a2be0 gdiplus: Implement GdipIsVisibleRect. 2009-08-27 11:51:24 +02:00
Andrew Eikum d06dd2d7cb gdiplus: Implement GdipIsVisiblePoint. 2009-08-27 11:51:08 +02:00
Andrew Eikum 39f6f491a6 gdiplus: Add utility function get_visible_clip_region. 2009-08-27 11:50:23 +02:00
Andrew Eikum 32996e0a11 gdiplus: Implement GdipIsVisibleRegionPoint. 2009-08-26 14:57:18 +02:00
Vincent Povirk e72defc8f7 gdiplus: Do not call IPicture_Render directly from GdipDrawImageI. 2009-08-21 11:28:29 +02:00
Andrew Eikum ef0ee6e556 gdiplus: Implement GdipGetVisibleClipBounds. 2009-08-13 16:44:09 +02:00
Andrew Eikum fdf48f1d4d gdiplus: Create utility function get_graphics_bounds. 2009-08-13 16:43:41 +02:00
Ken Sharp e072d36a87 gdiplus: Add GdipIsVisibleRectI stub. 2009-08-06 12:25:53 +02:00
Alistair Leslie-Hughes 7b2292fac1 gdiplus: Add GdipRecordMetafileI stub. 2009-08-04 15:21:00 +02:00
Vincent Povirk e0d9d17536 gdiplus: Do not draw line-breaking spaces. 2009-08-03 14:55:29 +02:00
Vincent Povirk b330ebfe8e gdiplus: Don't use -escapement angle in GdipDrawString. 2009-08-03 14:55:15 +02:00
Vincent Povirk 849af30eb8 gdiplus: Use brush_fill_path in GdipFillRectangleI. 2009-07-13 10:25:30 +02:00
Vincent Povirk 6a8a770c76 gdiplus: Use brush_fill_path in GdipFillRegion. 2009-07-13 10:25:26 +02:00
Vincent Povirk 38fc894c96 gdiplus: Use brush_fill_path in GdipFillPolygonI. 2009-07-13 10:25:19 +02:00
Vincent Povirk 15fef07887 gdiplus: Use brush_fill_path in GdipFillPolygon. 2009-07-13 10:25:10 +02:00
Vincent Povirk bedbd40f5e gdiplus: Use brush_fill_path in GdipFillPie. 2009-07-13 10:25:06 +02:00
Vincent Povirk e306316c7d gdiplus: Use brush_fill_path in GdipFillEllipse. 2009-07-13 10:25:02 +02:00
Andrew Eikum 1ef13941f6 gdiplus: Implement GdipSaveGraphics and GdipRestoreGraphics. 2009-07-08 20:35:20 +02:00
Andrew Eikum a06c2570e5 gdiplus: Don't modify container list if container restoration fails. 2009-07-08 20:35:09 +02:00
Andrew Eikum 632aef3d8b gdiplus: Implement GdipBeginContainer2 and GdipEndContainer. 2009-07-07 12:33:10 +02:00
Vincent Povirk 9fceef33b7 gdiplus: Don't crash when a NULL format is passed to GdipDrawString. 2009-07-01 11:38:11 +02:00
Andrew Eikum 4c0edba681 gdiplus: Implement GdipDrawCurve3 and GdipDrawCurve3I. 2009-06-30 12:58:31 +02:00
Vincent Povirk aa9602db10 gdiplus: Implement horizontal alignment in GdipDrawString. 2009-06-30 12:31:37 +02:00
Andrew Eikum c2aa66d506 gdiplus/tests: Add tests for GdipDrawCurve2I. 2009-06-29 12:29:35 +02:00
Andrew Eikum fe55f0df2a gdiplus/tests: Add tests for GdipDrawCurveI. 2009-06-29 12:29:32 +02:00
Ken Sharp e096b59ceb gdiplus: Add GdipIsVisibleRegionPointI stub. 2009-06-23 15:53:00 +02:00
Francois Gouget 489bd52aff gdiplus: Remove spaces before '\n's. 2009-06-15 13:42:29 +02:00
Ken Sharp e3f4859961 gdiplus: Add stubs for GdipGetVisibleClipBoundsI, GdipDrawDriverString & GdipMeasureDriverString. 2009-06-10 12:19:45 +02:00
Andrew Eikum 119e9af74a gdiplus: Test cases and parameter checks for GdipDrawCurve. 2009-06-08 12:41:58 +02:00
Stephan Rose eb3904d02b gdiplus: Add support for vertical string alignment to GdipDrawString. 2009-06-05 15:19:56 +02:00
Andrew Eikum 156eeb08be gdiplus: Stubs for GdipDrawImagePoints and GdipDrawImagePointsI. 2009-06-04 12:38:37 +02:00
Andrew Eikum eec8d511cc gdiplus: Stubs for GdipDrawImagePointRect and GdipDrawImagePointRectI. 2009-06-03 11:53:25 +02:00
Andrew Eikum c02e75cf78 gdiplus: Stubs for GdipCreateMetafileFromFile, GdipCreateMetafileFromStream. 2009-06-02 12:08:44 +02:00
Andrew Eikum b850008bec gdiplus: Stub for GdipComment. 2009-06-02 11:57:22 +02:00
Andrew Eikum 3091506609 gdiplus: Stubs for GdipBeginContainer and GdipBeginContainerI. 2009-06-01 16:16:06 +02:00
Vincent Povirk 60167dfb74 gdiplus: Implement partially transparent solid fill brushes. 2009-05-21 16:17:52 +02:00
Vincent Povirk c486e8147d gdiplus: Implement GdipTransformPointsI. 2009-05-20 10:51:42 +02:00
Vincent Povirk 2af29ed916 gdiplus: Implement GdipTransformPoints. 2009-05-20 10:51:33 +02:00
Vincent Povirk 0f80aa8816 gdiplus: Add a trace to GdipMeasureString. 2009-05-14 11:13:35 +02:00
Vincent Povirk 3dd5ce7874 gdiplus: Add a trace to GdipDrawString. 2009-05-14 11:13:29 +02:00
Vincent Povirk 323e7e68eb gdiplus: Use brush_fill_path in GdipFillRectangle. 2009-05-07 14:44:22 +02:00
Vincent Povirk 27b47ead7e gdiplus: Stub GdipSetRenderingOrigin. 2009-05-07 14:44:22 +02:00
Vincent Povirk cb478a3258 gdiplus: Don't draw outside of gradient lines.
Currently, gradients are drawn by filling a series of quadrilaterals,
with one side equal to a gradient line and the other side equal to the
edge of the bounding rectangle of the area being filled. A single
pixel can be filled many times, and that causes flicker.
2009-05-04 12:50:42 +02:00
Vincent Povirk 966fd5ec09 gdiplus: Properly draw points outside of line gradients.
Theoretically, a line gradient covers the area enclosed by the
starting and ending gradient lines, which intersect the start and end
points respectively and are perpendicular to a line joining the start
and end points.
2009-05-04 12:50:33 +02:00
Vincent Povirk a6161307cf gdiplus: Account for blend factors and positions in line gradients. 2009-05-04 12:50:18 +02:00
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
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
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 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 5da52e0677 gdiplus: Implemented GdipTranslateClip/GdipTranslateClipI. 2009-02-02 15:21:43 +01:00
Michael Stefaniuc b53877d92e gdiplus: Remove superfluous pointer casts. 2009-01-14 13:51:00 +01:00
Nikolay Sivov 63ae714fc6 gdiplus: Stub for GdipGetNearestColor. 2008-12-11 11:50:42 +01:00
Vincent Povirk 08aa0cac74 gdiplus: Implement GdipRegionGetHRgn for paths. 2008-11-25 13:11:44 +01:00
Hans Leidekker 6122c77b9d gdiplus: Add stub implementations of GdipCreateHalftonePalette and GdipImageForceValidation. 2008-11-24 14:25:10 +01:00
Hans Leidekker 5ce729a4eb gdiplus: Add stub implementations of GdipBeginContainer2 and GdipEndContainer. 2008-11-24 14:25:10 +01:00
Hans Leidekker df93d19d3d gdiplus: Return success from the GdipSaveGraphics and GdipRestoreGraphics stubs. 2008-11-24 14:25:10 +01:00
Hans Leidekker 1e170c9b85 gdiplus: Improve GdipMeasureString. 2008-11-24 14:25:10 +01:00
Nikolay Sivov 71264731a4 gdiplus: Added GdipSetTextContrast. 2008-11-10 11:07:32 +01:00
Nikolay Sivov 56173d4005 gdiplus: Added GdipGetTextContrast. 2008-11-10 11:07:26 +01:00
Nikolay Sivov c543f3d947 gdiplus: Added GdipSetClipGraphics. 2008-10-23 12:13:03 +02:00
Nikolay Sivov 3ecb8bdd61 gdiplus: Stubs for GdipIsVisiblePoint/GdipIsVisiblePointI. 2008-09-30 10:13:31 -05:00
Nikolay Sivov e2817e59b1 gdiplus: Implemented GdipSetClipPath. 2008-09-30 10:13:23 -05:00
Nikolay Sivov 8d9c4867ae gdiplus: Implemented GdipSetClipRect/GdipSetClipRectI. 2008-09-25 11:24:46 +02:00
Alexandre Julliard a2d04673e6 gdiplus: Fix a string buffer overflow. 2008-09-25 11:19:23 +02:00
Nikolay Sivov 7258dea49c gdiplus: Fix for GdipGraphicsClear. 2008-09-05 16:01:05 +02:00
Francois Gouget 758c453ff1 gdiplus: Add/fix the trailing '\n' in Wine traces. 2008-09-05 13:39:11 +02:00
Nikolay Sivov bff1678f54 gdiplus: Implemented GdipGraphicsClear. 2008-09-05 12:59:33 +02:00
Nikolay Sivov 9c60a57ad1 gdiplus: Fix curve closing in GdipDrawClosedCurve2. 2008-09-04 12:31:24 +02:00
Nikolay Sivov 29f4c9d8a0 gdiplus: Add some TRACE(..) to Graphics. 2008-09-03 14:21:41 +02:00
Nikolay Sivov 813d6dc537 gdiplus: Implemented GdipIsEmptyClip with tests. 2008-08-29 12:32:08 +02:00
Nikolay Sivov ff88d4e18e gdiplus: Implemented GdipResetClip with tests. 2008-08-29 12:32:01 +02:00
Nikolay Sivov 0df5fb50f7 gdiplus: Implemented GdipSetClipRegion with basic tests. 2008-08-28 11:24:48 +02:00
Nikolay Sivov ef50aa330e gdiplus: Implemented GdipGetClip. 2008-08-27 13:21:22 +02:00
Nikolay Sivov c61ece6752 gdiplus: Basic parameter check in GdipTransformPoints with tests. 2008-08-26 12:07:42 +02:00
Nikolay Sivov 960de09ed1 gdiplus: GdipDeleteGraphics affected by busy state too. Test added. 2008-08-26 12:07:42 +02:00
Nikolay Sivov f0a507e1fc gdiplus: Made Graphics calls check for busy state. 2008-08-25 11:38:14 +02:00
Nikolay Sivov 366ae1e6c6 gdiplus: Basic GdipGetDC/GdipReleaseDC implementation. 2008-08-25 11:38:02 +02:00
Nikolay Sivov 4570501155 gdiplus: Added a test for GdipGetDC/GdipReleaseDC behaviour + fixes to be able to run it. 2008-08-25 11:37:40 +02:00
Nikolay Sivov 6e37ec6bc3 gdiplus: Use GdipFree instead of HeapFree in GdipDeleteGraphics. 2008-08-25 11:37:18 +02:00
Nikolay Sivov 4a44100aa7 gdiplus: Implemented GdipFillClosedCurve2[I]. 2008-08-22 10:39:52 +02:00
Nikolay Sivov 169e87d879 gdiplus: Implemented GdipResetWorldTransform. 2008-08-18 17:27:59 +02:00
Nikolay Sivov 2fb0c7e639 gdiplus: Move some Beziers helpers to gdiplus.c to use them for graphicspath. 2008-08-04 14:17:20 +02:00
Nikolay Sivov e04a662036 gdiplus: Implemented GdipFillPolygon2/GdipFillPolygon2I. 2008-08-04 13:04:23 +02:00
Nikolay Sivov 0e840f6186 gdiplus: GdipFillRegion actually belongs to Graphics. 2008-07-11 13:57:36 +02:00
Huw Davies eb9d7f5980 gdiplus: Implement GdipCreateMetafileFromWmfFile. 2008-07-10 18:10:39 +02:00
Huw Davies 3ab7666248 gdiplus: Add stubs for GdipTransformPoints[I]. 2008-07-10 18:10:24 +02:00
Adam Petaccia be4a226a11 gdiplus: Stub GdipMeasureCharacterRanges. 2008-07-10 12:30:57 +02:00
Nikolay Sivov 55916bb970 gdiplus: Implemented GdipDrawClosedCurve and GdipDrawClosedCurveI. 2008-07-09 10:44:33 +02:00
Nikolay Sivov 8b8864b727 gdiplus: Implemeted GdipDrawClosedCurve2 and GdipDrawClosedCurve2I. 2008-07-09 10:44:18 +02:00
Nikolay Sivov d020474cb5 gdiplus: Implemented GdipDrawBeziers. 2008-07-03 13:08:17 +02:00
Przemysław Białek 864384e75d gdiplus: Implementation of function GdipDrawEllipse. 2008-06-27 12:32:14 +02:00