Commit Graph

50 Commits

Author SHA1 Message Date
Sebastian Lackner 1250af4986 gdiplus: Use helper function for HeapReAlloc calls.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 10:49:17 +09:00
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
Dmitry Timoshkov f5d807b7d7 gdiplus: Get rid of no longer needed path and region fields. 2013-11-12 14:14:46 +01:00
Michael Stefaniuc 9fefae61da gdiplus: Avoid using CONST. 2013-09-23 11:54:47 +02:00
Alexandre Julliard 1731ee55b6 gdiplus: Don't bother to free memory at process exit. 2013-05-15 10:19:18 +02: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 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
Dmitry Timoshkov 6bb353858e gdiplus: Replace convert_unit() by a clearer units_to_pixels() helper. 2012-08-15 13:53:31 +02:00
Dmitry Timoshkov 889be9d447 gdiplus: get_font_hfont helper should transform returned font height using font and device unit/resolution/scale. 2012-08-14 16:41:56 +02:00
Michael Stefaniuc 60bef14094 gdiplus: Remove unreachable break after return (Smatch). 2012-08-13 12:07:46 +02:00
Dmitry Timoshkov 3298a30211 gdiplus: Improve precision of calculated pixel to units transformation. 2012-07-31 17:59:12 +02:00
Dmitry Timoshkov 9288acda1d gdiplus: GdipGetFontHeight should convert height from font to device units. 2012-07-18 17:17:38 +02:00
Dmitry Timoshkov ed8a3304c4 gdiplus: Factor out units_to_pixels() helper. 2012-07-18 17:17:31 +02:00
Dmitry Timoshkov 1f3b53c5d8 gdiplus: Fix the convert_unit() comment to reflect its functionality. 2012-07-03 12:59:01 +02:00
Alexandre Julliard 039c85346c gdiplus: CreateDIBSection doesn't need a DC for the DIB_RGB_COLORS case. 2012-05-02 12:02:17 +02:00
Vincent Povirk 203d29d93a gdiplus: Fix pointer math for the 64-bit tests. 2011-10-04 15:19:02 -05:00
Francois Gouget 5920de5ffb Assorted spelling and case fixes. 2011-05-09 12:09:27 +02:00
Francois Gouget ca988fa401 gdiplus: Remove GdiplusShutdown() as it is redudant with GdiplusShutdown_wrapper(). 2011-03-16 14:14:23 +01:00
Vincent Povirk 1eb12cb08d gdiplus: Return 0 from GdiplusShutdown. 2010-10-01 13:43:49 +02:00
Vincent Povirk 85a5710688 gdiplus: Don't require an HDC for the convert_unit function. 2010-08-17 11:55:33 +02:00
Vincent Povirk db3d756c1e gdiplus: Prefer the builtin version. 2010-01-25 13:00:39 +01:00
Vincent Povirk 7ded3d83c6 gdiplus: Add some traces for the values of point arguments. 2009-12-28 11:54:27 +01:00
Alexandre Julliard 0065a115c6 gdiplus: Remove a useless inline specifier. 2009-10-19 11:44:39 +02:00
Vincent Povirk e261568652 gdiplus: Accept version 2 in GdiplusStartup. 2009-09-22 16:15:29 +02:00
Vincent Povirk 0acfffc17b gdiplus: Don't calculate the number of points in the arc by dividing. 2009-09-08 13:44:44 +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 60167dfb74 gdiplus: Implement partially transparent solid fill brushes. 2009-05-21 16:17:52 +02:00
Vincent Povirk ef4d0d970d gdiplus: Populate the installed font collection. 2009-05-14 17:23:03 +02:00
Vincent Povirk 3dd5ce7874 gdiplus: Add a trace to GdipDrawString. 2009-05-14 11:13:29 +02:00
Andrew Talbot 88b84820ab gdiplus: Void function should not return a value. 2008-11-28 12:57:10 +01:00
Hans Leidekker 67a9170aca gdiplus: Add a stub implementation of GdiplusNotificationHook and GdiplusNotificationUnhook. 2008-11-24 14:25:10 +01:00
Nikolay Sivov 63e8294593 gdiplus: Return some token value on startup. 2008-11-13 14:16:12 +01:00
Nikolay Sivov ef50aa330e gdiplus: Implemented GdipGetClip. 2008-08-27 13:21:22 +02:00
Nikolay Sivov ef889d94a3 gdiplus: Implemented GdipPathIterNextSubpathPath with tests. 2008-08-18 17:27:16 +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
Andrew Talbot 507daae427 gdiplus: Remove unneeded casts. 2008-01-08 12:54:06 +01: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 81c0865bee gdiplus: Allow non-default GdiplusStartupInput. 2007-08-06 12:22:02 +02:00
Francois Gouget d76b19abd9 gdiplus: Use the gdiplus type, REAL, rather than FLOAT. 2007-08-03 12:41:26 +02:00
Evan Stade 4c5486fe92 gdiplus: Implemented GdipLoadImageFromStreamICM. 2007-08-01 11:59:19 +02:00
Evan Stade e91d12454a gdiplus: Added GdipGetMetafileHeaderFromMetafile stub. 2007-08-01 11:59:18 +02:00
Evan Stade a4f238a117 gdiplus: Fix arc2polybezier. 2007-07-26 12:36:19 +02:00
Evan Stade 818051de2c gdiplus: Change atan2 to gdiplus_arctan2. 2007-07-23 12:11:43 +02:00
Evan Stade 69fa7457e5 gdiplus: Added GdipAddPathArc. 2007-07-12 14:48:05 +02:00
Francois Gouget 9012d4e72f Add API documentation stubs to make winapi_check happy. 2007-06-13 12:00:43 +02:00
Francois Gouget 3aebd595a8 gdiplus: Add missing '\n' in Wine trace. 2007-06-13 11:09:49 +02:00
Evan Stade 63bfd40f61 gdiplus: First pen implementation. 2007-06-12 11:19:07 +02:00
Evan Stade a781bbf096 gdiplus: Added beginnings of memory and startup functions. 2007-06-11 14:56:47 +02:00
Evan Stade bed761c9e7 gdiplus: Added stub implementation of gdiplus.dll. 2007-05-29 12:04:21 +02:00