Commit Graph

1493 Commits

Author SHA1 Message Date
Alexandre Julliard 1731ee55b6 gdiplus: Don't bother to free memory at process exit. 2013-05-15 10:19:18 +02:00
Dmitry Timoshkov 4c4c661bc0 gdiplus: Implement GdipEnumerateMetafileDestPoint and GdipEnumerateMetafileDestPointI. 2013-05-06 15:55:22 +02:00
Dmitry Timoshkov 69d74ece53 gdiplus: Implement GdipEnumerateMetafileDestRect and GdipEnumerateMetafileDestRectI. 2013-05-06 15:55:21 +02:00
Detlef Riekenberg fa5d091051 gdiplus/tests: Add tests for GdipSetCustomLineCapWidthScale. 2013-04-18 11:41:53 +02:00
Detlef Riekenberg da7fe7ab55 gdiplus: Implement GdipSetCustomLineCapWidthScale. 2013-04-18 11:41:50 +02:00
Victor Martinez e891fe4b8e gdiplus: Fix returned rect in GdiGetRegionBoundsI. 2013-04-03 11:33:01 +02:00
Dmitry Timoshkov 6ab04040e5 gdiplus: GdipMeasureCharacterRanges should treat empty layout extents as infinite when StringFormatFlagsNoClip is specified.
Unlike GdipMeasureString which always treats empty layout extents as infinite.
2013-03-15 11:43:24 +01:00
Dmitry Timoshkov db746fe897 gdiplus: GdipMeasureCharacterRanges shouldn't add margins to string bounds. 2013-03-15 11:43:13 +01:00
Dmitry Timoshkov 4b19b618f5 gdiplus: Add more GdipMeasureString/GdipMeasureCharacterRanges clipping and alignment tests. 2013-03-14 12:03:45 +01:00
Dmitry Timoshkov 61dafbb701 gdiplus: Ignore gdiplus page and world transformations when creating a gdi32 clipping region. 2013-03-13 11:30:11 +01:00
Vincent Povirk a424968482 gdiplus: Correct EMF record size calculation. 2013-03-13 11:29:17 +01:00
Vincent Povirk 6214e5b92c gdiplus: Also get a DC for drawing WMF images. 2013-03-13 11:29:10 +01:00
Dmitry Timoshkov 2cca510a5b gdiplus: Protect from mixing BrushTypeLinearGradient and BrushTypePathGradient. 2013-03-11 10:46:33 +01:00
Dmitry Timoshkov 65bd8f2b26 gdiplus: Print a passed in rectangle in GdipCombineRegionRect. 2013-03-11 10:46:06 +01:00
Vincent Povirk 636e60b6e0 gdiplus: Fix GdipCreateBitmapFromGraphics implementation. 2013-03-11 10:42:40 +01:00
Francois Gouget 06489c6501 gdiplus/tests: Skip the tests if unable to load the TIFF image.
On Windows XP most versions of gdiplus (i.e. older than 5.2) do not support TIFF.
2013-03-04 17:32:02 +01:00
Dmitry Timoshkov 464b8b4160 gdiplus: Add some tests for string format alignment. 2013-03-04 11:19:20 +01:00
Dmitry Timoshkov 9fb88c7999 gdiplus: GdipDrawString should not clip the string if StringFormatFlagsNoClip is specified. 2013-03-04 11:19:18 +01:00
Dmitry Timoshkov 737790603c Revert "gdiplus: Add support for StringFormatFlagsNoClip.".
This reverts commit bfa35f37a7.
This patch breaks string alignment.
2013-03-04 11:19:16 +01:00
Vincent Povirk 7b004c1714 gdiplus: Store the image type on a Graphics object in case the image is freed. 2013-03-04 11:15:38 +01:00
Dmitry Timoshkov 1896e5575e gdiplus: If a device doesn't support AlphaBlend don't convert image to PARGB. 2013-02-25 10:40:37 +01:00
Dmitry Timoshkov d23bfd8dfc gdiplus: Round up when converting from 32-bit ARGB to PARGB. 2013-02-25 10:40:36 +01:00
Dmitry Timoshkov ada3aea736 gdiplus: Add some tests for ARGB conversions. 2013-02-25 10:40:36 +01:00
Dmitry Timoshkov c5e129a7e4 gdiplus: Remove debug traces from GdipBitmapGetPixel and GdipBitmapSetPixel. 2013-02-22 17:36:21 +01:00
Dmitry Timoshkov 668cfb1c5a gdiplus: Correct the GdipDrawString .spec entry. 2013-02-21 08:32:44 +01:00
Dmitry Timoshkov 42a5943598 gdiplus: Use an off-screen DC to trace a path. 2013-02-20 18:21:25 +01:00
Dmitry Timoshkov 0553eba08f gdiplus: Use an off-screen DC as an image surface. 2013-02-20 18:21:22 +01:00
Dmitry Timoshkov 97b92fe12c gdiplus: Use an off-screen DC for font enumeration. 2013-02-20 18:21:18 +01:00
Dmitry Timoshkov 6b474b555e gdiplus: Reimplement GdipFillRectangles using GdipFillPath. 2013-02-19 10:42:45 +01:00
Dmitry Timoshkov bb16c926b4 gdiplus: Slightly simplify GdipFillClosedCurve2 implementation. 2013-02-19 10:42:36 +01:00
Dmitry Timoshkov 338958287a gdiplus: Reimplement GdipDrawRectangles using GdipDrawPath. 2013-02-19 10:42:32 +01:00
Dmitry Timoshkov 1223569d64 gdiplus: Reimplement GdipDrawRectangle using GdipDrawPath. 2013-02-19 10:42:29 +01:00
Dmitry Timoshkov 981223a736 gdiplus: Reimplement GdipDrawPie using GdipDrawPath. 2013-02-19 10:42:24 +01:00
Dmitry Timoshkov 6df50f1d16 gdiplus: Reimplement GdipDrawEllipse using GdipDrawPath. 2013-02-19 10:42:16 +01:00
Dmitry Timoshkov ad49f83c7d gdiplus: Forward GdipDrawBezier to GdipDrawBeziers. 2013-02-19 10:42:10 +01:00
Dmitry Timoshkov ae8826c43e gdiplus: Reimplement GdipDrawBeziers using GdipDrawPath. 2013-02-19 10:42:03 +01:00
Dmitry Timoshkov 89f380f69b gdiplus: Reimplement GdipDrawArc using GdipDrawPath. 2013-02-19 10:41:46 +01:00
Dmitry Timoshkov 2fd1bf60ae gdiplus: Reimplement GdipDrawLines using GdipDrawPath. 2013-02-19 10:41:37 +01:00
Dmitry Timoshkov 03228b1784 gdiplus: Reimplement GdipDrawCurve2 using GdipDrawPath. 2013-02-19 10:41:18 +01:00
Dmitry Timoshkov 4233b82872 gdiplus: Slightly simplify GdipDrawClosedCurve2 implementation. 2013-02-19 10:41:01 +01:00
Dmitry Timoshkov cc54d1eb68 gdiplus: Forward GdipDrawBezierI to GdipDrawBezier. 2013-02-19 10:40:43 +01:00
Dmitry Timoshkov f817fb56e8 gdiplus: Avoid a crash in GdipDrawImagePointRect. 2013-02-18 15:06:17 +01:00
Dmitry Timoshkov 22a7458a3f gdiplus: Avoid a devision by zero when a being added segment length is 0.
This sometimes happens after GdipAddPathLine + GdipWidenPath.
2013-02-18 14:51:04 +01:00
Dmitry Timoshkov 8ec2354b32 gdiplus: Forward GdipDrawLinesI to GdipDrawLines. 2013-02-18 10:36:18 +01:00
Dmitry Timoshkov 7cccd36c9a gdiplus: Forward GdipDrawLineI to GdipDrawLine. 2013-02-18 10:36:11 +01:00
Dmitry Timoshkov 0ed65a2d3a gdiplus: Forward GdipDrawLine to GdipDrawLines. 2013-02-18 10:36:01 +01:00
Dmitry Timoshkov 35fc9c12dc gdiplus: Avoid not necessary memory allocation for BITMAPINFO. 2013-01-30 12:43:24 +01:00
Andrew Talbot 32d070afb0 gdiplus: Avoid signed-unsigned integer comparisons. 2013-01-24 10:49:34 +01:00
Dmitry Timoshkov 9532de882f gdiplus: Make GdipCreateFromHDC2 not fail in case of hDevice != NULL. 2013-01-23 12:52:16 +01:00
Dmitry Timoshkov 0d0f05e523 gdiplus: Avoid not necessary memory allocation in GdipCreateBitmapFromHICON. 2013-01-16 12:23:19 +01:00