Commit Graph

232 Commits

Author SHA1 Message Date
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
Nikolay Sivov f620b663a7 gdiplus: Stub for GdipFlush. 2008-06-20 12:37:02 +02:00
Huw Davies d5ccbe2ba4 gdiplus: Stub for GdipGetClip. 2008-05-12 19:42:38 +02:00
Huw Davies 6cfb469a6c gdiplus: Stubs for GdipGetDC and GdipReleaseDC. 2008-05-12 19:42:19 +02:00
Nikolay Sivov eb18ce9d4e gdiplus: Added GdipCreateFromHWNDICM (no icm yet) with test. 2008-05-12 14:00:22 +02:00
Nikolay Sivov a77dc34b41 gdiplus: Let GdipDrawArcI use float args version. 2008-05-08 11:10:29 +02:00
Nikolay Sivov 510c26ac1d gdiplus: Implemented GdipMultiplyWorldTransform. 2008-04-30 10:27:38 +02:00
Nikolay Sivov d5769957b4 gdiplus: Implemented GdipGetDpiX/GdipGetDpiY. 2008-04-29 13:48:08 +02:00
Nikolay Sivov 7ce48b0346 gdiplus: Implemented GdipFillRectangles/GdipFillRectanglesI. 2008-04-29 13:47:59 +02:00
Nikolay Sivov fc2dc8bc2a gdiplus: Implemented GdipFillEllipse/GdipFillEllipseI. 2008-04-29 13:47:45 +02:00
Nikolay Sivov 79b49a8f19 gdiplus: Implemented GdipDrawImagePointsRectI. 2008-04-29 13:47:20 +02:00
Nikolay Sivov 492470493e gdiplus: Implemented GdipDrawImage. 2008-04-29 13:46:28 +02:00
Nikolay Sivov fe1782eeae gdiplus: Implemented GdipDrawCurve/GdipDrawCurveI. 2008-04-29 13:46:06 +02:00
Nikolay Sivov 00cfffbcb3 gdiplus: Implemented GdipDrawCurve2I. 2008-04-29 13:45:48 +02:00
Nikolay Sivov 8cf5608089 gdiplus: Implemented GdipDrawImageRect/GdipDrawImageRectI. 2008-04-25 11:38:24 +02:00
Nikolay Sivov 2c059d7f52 gdiplus: Implemented GdipFillPieI. 2008-04-24 22:45:25 +02:00
Nikolay Sivov 4697593e85 gdiplus: Implemented GdipDrawPolygon/GdipDrawPolygonI. 2008-04-24 22:45:09 +02:00
Nikolay Sivov 3903ac6ee8 gdiplus: Implemented GdipDrawRectanglesI. 2008-04-24 22:44:53 +02:00
Nikolay Sivov 71931613f9 gdiplus: Implemented GdipDrawPieI. 2008-04-24 22:44:38 +02:00
Nikolay Sivov 172389e131 gdiplus: Implemented GdipDrawRectangle. 2008-04-21 16:54:29 +02:00
Lei Zhang 54a06642f4 gdiplus: Add a stub for GdipSetMetafileDownLevelRasterizationLimit. 2008-04-11 11:16:07 +02:00
Lei Zhang cec6c2eb4d gdiplus: Add a stub for GdipSetClipRegion. 2008-04-10 10:30:39 +02:00
Lei Zhang d9a4299bfc gdiplus: Add a stub for GdipSetClipRectI. 2008-04-09 12:16:52 +02:00
Jon Yang 29bc9ba14e gdiplus: Implemented GdipDrawImageRectRectI. 2008-03-01 12:21:19 +01:00
Andrew Talbot 5e8253aaf9 gdiplus: Assign to structs instead of using memcpy. 2008-03-01 12:02:26 +01:00
Royal Chan 6e7b5347e3 gdiplus: Implement GdipDrawLinesI based on GdipDrawLines. 2008-02-29 20:07:13 +01:00
Royal Chan ea92872af0 gdiplus: GdipDrawArc should return InvalidParameter for non-positive values of height and width. 2008-02-26 11:23:16 +01:00
Royal Chan fc31303780 diplus: Implemented GdipDrawArcI based on GdipDrawArc. 2008-02-26 11:22:38 +01:00
Royal Chan da161a50f3 diplus: Implement GdipDrawBezierI based on GdipDrawBezier. 2008-02-26 11:22:26 +01:00
Royal Chan c86f2c29ff gdiplus: draw_polyline never sets status from GenericError to Ok on successful calls. 2008-02-15 11:39:35 +01:00
Michael Stefaniuc 1f26b146d1 janitorial: Remove superfluous backslashes at end of lines. 2007-12-31 19:23:45 +01:00
Stefan Leichter bfffb4f461 gdiplus: Partly implement GdipCreateFromHDC2 2007-12-23 14:17:12 +01:00
Andrew Talbot dfac0635f6 gdiplus: Fix some memory leaks. 2007-09-27 19:25:00 +02:00
Francois Gouget b6b97b1efa gdiplus: Add some missing or related prototypes and types.
Fix the GdipDrawRectangles() prototype.
2007-08-30 11:57:18 +02:00
Evan Stade be66c3c93b gdiplus: Use DrawText instead of TabbedTextOut. 2007-08-16 11:41:03 +02:00
Evan Stade ca94939308 gdiplus: Handle empty layout rectangle in GdipDrawString. 2007-08-16 11:40:55 +02:00
Evan Stade 44e983925a gdiplus: Handle empty layout rectangle in GdipMeasureString. 2007-08-16 11:40:46 +02:00
Evan Stade d4107db6bb gdiplus: Handle StringFormatFlagsNoWrap in GdipMeasureString. 2007-08-16 11:40:36 +02:00
Evan Stade 3f32083ed7 gdiplus: Handle StringFormatFlagsNoWrap in GdipDrawString. 2007-08-16 11:40:29 +02:00
Evan Stade 92aa57bece gdiplus: Fixed 2 GdipDrawString bugs. 2007-08-16 11:40:18 +02:00
Evan Stade a51cf1d35a gdiplus: Added GdipMeasureString. 2007-08-16 11:40:02 +02:00
Evan Stade d0cead32a6 gdiplus: Allow null-terminated strings in GdipDrawString. 2007-08-15 10:56:25 +02:00
Evan Stade 5662820072 gdiplus: Added GdipSetTextRenderingHint/GdipGetTextRenderingHint. 2007-08-15 10:54:14 +02:00