Commit Graph

297 Commits

Author SHA1 Message Date
Alexandre Julliard 93758c43fd gdi32: Remove the CreateBitmap and DeleteBitmap driver entry points. 2012-05-29 21:06:41 +02:00
Alexandre Julliard 1416d0e6f1 gdi32: Remove the bitmap parameter from the Get/PutImage entry points. 2012-05-29 21:05:52 +02:00
Alexandre Julliard fdc4682e31 gdi32: Remove the CopyBitmap driver entry point. 2012-05-24 22:09:19 +02:00
Huw Davies c5697ff4b1 wineps: Fix top-down dib pattern brushes. 2012-05-17 17:44:25 +02:00
Huw Davies e6398a5544 wineps: Add a helper to perform duplex lookup by name. 2012-05-16 18:30:26 +02:00
Huw Davies cd770d907a wineps: Use the get_pagesize helper to look up the default pagesize. 2012-05-16 18:30:25 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +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
Huw Davies 7af7c7869e wineps: Add a cups job ticket containing pagesize and duplex information. 2012-04-16 17:49:29 +02:00
Huw Davies 64edac40ef wineps: Add a helper to find a duplex entry. 2012-04-16 17:49:28 +02:00
Huw Davies 44d880b430 wineps: Add a helper to find a page size. 2012-04-16 17:49:28 +02:00
Huw Davies 61efdbfd5f wineps: Add a helper to find an input slot. 2012-04-16 17:49:27 +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 cd83f88576 wineps: Add the duplex entry to the list. 2012-04-13 16:09:43 +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 83ba3189b3 wineps: Pass the devmode to OpenPrinter. 2012-04-12 20:38:21 +02:00
Huw Davies 210f3e3338 wineps: Switch to using a Unicode devmode. 2012-04-12 20:38:16 +02:00
Huw Davies 0c7a6d89a2 wineps: Return from a common point. 2012-04-12 20:38:02 +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 7b3ae93578 wineps: Remove the installed options list as it's never populated. 2012-04-11 18:19:16 +02:00
Huw Davies 5a0129c0d2 wineps: Move the duplex list to a standard list. 2012-04-11 18:19:12 +02:00
Huw Davies e6e42c8610 wineps: Move the input slot list to a standard list. 2012-04-11 18:19:00 +02:00
Huw Davies 4dfef2ef2d wineps: Move the constraints list to a standard list. 2012-04-11 18:18:52 +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 a37ee1e2e9 wineps: Fix a memory leak. 2012-04-04 19:02:12 +02:00
Huw Davies e31cfb0be1 wineps: Move some allocations to the process heap. 2012-04-04 19:02:08 +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 061b8c4094 wineps: Convert path points to device coords since GetPath returns logical coords. 2012-02-22 16:04:09 +01: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 cc9836bda0 gdi32: Pass a brush_pattern structure to the SelectPen entry point for brushed pens. 2011-12-30 11:04:29 +01:00
Alexandre Julliard f85bb35280 gdi32: Pass a brush_pattern structure to the SelectBrush entry point. 2011-12-30 11:04:26 +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
Pierre Schweitzer 0652bbc3d5 wineps.drv: Fix memory leak. 2011-12-07 17:49:59 +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 62cf70d363 wineps: Don't crash on missing loca OTF table. 2011-11-26 16:29:50 +01:00
Alexandre Julliard 6b5cfe2c47 wineps: Convert dialogs to po files. 2011-11-17 22:47:36 +01:00
Alexandre Julliard 4801b91fd6 wineps: Print a fixme for unhandled composite glyph scaling. 2011-11-15 19:37:32 +01:00
Alexandre Julliard 9391c6a757 gdi32: Add a CopyBitmap driver entry point. 2011-11-08 19:25:05 +01:00
Alexandre Julliard 0a189ffaf0 wineps: Use the brush information passed in SelectBrush for pattern brushes. 2011-11-07 20:31:49 +01:00
Alexandre Julliard 29295e98e6 wineps: Fix the font escapement when coordinates are being mirrored. 2011-11-04 16:08:29 +01:00
Alexandre Julliard 24ac8c66bb gdi32: Pass the full brush contents in the SelectBrush driver entry point. 2011-11-02 21:41:15 +01:00
Alexandre Julliard 6bf6575c5c gdi32: Store a pointer instead of a global handle for DIB pattern brushes. 2011-11-02 12:02:27 +01:00
Alexandre Julliard 2cf3975dfc wineps: Fix a couple of typos in the path painting function.
Thanks to Octavian Voicu.
2011-11-01 21:10:13 +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
Alexandre Julliard e5f21b952f wineps: PaintRgn should leave the path empty on exit. 2011-10-31 16:46:00 +01:00
Alexandre Julliard 8a808a49f9 wineps: Make color devices report 32 bits per pixel. 2011-10-31 16:45:48 +01:00
Alexandre Julliard dd3721c0f9 wineps: Fix the output of indexed bitmaps in PutImage. 2011-10-28 23:07:45 +02:00
Alexandre Julliard a8444d7fd1 gdi32: Add driver entry points for a number of font functions. 2011-10-24 23:45:37 +02:00
Alexandre Julliard 2b1b11d681 gdi32: Rename the EnumDeviceFonts entry point to EnumFonts since it's not limited to device fonts. 2011-10-24 23:34:33 +02:00
Alexandre Julliard cbd81d391c gdi32: Implement EnumDeviceFonts as a standard driver entry point. 2011-10-24 23:34:28 +02:00
Alexandre Julliard f1faeb0f28 wineps: Add support for PS_USERSTYLE pens. 2011-10-21 16:38:39 +02:00
Alexandre Julliard c66b611205 wineps: Chain to the next driver when not using a device font. 2011-10-20 13:22:11 +02:00
Alexandre Julliard ef0fe44327 gdi32: Implement SelectFont as a standard driver entry point. 2011-10-19 18:22:05 +02:00
Alexandre Julliard 2dfa00230d wineps: Get rid of the StretchDIBits entry point. 2011-10-17 20:12:59 +02:00
André Hentschel ef5f3c1676 wineps.drv: Print the commands in decimal. 2011-10-11 13:37:49 +02:00
Huw Davies f24b0a80f3 wineps: The truetype metrics should now be obtained from gdi32, so remove obsolete code. 2011-10-10 16:46:42 +02:00
Alexandre Julliard c819e4bdea gdi32: Add a null driver fallback for AlphaBlend, using a new BlendImage driver entry point. 2011-09-14 11:57:45 +02:00
Alexandre Julliard a28ddddcbc gdi32: Leave it up to the driver to push the new device on the DC stack in CreateDC. 2011-09-07 18:13:29 +02:00
Alexandre Julliard cef1832bfb gdi32: Add a driver entry point for CreateCompatibleDC. 2011-09-07 18:13:06 +02:00
Alexandre Julliard a0f1b20464 gdi32: Make the BITMAPINFO parameters non-const in driver entry points since we are always passing a copy. 2011-09-02 15:56:01 +02:00
Alexandre Julliard 6fd40e3cae wineps: Simplify the DIB byte width computation. 2011-08-29 12:08:21 +02:00
Francois Gouget 3704821417 wineps.drv: Make PSDRV_WriteRGB() static. 2011-08-23 16:53:56 +02:00
Huw Davies 39f14b68bf wineps: Don't write a PostScript trailer if we haven't written a header. 2011-08-22 16:14:35 +02:00
Alexandre Julliard d0d98046c6 gdi32: Create a sanitized BITMAPINFO in StretchDIBits and pass that to the drivers. 2011-08-04 18:23:00 +02:00
Alexandre Julliard 6d00196aea gdi32: Get rid of the SetBitmapBits driver entry point. 2011-08-03 14:15:47 +02:00
Alexandre Julliard 366174b213 gdi32: Get rid of the GetBitmapBits driver entry point. 2011-07-25 20:32:41 +02:00
Alexandre Julliard 8a906250eb gdi32: Get rid of the SetDIBits driver entry point. 2011-07-25 19:47:03 +02:00
Alexandre Julliard 0f9ee1b68f wineps: Implement the additional clipping in PutImage. 2011-07-22 12:57:18 +02:00
Alexandre Julliard 0d9dde7953 gdi32: Add an optional clip region to the PutImage entry point. 2011-07-21 18:49:47 +02:00
Alexandre Julliard 209578aeab wineps: Implement the PutImage entry point. 2011-07-21 15:43:31 +02:00
Alexandre Julliard 632391dbf4 wineps: Add a couple of helper functions to simplify the StretchDIBits implementation. 2011-07-21 15:36:39 +02:00
Alexandre Julliard 49cb530ee3 wineps: Remove unneeded GetTransform prototype. 2011-07-19 18:26:20 +02:00
Alexandre Julliard b01eb19511 gdi32: Remove the GetDIBits entry point from the graphics driver. 2011-07-18 17:07:51 +02:00
Francois Gouget e33e31a7d6 wineps.drv: Make some DC functions static. 2011-07-14 14:48:13 +02:00
Alexandre Julliard cf05fca878 gdi32: Add driver entry points for GetImage and PutImage. 2011-07-14 11:30:58 +02:00
Alexandre Julliard c7a8ff26d3 gdi32: Graphics driver functions no longer need to be CDECL. 2011-07-13 14:56:12 +02:00
Alexandre Julliard 572d0863b1 wineps: Add a DC function structure and export it. 2011-07-13 14:05:13 +02:00
Alexandre Julliard 1ac1d7c69b gdi32: Pass the dest visible rectangle to the PatBlt driver entry point. 2011-07-11 17:12:49 +02:00
Alexandre Julliard b49aaf1fed wineps.drv: Use the HDC from the gdi_physdev structure. 2011-07-07 14:46:15 +02:00
Alexandre Julliard 10dcba499f wineps.drv: Pass a generic PHYSDEV to all graphics functions. 2011-07-07 14:46:14 +02:00
Alexandre Julliard ba2a6ee983 wineps.drv: Get rid of the empty SetDeviceClipping entry point. 2011-07-07 14:46:14 +02:00
Alexandre Julliard 4e2a28bd03 gdi32: Export the gdi_physdev structure for the external drivers. 2011-07-07 14:46:14 +02:00
Marcus Meissner 451a656f2f wineps.drv: Mark internal symbols with hidden visibility. 2011-05-25 11:50:27 +02:00
Alexandre Julliard ca3b820227 wineps: Add a helper function for paper size conversions. 2011-04-28 20:59:27 +02:00
Francois Gouget 0377d0a2e6 wineps.drv: PSDRV_YWStoDS() is unused so remove it. 2011-03-30 18:23:37 +02:00
Alexandre Julliard 9285915720 wineps: Add support for SetDCBrush/PenColor. 2011-03-10 20:45:12 +01:00