Commit Graph

157 Commits

Author SHA1 Message Date
Sebastian Lackner aa70a90c6e gdiplus: Do not use GdipAlloc and GdipFree in internal functions.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-11 13:44:22 +09:00
Nikolay Sivov d78a0612ed gdiplus: Fix image attributes leak (Coverity). 2014-03-27 12:06:03 +01:00
Dmitry Timoshkov 2cca510a5b gdiplus: Protect from mixing BrushTypeLinearGradient and BrushTypePathGradient. 2013-03-11 10:46:33 +01:00
Dmitry Timoshkov 39ec8ce67e gdiplus: Store transformation matrix directly in the objects. 2012-11-08 15:37:49 +01:00
Dmitry Timoshkov 10c84dfe3b gdiplus: Rename roundr() to gdip_round() to make it clearer that it's an internal helper. 2012-08-21 11:47:11 +02:00
Vincent Povirk 3a3ca55ffa gdiplus: Return OutOfMemory when creating a path gradient from a NULL path. 2012-04-26 19:27:01 +02:00
Vincent Povirk ea3e26e32d gdiplus: Return OutOfMemory when creating a path gradient with NULL points. 2012-04-26 19:26:57 +02:00
Vincent Povirk e2b59a87b0 gdiplus: Store only one surround color if all colors are the same. 2012-04-25 12:16:36 +02:00
Vincent Povirk 8273d58a96 gdiplus: Implement GdipSetPathGradientSigmaBlend. 2012-04-25 12:16:24 +02:00
Vincent Povirk d0a85604d5 gdiplus: Implement GdipSetPathGradientLinearBlend. 2012-04-25 12:16:20 +02:00
Vincent Povirk b66fd44080 gdiplus: Implement GdipSetPathGradientBlend, with tests. 2012-04-25 12:16:15 +02:00
Vincent Povirk 4a78d7c6b4 gdiplus: Remove FIXME on implemented function. 2012-04-25 12:16:09 +02:00
Vincent Povirk c374fe9bdb gdiplus: Implement path gradient transform setters. 2012-04-04 19:02:42 +02:00
Vincent Povirk 09b7aed7a2 gdiplus: Set the wrap mode in the path gradient constructor. 2012-04-04 19:02:36 +02:00
Vincent Povirk b228426d8e gdiplus: Default path gradient center color depends on the constructor. 2012-04-04 19:02:30 +02:00
Vincent Povirk ad9976eb22 gdiplus: Forbid creating path gradients with fewer than 2 points. 2012-04-02 12:38:01 +02:00
Vincent Povirk 52bf030b84 gdiplus: Implement GdipGetPathGradientTransform. 2012-04-02 12:37:55 +02:00
Vincent Povirk 5254a76a0c gdiplus: Implement path gradient preset blend accessors. 2012-04-02 12:37:43 +02:00
Vincent Povirk a85bb87cc3 gdiplus: Implement GdipGetPathGradientCenterColor. 2012-04-02 12:37:35 +02:00
Vincent Povirk 7e90dc3dc7 gdiplus: Implement path gradient surround color accessors. 2012-03-15 19:56:13 +01:00
Vincent Povirk 1515a4b89c gdiplus: Set path gradient center points based on the path's bounding rect. 2012-03-13 10:27:50 +01:00
Vincent Povirk 116665d7fc gdiplus: Add stub GdipGetPathGradientPath with tests. 2012-03-13 10:27:44 +01:00
Vincent Povirk 96d66f1666 gdiplus: Store a real path in path gradient brushes. 2012-03-13 10:27:35 +01:00
Dmitry Timoshkov b39425f3cf gdiplus: Create GDI bitmap only when needed. 2012-03-12 10:43:53 +01:00
Dmitry Timoshkov 0d7bc4b325 gdiplus: Create GDI brush only when needed. 2012-03-09 11:30:46 +01:00
Dan Kegel 8f073bf4c7 gdiplus: Make GdipTranslateLineTransform stub lie and return Ok. 2012-02-16 11:57:27 +01:00
André Hentschel 66f212e667 gdiplus: Add a FIXME. 2011-04-13 14:13:52 +02:00
Vincent Povirk 4266b154be gdiplus: Initialize the ImageAttributes in GdipCreateTexture2I. 2011-03-28 17:08:53 +02:00
Vincent Povirk 8a036abc5c gdiplus: Implement software rendering of texture brushes. 2011-03-11 11:48:08 +01:00
Vincent Povirk 86d58dc6c8 gdiplus: Store an ImageAttributes in texture brushes. 2011-02-15 17:01:43 +01:00
Vincent Povirk b7e664bc5c gdiplus: Add a software implementation of hatch brushes. 2011-01-24 12:13:54 +01:00
Vincent Povirk bb444e81cc gdiplus: Fix point conversion in GdipCreateLineBrushI. 2010-11-01 11:33:19 +01:00
Vincent Povirk 2661ce79d6 gdiplus: Reject linear gradients where the start and end points are equal. 2010-10-28 11:41:45 +02:00
Vincent Povirk b57c4314c1 gdiplus: Stub GdipGetPathGradientPresetBlend. 2010-08-23 12:03:32 +02:00
Vincent Povirk 8dd940d0b5 gdiplus: Stub GdipTranslatePathGradientTransform. 2010-08-23 12:03:26 +02:00
Vincent Povirk 1a710ac36f gdiplus: Stub GdipGetPathGradientTransform. 2010-08-17 11:55:33 +02:00
Vincent Povirk 41f4263277 gdiplus: Stub GdipSetPathGradientLinearBlend. 2010-08-17 11:55:33 +02:00
Vincent Povirk 462c599335 gdiplus: Stub GdipScalePathGradientTransform. 2010-08-17 11:55:33 +02:00
Vincent Povirk b56f3c3b21 gdiplus: Stub GdipRotatePathGradientTransform. 2010-08-17 11:55:33 +02:00
Vincent Povirk 1fdecda9da gdiplus: Stub GdipSetPathGradientTransform. 2010-08-17 11:55:33 +02:00
Vincent Povirk 00aeee6e8e gdiplus: Stub GdipMultiplyPathGradientTransform. 2010-08-03 19:24:39 +02:00
Vincent Povirk 358d382782 gdiplus: Stub GdipGetPathGradientPresetBlendCount. 2010-08-03 19:24:33 +02:00
Vincent Povirk 0e06326f5d gdiplus: Set result to NULL when CreatePathGradient fails. 2010-07-05 11:54:49 +02:00
Vincent Povirk 4c93f9f880 gdiplus: Always create path gradient brushes with blend positions. 2010-06-25 10:26:13 +02:00
Vincent Povirk 0178093576 gdiplus: Stub GdipGetPathGradientCenterColor. 2010-06-25 10:26:04 +02:00
Vincent Povirk 86f4e00fba gdiplus: Stub GdipMultiplyLineTransform. 2010-06-25 10:25:59 +02:00
Vincent Povirk 2e4eb7144c gdiplus: Stub GdipGetLineTransform. 2010-06-25 10:25:55 +02:00
Vincent Povirk aa76490d07 gdiplus: Use ddb's instead of dib's to create texture brushes. 2010-04-19 14:54:14 +02:00
Justin Chevrier 4027813764 gdiplus: Add GdipGetPathGradientSurroundColorCount stub with tests. 2010-03-29 15:50:21 +02:00
Justin Chevrier 88b4263a61 include: Fix GdipSetPathGradientSurroundColorsWithCount definition. 2010-03-29 15:50:21 +02:00