Commit Graph

96 Commits

Author SHA1 Message Date
Michael Stefaniuc e70eb53669 wineps.drv: Use SetRect/SetRectEmpty instead of open coding them.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:11:51 +02:00
Michael Stefaniuc 148075b183 wineps.drv: Use wine_dbgstr_rect() to trace RECTs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 00:54:12 +09:00
Nikolay Sivov 7889b17425 gdi32: Added GetFontRealizationInfo() export. 2015-09-01 19:28:16 +09:00
Huw Davies 7c684cc81c wineps: Return 32 even for monochrome printers.
Returning 1 led to CreateCompatibleBitmap producing 1 bpp bitmaps, which is not correct.
2014-02-26 12:38:44 -06:00
Alexandre Julliard d7ddcdfca7 wineps.drv: Don't bother to free memory at process exit. 2013-05-17 12:29:06 +02:00
Dmitry Timoshkov ced916b9e7 wineps.drv: Add DEVMODE dumping to make debugging device state easier. 2013-02-11 12:31:22 +01:00
Huw Davies c22be15a98 wineps: Use a file mapping to read the ppd file. 2013-01-22 20:01:54 +01:00
Dmitry Timoshkov d7687bed6a wineps.drv: Don't cast away 'const' from DEVMODE provided as input. 2013-01-14 11:02:30 +01:00
Dmitry Timoshkov a3c832593c wineps.drv: Default page dimensions are part of DEVMODE, remove an old hack. 2013-01-14 11:02:23 +01:00
Dmitry Timoshkov d170f05ece wineps.drv: Ignore requested resolutions not supported by device. 2012-12-20 18:04:02 +01:00
Dmitry Timoshkov 671b977dd5 wineps.drv: Return ASPECTX/Y which represent current device resolution. 2012-12-18 12:36:12 +01:00
Dmitry Timoshkov 0cfc1c848f wineps.drv: Use device resolution specified at DC creation time. 2012-12-18 12:36:07 +01:00
Dmitry Timoshkov 1cd551cd6a wineps.drv: Update default DEVMODE to better indicate initialized fields. 2012-12-17 20:31:23 +01:00
Dmitry Timoshkov fd193bc781 wineps.drv: Add a trace to PSDRV_GetDeviceCaps. 2012-12-17 20:31:20 +01:00
Alexandre Julliard 05c32b9b89 gdi32: Move the SwapBuffers entry point to the OpenGL driver. 2012-09-10 11:38:28 +02:00
Alexandre Julliard 96e80c2623 gdi32: Move DescribePixelFormat and SetPixelFormat to the WGL driver. 2012-07-30 22:12:13 +02:00
Alexandre Julliard 6a9dcd51a2 gdi32: Remove the remaining OpenGL entry points from the DC driver. 2012-06-28 18:52:23 +02:00
Alexandre Julliard 7a031d9b92 opengl32: Add the concept of a WGL driver. 2012-06-28 14:37:31 +02:00
Alexandre Julliard ee21554893 gdi32: Remove OpenGL functions that don't use an HDC from the driver entry points. 2012-06-25 16:25:57 +02:00
Huw Davies 87292bb396 wineps: Always update the default devmode. 2012-06-21 18:56:29 +02:00
Huw Davies 5b71f7bbbc wineps: Add the ability to override the ppd file's default pagesize and duplex settings. 2012-06-21 18:56:23 +02:00
Huw Davies bdaddc4b7c wineps: Retrieve the ppd file from the driver directory. 2012-06-15 18:35:36 +02:00
Alexandre Julliard 93758c43fd gdi32: Remove the CreateBitmap and DeleteBitmap driver entry points. 2012-05-29 21:06:41 +02:00
Alexandre Julliard fdc4682e31 gdi32: Remove the CopyBitmap driver entry point. 2012-05-24 22:09:19 +02:00
Alexandre Julliard 147174ff1c winex11: Implement wglGetPbufferDCARB with a DC escape and remove it from the GDI driver interface. 2012-05-08 14:35:44 +02:00
Alexandre Julliard e94d3b4e08 gdi32: Add a priority mechanism for pushing drivers on the stack in a defined order. 2012-05-08 12:16:50 +02:00
Alexandre Julliard 3009e03df7 gdi32: Add a SetBoundsRect driver entry point. 2012-04-27 12:41:43 +02:00
Alexandre Julliard 582a2f511f gdi32: Add a GetBoundsRect driver entry point. 2012-04-16 13:53:23 +02:00
Huw Davies 72cfc219f0 wineps: Move ppd filename retrieval to a separate function. 2012-04-13 16:09:44 +02:00
Huw Davies 1d2cd06592 wineps: Move the default resolution fallback to the ppd parser. 2012-04-12 20:38:32 +02:00
Huw Davies 92bce60f37 wineps: Simplify the failure path. 2012-04-12 20:38:27 +02:00
Huw Davies 210f3e3338 wineps: Switch to using a Unicode devmode. 2012-04-12 20:38:16 +02:00
Huw Davies 43cffa0888 wineps: Set the printer's devmode using SetPrinter. 2012-04-11 18:19:28 +02:00
Huw Davies a7f42d3281 wineps: Retrieve the printer's devmode using GetPrinter. 2012-04-11 18:19:23 +02:00
Huw Davies 4ff9b7f11a wineps: Move the installed font list to a standard list. 2012-04-11 18:18:45 +02:00
Huw Davies 28bf93561d wineps: Add a helper to retrieve the font substitution table. 2012-04-04 19:02:23 +02:00
Huw Davies a2e6c7340d wineps: Change the printer info list into a standard list. 2012-04-04 19:02:18 +02:00
Huw Davies 7c3a522dd3 wineps: Store the unicode version of the printer name and call the unicode version of OpenPrinter. 2012-04-03 17:54:08 +02:00
Huw Davies a152666920 wineps: Store the document title as a unicode string. 2012-04-03 17:54:01 +02:00
Huw Davies c9ddabad22 wineps: Move some structs to the process heap. 2012-04-03 17:53:55 +02:00
Huw Davies 1432b3141a wineps: Free the output string from the correct heap. 2012-04-03 17:53:44 +02:00
Huw Davies d963a8f864 wineps: Use the unicode version of StartDocPrinter. 2012-04-02 18:26:06 +02:00
Alexandre Julliard fbbf3ba408 gdi32: Get rid of the CreateDIBSection driver entry point. 2012-01-10 16:13:29 +01:00
Alexandre Julliard dc1aeeb2f8 gdi32: Get rid of the SetDIBColorTable driver entry point. 2012-01-07 13:27:08 +01:00
Alexandre Julliard d77f0ae743 wineps: Inherit the device mode from the source DC when creating a compatible DC. 2011-12-16 12:08:38 +01:00
Alexandre Julliard d45eb00abc wineps: Fall through to the null driver for Polyline and Polygon. 2011-12-05 22:29:46 +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 c9c568dda9 wineps: Stroke and fill GDI paths using Postscript paths. 2011-10-31 19:58:12 +01:00
Alexandre Julliard da3511fd3b wineps: Implement PolyBezier using the Postscript curveto function. 2011-10-31 19:39:02 +01:00