Commit Graph

111 Commits

Author SHA1 Message Date
Alexandre Julliard 2776a97931 gdi32: Add explicit fields for the DC flags. 2012-04-10 16:21:23 +02:00
Alexandre Julliard fbbf3ba408 gdi32: Get rid of the CreateDIBSection driver entry point. 2012-01-10 16:13:29 +01:00
Alexandre Julliard 79691e7afa gdi32: Specify an initial allocation size for paths to avoid some reallocations. 2011-11-23 14:00:22 +01:00
Alexandre Julliard c2491ccc2d gdi32: Get rid of the Hungarian line noise in the gdi_path structure. 2011-11-23 13:37:14 +01:00
Alexandre Julliard aefb608752 gdi32: Get rid of the GdiPath typedef. 2011-11-23 13:32:22 +01:00
Alexandre Julliard ccc3b9caae gdi32: Get rid of the no longer needed path states. 2011-11-23 13:25:31 +01:00
Alexandre Julliard 2201d08834 gdi32: Only store the path in the DC when it's closed.
Open paths are stored only in the path physdev.
2011-11-23 13:24:12 +01:00
Alexandre Julliard a214a3c3da gdi32: Store a pointer to the path in the DC and make the path structure opaque. 2011-11-22 12:07:24 +01:00
Alexandre Julliard ddc9860a42 gdi32: Return a new path from PATH_WidenPath instead of replacing the DC path. 2011-11-22 12:07:18 +01:00
Alexandre Julliard f388827c8d gdi32: Return a new path from PATH_FlattenPath instead of replacing the DC path. 2011-11-22 12:05:35 +01:00
Alexandre Julliard ac1643caec gdi32: Return the region directly from PATH_PathToRegion. 2011-11-22 11:31:27 +01:00
Alexandre Julliard 7698b636e7 gdi32: Add helper functions for allocating and freeing paths. 2011-11-22 11:25:21 +01:00
Alexandre Julliard 26b1bfa52b gdi32: Use reallocs when growing a path instead of doing it by hand. 2011-11-22 11:23:53 +01:00
Alexandre Julliard 9391c6a757 gdi32: Add a CopyBitmap driver entry point. 2011-11-08 19:25:05 +01:00
Alexandre Julliard 95cba0c0f4 gdi32: Add a DC driver entry point for GdiGradientFill. 2011-10-31 23:51:38 +01:00
Alexandre Julliard 418424d362 gdi32: Add path entry points for functions that behave differently with an open path. 2011-10-28 13:18:42 +02:00
Alexandre Julliard e5db8969ac gdi32: Always start a new stroke when the path ends with a closed figure. 2011-10-28 13:18:23 +02:00
Alexandre Julliard e5ff45992e gdi32: Add a helper function to add multiple points at once to a path. 2011-10-28 13:18:10 +02:00
Alexandre Julliard fbafa45e84 gdi32: Pass a HDC instead of a DC pointer to internal path functions. 2011-10-28 13:07:52 +02:00
Alexandre Julliard c441d57452 gdi32: Implement the ExtTextOut entry point in the path driver. 2011-10-26 23:16:52 +02:00
Alexandre Julliard 613972efe5 gdi32: Implement the polyline entry points in the path driver. 2011-10-26 23:16:51 +02:00
Alexandre Julliard d4889bef47 gdi32: Implement the polygon entry points in the path driver. 2011-10-26 23:16:51 +02:00
Alexandre Julliard ac00dfc984 gdi32: Implement the Bezier entry points in the path driver. 2011-10-26 23:16:19 +02:00
Alexandre Julliard 4d9cc24128 gdi32: Implement the arc entry points in the path driver. 2011-10-26 20:10:00 +02:00
Alexandre Julliard f8040958f5 gdi32: Implement the Rectangle and RoundRect entry points in the path driver. 2011-10-26 20:05:24 +02:00
Alexandre Julliard 364e216462 gdi32: Add a helper function to start a new path stroke. 2011-10-26 20:02:10 +02:00
Alexandre Julliard fc5e29486d gdi32: Implement the LineTo entry point in the path driver. 2011-10-26 19:58:51 +02:00
Alexandre Julliard 2c1ec7fc3b gdi32: Implement the MoveTo entry point in the path driver. 2011-10-26 19:57:28 +02:00
Alexandre Julliard 8a7bf0a2ab gdi32: Push a path driver on the DC stack when a path is opened. 2011-10-26 19:53:22 +02:00
Alexandre Julliard 97a261d573 gdi32: Avoid directly modifying the cursor position in the DC structure in PolyDraw. 2011-10-26 19:47:27 +02:00
Alexandre Julliard ef34c47c4b gdi32: Move internal path functions to the top of the file to avoid forward declarations. 2011-10-26 14:14:32 +02:00
Alexandre Julliard f44c1e6533 gdi32/tests: Add tests for path open/closed states. 2011-10-26 12:41:56 +02:00
Andrew Talbot ee77f52163 gdi32: Mark a fall-through in a switch statement. 2011-09-30 10:30:29 -05:00
Alexandre Julliard c7a8ff26d3 gdi32: Graphics driver functions no longer need to be CDECL. 2011-07-13 14:56:12 +02:00
Alexandre Julliard 9c7b528b6f gdi32: Add null driver entry points for the path functions. 2011-03-11 20:43:15 +01:00
Huw Davies d92ed5bd07 gdi32: Add support for ETO_PDY and improve world transform support. 2010-05-06 15:24:30 +02:00
Huw Davies b5ca0a9c2a gdi32: Fix incorrect initialization of path array.
Found by Valgrind.
2009-12-02 14:19:54 +01:00
Massimo Del Fedele da6a94cd96 gdi32: Fix PATH_add_outline when mapping mode != MM_TEXT. 2009-03-31 16:43:05 +02:00
Massimo Del Fedele a11a450e33 gdi32: PATH_ExtTextOut remove incorrect shift to DC origin. 2009-03-31 16:43:04 +02:00
Massimo Del Fedele 23acdb7143 gdi32: Correctly handle space char on Path_ExtTextOut(). 2009-03-31 16:43:04 +02:00
Dmitry Timoshkov 44589c6f8f gdi32: The MAT2 parameter of GetGlyphOutline is mandatory. 2009-02-03 12:40:24 +01:00
Dmitry Timoshkov 1669b337e4 gdi32: Make PATH_AddEntry static. 2008-12-03 09:57:47 +01:00
Alexandre Julliard 00388c1b6a gdi32: Use atan2 to compute angles in WidenPath without triggering floating point errors. 2008-05-22 20:43:55 +02:00
Alexandre Julliard 93cbb7a5db gdi32: Perform coordinate transformations using doubles instead of floats to avoid precision loss. 2008-05-22 17:43:01 +02:00
Andrew Talbot c3c219c905 gdi32: Remove unused variable. 2008-04-17 20:18:29 +02:00
Laurent Vromman 52f769e88d gdi32: Correct a test where the tested function was not called. 2007-11-07 12:10:43 +01:00
Laurent Vromman 6f140f9bec gdi32: Add a test for CloseFigure. 2007-11-06 14:00:40 +01:00
Alexandre Julliard 0c4f81eefc gdi32: Don't hold the GDI lock while calling the driver path functions. 2007-09-24 18:16:29 +02:00
Alexandre Julliard 1476e34645 gdi32: Add separate functions for releasing/freeing DCs to replace the standard GDI ones.
This should make it possible to use a different locking mechanism for DCs.
2007-08-21 21:37:40 +02:00
Evan Stade 96937e04a2 gdi32: Added PATH_PolyDraw. 2007-07-17 14:12:37 +02:00
Misha Koshelev 859bf44c33 gdi32: Handle ArcTo in paths as native. 2007-06-21 16:03:29 +02:00
Misha Koshelev e04aebd654 gdi32: Allow arbitrary start entry types in PATH_DoArcPart, not just PT_MOVETOs. 2007-06-21 16:03:25 +02:00
Laurent Vromman 8b837bf8cb gdi32: Complete WidenPath implementation.
WidenPath now recognizes PS_JOINs and PS_ENCDAPs.
2007-05-02 14:58:49 +02:00
Laurent Vromman 932c6f5bdd gdi32: Correct WidenPath behaviour when working on an open path. 2007-04-03 13:00:24 +02:00
Laurent Vromman 525fd82366 gdi32: Correction of WidenPath behaviour when pen width is 1. 2007-04-03 13:00:09 +02:00
Francois Gouget 8d9fbef94f gdi32: Remove a space before '\n' in a trace. 2007-03-28 12:34:09 +02:00
Laurent Vromman aaf74d9f64 gdi32: WidenPath partial implementation. 2007-03-26 14:54:56 +02:00
Felix Nawothnig 7777a8eaf7 gdi32: Fix offset calculation in PATH_ExtTextOut for >1 chars. 2007-02-05 14:03:52 +01:00
Andrew Talbot d4fdeeaa46 gdi32: Remove unused function. 2007-01-09 12:01:50 +01:00
Alexandre Julliard 75b8f88875 gdi32: Get rid of the gdi.h include. 2006-11-17 14:52:07 +01:00
Alexandre Julliard 7dfc447741 gdi32: Renamed the gdi directory to gdi32. 2006-10-20 12:25:29 +02:00