Commit Graph

457 Commits

Author SHA1 Message Date
Vincent Povirk 435762024f gdiplus: Always treat out of range string sizes as INT_MAX. 2010-05-10 10:03:00 +02:00
Vincent Povirk 0ae0c0c09e gdiplus: Implement GdipSetImageAttributesWrapMode. 2010-05-10 10:01:48 +02:00
Vincent Povirk 15ebd84daf gdiplus: Implement bitmap color keying. 2010-05-10 10:01:39 +02:00
Vincent Povirk 68ce9e925a gdiplus: Prevent integer overflows when rounding text bounds.
Mono calls GdipMeasureString with a height so large that rounding and
converting it to an integer gives a negative result.
2010-04-19 14:54:11 +02:00
Vincent Povirk ede103c699 gdiplus: Add fixmes for unimplemented imageattributes features. 2010-04-16 12:13:00 +02:00
Vincent Povirk 8b2543b750 gdiplus: Always use software to draw bitmaps to bitmaps. 2010-04-16 12:12:54 +02:00
Vincent Povirk 4247247787 gdiplus: Implement color remapping. 2010-04-16 12:12:48 +02:00
Vincent Povirk bb9c1878c3 gdiplus: Correct the coordinate transform for non-rectangular parallelograms.
Apparently matrices in gdiplus don't work the way I think they do.
2010-04-16 12:12:37 +02:00
Vincent Povirk 7791f02fd9 gdiplus: Transform bitmaps to non-rectangular parallelograms in software. 2010-04-16 12:12:30 +02:00
Vincent Povirk 9c380b1e8e gdiplus: Use a helper function to draw image data from bitmaps in software.
This will make it possible to use the same codepath for non-bitmap graphics
objects and to create a software implementation for other drawing operations.
2010-04-16 12:12:24 +02:00
Vincent Povirk 2f9c6091fc gdiplus: Use UnitPixel for metafile bounds when creating from HMETAFILE. 2010-04-16 12:10:13 +02:00
Vincent Povirk 9a4618a4ba gdiplus: Print the GdipCreateHalftonePalette FIXME only once. 2010-04-09 18:34:57 +02:00
Vincent Povirk ade2506029 gdiplus: Implement GdipFlush. 2010-04-02 16:53:07 +02:00
Vincent Povirk deb6466f3f gdiplus: Implement GdipMeasureCharacterRanges. 2010-03-31 11:40:20 +02:00
Vincent Povirk 21109a40fb gdiplus: Fix the linesfilled calculation in GdipMeasureString. 2010-03-31 11:40:08 +02:00
Vincent Povirk 2cde94a89e gdiplus: Rewrite GdipDrawString to share code with GdipMeasureString. 2010-03-31 11:39:58 +02:00
Vincent Povirk 3cee74c61d gdiplus: Rewrite GdipMeasureString using a helper function. 2010-03-31 11:39:51 +02:00
Vincent Povirk 32d03da998 gdiplus: Add a missing NULL check to GdipMeasureString. 2010-03-31 11:37:51 +02:00
Vincent Povirk 5433969ec8 gdiplus: Don't use gdi32 to draw to bitmaps with formats it can't handle. 2010-03-29 12:19:48 +02:00
Justin Chevrier b4bfa6e1c1 gdiplus: Basic implementation of GdipGetNearestColor with changes to test to reflect fixes. 2010-02-26 14:18:59 +01:00
Vincent Povirk 00dec58bb2 gdiplus: Convert formats that can't be drawn by gdi32 when drawing bitmaps. 2010-02-15 12:20:00 +01:00
Alistair Leslie-Hughes 03e31f9b86 gdiplus: Implement GdipIsVisibleClipEmpty. 2010-01-05 12:29:43 +01:00
Vincent Povirk 2005fe9881 gdiplus: Add traces to unimplemented functions in graphics.c. 2010-01-04 11:44:52 +01:00
Vincent Povirk 01b32951a5 gdiplus: Fix a memory leak in GdipCreateMetafileFromWmf. 2010-01-04 11:41:27 +01:00
Vincent Povirk 1aea88cac1 gdiplus: Implement GdipGetImage*Resolution. 2009-12-28 12:57:37 +01:00
Vincent Povirk c38d334266 gdiplus: Fix typo in GdipCreateMetafileFromWmf. 2009-12-28 12:57:23 +01:00
Vincent Povirk 7ded3d83c6 gdiplus: Add some traces for the values of point arguments. 2009-12-28 11:54:27 +01:00
Vincent Povirk f8ca372459 gdiplus: Add trace for values of new graphics and image objects. 2009-12-21 15:01:23 +01:00
Huw Davies 68bacfb8d5 gdiplus: Fix a memory leak.
Found by Valgrind.
2009-12-14 12:04:04 +01:00
Vincent Povirk 39dc81cc80 gdiplus: Implement GdipSetImagePalette. 2009-12-14 12:04:03 +01:00
Vincent Povirk d2e999d2e8 gdiplus: Use the preset blend when drawing linear gradients. 2009-09-15 17:34:56 -05:00
Vincent Povirk 0595fc5e03 gdiplus: Implement GdipGetImageRawFormat. 2009-09-15 17:34:12 -05:00
Vincent Povirk 99012b9a4e gdiplus: Don't use the supplied rect to calculate font scaling factors. 2009-09-08 13:44:25 +02:00
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
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
Evan Stade ee59d41441 gdiplus: Added GdipAddPathBezierI. 2007-08-15 10:54:05 +02:00
Evan Stade f7d27e0020 gdiplus: Added GdipDrawString. 2007-08-15 10:50:36 +02:00
Evan Stade 9d6e0750f2 gdiplus: Added GdipDrawRectangles. 2007-08-14 12:34:52 +02:00
Evan Stade 30fdcc7612 gdiplus: Added GdipScaleWorldTransform. 2007-08-14 12:34:38 +02:00
Evan Stade 3126c7704c gdiplus: Added GdipRotateWorldTransform. 2007-08-14 12:34:27 +02:00
Evan Stade afa4d3233a gdiplus: Better handle UnitPixel pen width. 2007-08-14 12:34:16 +02:00
Evan Stade e807eb9ad6 gdiplus: Added GdipSetCompositingMode/GdipGetCompositingMode. 2007-08-14 12:31:40 +02:00
Evan Stade 795b62216d gdiplus: Added GdipTranslateWorldTransform. 2007-08-10 13:00:24 +02:00
Evan Stade 04d4c2621c gdiplus: Added GdipDrawImageRectRect. 2007-08-10 12:58:45 +02:00
Evan Stade b66c0a00d9 gdiplus: Added GdipFillRectangle. 2007-08-09 14:36:55 +02:00
Evan Stade c84c204b48 gdiplus: Updated GdipDrawRectangleI. 2007-08-08 15:32:03 +02:00
Evan Stade bb904a2779 gdiplus: Added GdipFillRectangleI. 2007-08-08 15:32:03 +02:00
Evan Stade 02887b6c90 gdiplus: Fixed bug drawing custom caps. 2007-08-08 15:32:02 +02:00
Evan Stade 7d03a41325 gdiplus: Don't prematurely release stream. 2007-08-08 15:32:02 +02:00
Evan Stade de351ab991 gdiplus: Added GdipDrawImageI. 2007-08-08 15:32:02 +02:00
Evan Stade 0794e5daf3 gdiplus: Return width and height of metafiles. 2007-08-08 15:32:02 +02:00
Evan Stade 3ea77f5cfd gdiplus: Added GdipCreateStreamOnFile. 2007-08-08 15:32:01 +02:00
Evan Stade 88ab6d32d3 gdiplus: Removed old fixmes. 2007-08-03 13:32:08 +02:00
Evan Stade 7f0aa3af7c gdiplus: Use custom cap base inset differently. 2007-08-03 13:31:59 +02:00
Evan Stade 5e29e37af5 gdiplus: Added GdipDrawLine. 2007-08-02 12:18:42 +02:00
Evan Stade 1ef7793b51 gdiplus: Added GdipFillPolygon. 2007-08-02 12:18:42 +02:00
Evan Stade 192e1115bd gdiplus: Don't suggest image size when converting WMF to EMF. 2007-08-02 12:18:42 +02:00
Evan Stade 6e0c574fb9 gdiplus: Extend GdipDrawImagePointsRect. 2007-08-01 11:59:19 +02:00
Evan Stade cfef981a9a gdiplus: Fix memory leak in GdipCreateMetafileFromWMF. 2007-08-01 11:59:18 +02:00
Evan Stade a9c4f30c56 gdiplus: Partial implementation of GdipDrawImagePointsRect. 2007-07-31 11:49:10 +02:00
Evan Stade 586e63ef38 gdiplus: Implemented GdipGetImageBounds for metafiles. 2007-07-31 11:48:59 +02:00
Evan Stade 460f01b320 gdiplus: Added GdipDrawImagePointsRect stub. 2007-07-31 11:48:33 +02:00
Evan Stade 50799cf04f gdiplus: Partial implementation of GdipCreateMetafileFromWMF. 2007-07-31 11:45:18 +02:00
Evan Stade 629e013d7f gdiplus: Fixed a typo. 2007-07-30 23:37:58 +02:00
Evan Stade 1f61f4821f gdiplus: Draw custom dashes. 2007-07-30 23:37:58 +02:00
Evan Stade f52adfd0de gdiplus: Fix memory leak. 2007-07-26 12:35:29 +02:00
Evan Stade 021997fa63 gdiplus: Added GdipCreateMetafileFromWmf stub. 2007-07-25 13:52:43 +02:00
Evan Stade b0acdb8389 gdiplus: Limit fixme output. 2007-07-25 13:50:42 +02:00
Evan Stade 5cc8c10e0e gdiplus: Added GdipCreateMetafileFromEmf stub. 2007-07-25 13:50:04 +02:00
Evan Stade b7053b74ba gdiplus: Make pen width depend on world transform. 2007-07-25 13:49:45 +02:00
Evan Stade 4c424b3c16 gdiplus: Create gdi pen every time gdi+ pen is used. 2007-07-25 13:49:26 +02:00
Evan Stade c3e8af414b gdiplus: Use world transform when drawing points. 2007-07-25 13:48:04 +02:00
Evan Stade f30732fdf9 gdiplus: Added GdipSetWorldTransform/GdipGetWorldTransform. 2007-07-25 13:47:45 +02:00
Evan Stade 8162139553 gdiplus: Added GdipSetPageScale/GdipGetPageScale. 2007-07-25 13:47:02 +02:00
Evan Stade 827f979b37 gdiplus: Added support for more page units. 2007-07-25 13:46:50 +02:00
Evan Stade d01c697eb9 gdiplus: Use page unit when drawing. 2007-07-24 12:22:29 +02:00
Evan Stade 10b575bc86 gdiplus: Added GdipSetPageUnit. 2007-07-24 12:22:11 +02:00
Evan Stade 6467526469 gdiplus: Added GdipFillPolygonI. 2007-07-24 12:22:02 +02:00
Evan Stade 27124d5d32 gdiplus: Implemented GdipSetPenColor. 2007-07-24 12:21:08 +02:00
Evan Stade 818051de2c gdiplus: Change atan2 to gdiplus_arctan2. 2007-07-23 12:11:43 +02:00
Evan Stade a84b567cba gdiplus: Added startcap rendering. 2007-07-23 12:11:21 +02:00
Evan Stade f56fa321f5 gdiplus: Use base inset for custom line caps. 2007-07-23 12:10:54 +02:00
Evan Stade 8c5bcef9f3 gdiplus: Added rendering of fill-path type custom line caps. 2007-07-23 12:10:42 +02:00
Evan Stade 85b5df42a7 gdiplus: Added rendering of custom line caps. 2007-07-20 11:53:40 +02:00
Evan Stade ea5898c067 gdiplus: Use atan2 instead of atan. 2007-07-20 11:53:15 +02:00
Evan Stade d362b58ded gdiplus: Added GdipFillPath. 2007-07-16 15:05:26 +02:00
Evan Stade 9e88347f45 gdiplus: Simplified GdipDrawPath by moving more of the code to the helpers. 2007-07-16 15:04:56 +02:00
Evan Stade c760668cab gdiplus: GdipSaveGraphics/GdipRestoreGraphics stubs. 2007-07-16 15:03:36 +02:00
Evan Stade d6bd866df5 gdiplus: Added pixel offset mode. 2007-07-16 15:02:59 +02:00
Evan Stade a87ce7ab92 gdiplus: Added interpolation mode. 2007-07-16 15:02:46 +02:00
Evan Stade 60cad23522 gdiplus: Added compositing quality. 2007-07-16 15:02:34 +02:00
Evan Stade 53e17d2993 gdiplus: Added smoothing modes. 2007-07-16 15:02:21 +02:00
Evan Stade 55d70e894c gdiplus: Changed the way the direction of the endcap is calculated to make LineCapArrowAnchor direction match Windows better. 2007-07-12 14:59:40 +02:00
Evan Stade 6f4ab52824 gdiplus: Added draw_polyline error checking. 2007-07-12 14:51:16 +02:00
Evan Stade fa31217d6e gdiplus: Added draw_polybezier error checking. 2007-07-12 14:50:49 +02:00
Evan Stade 9d5f568183 gdiplus: Added GdipDrawPath. 2007-07-12 14:49:55 +02:00
Evan Stade 852aac8b54 gdiplus: Updated GdipDrawLines to use SaveDC()/RestoreDC()/end caps. 2007-07-12 14:48:51 +02:00
Evan Stade 40f2273f03 gdiplus: Updated GdipDrawArc to use SaveDC()/RestoreDC()/line caps. 2007-07-12 14:48:36 +02:00
Evan Stade 4a8a1b423c gdiplus: Moved two inline helpers to the header. 2007-07-12 14:47:38 +02:00
Evan Stade 6544d9ee3e gdiplus: Changed calls to floor to floorf. 2007-07-11 12:43:11 +02:00
Evan Stade 14c7466c9f gdiplus: Fixed a bug in helper function draw_polybezier. 2007-07-10 14:29:33 +02:00
Evan Stade b72dc0df9d gdiplus: GdipDrawCurve2 now uses SaveDC()/RestoreDC() and end caps. 2007-07-10 14:29:19 +02:00
Evan Stade 14e0df1fa0 gdiplus: Updated GdipDrawRectangleI. 2007-07-10 14:28:57 +02:00
Evan Stade a4fff71454 gdiplus: Updated draw_pie to use SaveDC/RestoreDC. 2007-07-10 14:28:27 +02:00
Evan Stade 69a807c6a9 gdiplus: Added linecap rendering for GdipDrawBezier. 2007-07-09 17:03:31 +02:00
Evan Stade 5128e5dc58 gdiplus: Rendering of linecaps. 2007-07-09 17:03:31 +02:00
Evan Stade c60c030c95 gdiplus: Call EndPath() in GdipDrawLineI in case there is an open path. 2007-07-04 12:06:58 +02:00
Evan Stade d9ef172e04 gdiplus: Use SaveDC, RestoreDC in GdipDrawLineI. 2007-07-03 20:39:32 +02:00
Evan Stade 6490dadb23 gdiplus: Tidy up graphics constructor. 2007-06-25 12:05:02 +02:00
Evan Stade f6f04f6e0e gdiplus: Implemented GdipDrawLines. 2007-06-22 12:28:54 +02:00