Commit Graph

415 Commits

Author SHA1 Message Date
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
Evan Stade 5c8b83c524 gdiplus: Implemented GdipDrawCurve2. 2007-06-20 13:10:24 +02:00
Evan Stade c42f8794a1 gdiplus: Implemented GdipDrawArc. 2007-06-20 13:09:08 +02:00
Evan Stade 72ab72c50c gdiplus: Implemented GdipDrawPie/GdipFillPie. 2007-06-19 11:45:02 +02:00
Evan Stade 8b9f5342b4 gdiplus: Implemented GdipDrawBezier. 2007-06-18 13:36:34 +02:00
Evan Stade 4b9bfbe7b7 gdiplus: Implemented GdipDrawRectangleI. 2007-06-13 11:21:42 +02:00
Evan Stade 2689b18ea4 gdiplus: Implemented GdipDrawLineI. 2007-06-13 11:20:54 +02:00
Evan Stade d50be49775 gdiplus: Added first GDI+ graphics implementation. 2007-06-12 12:30:55 +02:00