François Gouget
1425941e29
Fix the #include order for config.h.
...
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Huw D M Davies
814654ef9f
Lay down the infrastructure for gdi font rendering.
...
Partial implementation of GetGylphOutline and GetOutlineTextMetrics
for gdi fonts.
2001-09-12 20:21:06 +00:00
Alexandre Julliard
78f9fae706
Create GDI stock objects as normal objects instead of using magic
...
handle values.
2001-08-17 00:07:13 +00:00
Alexandre Julliard
658cdb4412
Make sure we don't hold the GDI lock when loading drivers.
2001-08-15 23:33:20 +00:00
Alexandre Julliard
9208301d16
Rewrote Escape to avoid calling down to Escape16.
...
Replaced Escape by ExtEscape in the DC function table.
2001-07-29 20:25:14 +00:00
Alexandre Julliard
99bb9f9775
Added GetDeviceCaps to the DC driver interface. Removed devCaps
...
pointer in the generic DC structure.
2001-07-28 00:18:02 +00:00
Alexandre Julliard
3dd63eb2ad
Build the DC function table by using GetProcAddress on the graphics
...
driver module. Moved driver support to dlls/gdi.
2001-07-27 19:37:31 +00:00
Alexandre Julliard
e6c0642e79
Removed enhmetafile.h. Simplified ENHMETAFILEOBJ structure a bit.
2001-07-24 22:15:47 +00:00
Alexandre Julliard
6bbc745dde
Moved the 16-bit pointer to the DIB bits out of the driver-specific
...
structure and into the main bitmap structure. Removed
CreateDIBSection16 from the driver interface.
2001-07-22 23:13:08 +00:00
Ian Pilcher
5a4ecdbdf4
Fixed typo in INTERNAL_YWSTODS.
2001-06-06 20:21:02 +00:00
Ove Kaaven
27398d4966
Implemented Get/SetDeviceGammaRamp.
2001-03-20 01:55:18 +00:00
Huw D M Davies
39f54283fc
Moved GetTextMetrics to unicode.
2001-03-16 16:43:14 +00:00
Huw D M Davies
2aa85eed18
Change FONTOBJ to use LOGFONTW rather than LOGFONT16.
...
Updated parameters of DEVICEFONTENUMPROC.
2001-02-14 22:56:38 +00:00
Eric Kohl
08936ff97a
Partial implementation of world transform support.
2001-01-24 19:38:11 +00:00
Alexandre Julliard
db0747d095
Removed some unnecessary includes.
...
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Patrik Stridvall
d3534c3957
Optimized {,p}MoveTo{,Ex}{,16}.
2000-11-05 03:28:18 +00:00
Alexandre Julliard
2239abb9f9
Allocate DC objects on the process heap, and removed WIN_DC_INFO
...
structure (based on a patch by Ken Coleman).
2000-11-05 02:05:07 +00:00
Andreas Mohr
007fb24088
Added support for non-deletable system brushes and pens created by
...
USER.
2000-09-16 20:53:51 +00:00
Alexandre Julliard
2ad1a94d28
Backed out font codepage change.
2000-08-25 21:35:11 +00:00
Hidenori Takeshima
7901c0b505
Handle the codepage of fonts if supported by the graphics driver.
2000-08-20 20:08:35 +00:00
Alexandre Julliard
2a2321bbca
Authors: Alexandre Julliard <julliard@codeweavers.com> (for Corel), Albert den Haan <albertd@corel.com>
...
Added syslevel locking for GDI operations.
Propagate the changes through the graphics code.
2000-08-19 21:38:55 +00:00
Alexandre Julliard
b0efe28f6c
Removed a few dependencies on GDI internals from USER dll.
2000-08-04 04:18:04 +00:00
Francois Gouget
ae41e8c804
Reordered the CALLBACK and WINAPI directives so that it compiles with
...
old g++ versions.
2000-06-11 20:07:58 +00:00
Lionel Ulmer
bedf40b58b
Added support for OpenGL.
2000-05-12 20:18:14 +00:00
Ove Kaaven
8b9f33851a
Added DIB_CreateDIBSection with extra parameter ovr_pitch, added
...
ovr_pitch to pCreateDIBSection in DC_FUNCS. If ovr_pitch is nonzero,
it is a pitch override (specifies bytes per line), and tells to treat
the offset parameter as an already-mapped virtual memory address (if
the section parameter is zero). Fixed a DIB status init bug in
creating DIB sections from file mappings (if created from mapping, the
DIB is *not* really InSync).
2000-04-29 16:47:07 +00:00
Alexandre Julliard
07e4213642
Added GetDCOrgEx in graphics device interface and removed X11 code
...
from dc.c.
2000-03-19 21:19:21 +00:00
Matthew Cline
20512fd854
GetObjectA() now rejects GDI handles which are invalid.
2000-02-13 16:00:17 +00:00
Gerard Patel
d1795f674c
Avoid deleting of the default 1x1 bitmap for memory DCs.
2000-01-09 20:52:53 +00:00
Huw D M Davies
c553924ddd
Move DCFuncs ExtTextOut and GetTextExtentPoint to Unicode.
...
Map a few Unicode chars to the first 0xff in psdrv.
Don't expect x11drv to display Unicode chars yet.
1999-12-26 00:47:03 +00:00
Huw D M Davies
b8e94b6119
Move Bezier code out of x11drv into commmon GDI code; if any driver
...
does not implement PolyBezier[To] the curve is approximated to lines
and drawn with Polyline.
Implement many GDI-Path recording functions (at least the win9x subset).
Implement FlattenPath and FillPath.
1999-12-20 04:14:48 +00:00
Huw D M Davies
f0f8da5870
Fixes several bugs in gdi path handling.
...
Adds *Path functions to dc funcs table + add EnhMetaFile recording.
Separate out Polylne/PolylineTo and PolyBezier/PolyBezierTo in dc
funcs table to enable proper enhmetafile recording.
The current position update in *To functions is now handled by the
main function and not in the drivers.
Move USER functions from graphics/painting.c -> windows/painting.c
1999-12-05 23:54:02 +00:00
Ulrich Czekalla
e6ab9d308a
Make sure that all calls use the extended structures which are a
...
superset of the regular structures.
1999-10-24 17:26:45 +00:00
Francis Beaudet
ec09a400a7
DPtoLP needs to round the result.
...
Fixed MulDiv to deal better with negative numbers.
1999-09-27 11:44:01 +00:00
Ulrich Weigand
f86aab84ba
DC hook proc thunk management simplified.
1999-09-20 18:47:14 +00:00
Huw D M Davies
304d9a4737
Change interfaces to THUNK_Alloc/Free slightly and make them non-static.
...
Remove relays for win16drv from CallBack table, instead use build to
generate them directly in graphics/win16drv/prtdrv.c.
If Printer AbortProc is 16bit then allocate thunk and store that as a
32bit proc in DC. Setting of abortprocs now done in the correct place
(i.e. not in the driver).
1999-09-13 15:15:45 +00:00
Huw D M Davies
fd24362356
Winspool DocumentProperties and DeviceCapabilities should now work on
...
native 16 bit drivers.
1999-09-10 14:38:19 +00:00
Huw D M Davies
d016b0a02d
Implement handling of 32 bit AbortProc.
1999-07-24 12:09:34 +00:00
Huw D M Davies
e39b676ae9
Implement DocumentProperties, DeviceCapabilities, beginnings of
...
Open/Get/ClosePrinter. Additions to PSDRV_DeviceCapabilities.
Split off WINSPOOL into its own directory.
Several functions added to DC_Funcs.
Based largely on a patch by Pascal Lessard <pascal@macadamian.com>
1999-05-17 16:20:51 +00:00
Huw D M Davies
a9f55c46c1
Split off wingdi16.h from wingdi.h. Add many more #defines/typedefs
...
to bring wingdi.h almost upto a complete NT4.0 interface.
Fix return value of SetRectRgn().
1999-05-08 12:45:18 +00:00
Huw D M Davies
7603deae21
General tidy up of the MetaFile driver - make sure that everything
...
goes through the DCFuncs table.
1999-04-25 09:24:23 +00:00
Patrik Stridvall
b87fe2e9bf
More code moved to the X11 driver (bitmap and palette and misc).
1999-04-01 08:16:08 +00:00
Jim Aston
2e1cafa288
Renamed wintypes.h to windef.h.
1999-03-14 16:35:05 +00:00
Alexandre Julliard
a396029270
Large-scale renaming of all Win32 functions and types to use the
...
standard Windows names.
1999-02-26 11:11:13 +00:00
David Luyer
18052c7727
Added __attribute__ ((unused)) on static inline functions declared in
...
header files.
1999-02-25 18:02:53 +00:00
Marcus Meissner
317af320cf
Optimized include/*.h: (recursively) include all headers needed by
...
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Alexandre Julliard
8da12c43a9
Group commit for recovery after disk crash.
...
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Huw D M Davies
d6a91b7a74
Move OEM resources to the x11drv.
1998-12-02 10:29:04 +00:00
Huw D M Davies
9c68faadab
Remove X_DC_INFO from DC and make it behave like any other PDEVICE.
1998-11-25 12:36:03 +00:00
François Gouget
241c730d54
Fixed some LPPOINT/LPSIZE mismatches and some missing "const" in the
...
headers prototypes.
1998-10-28 10:47:09 +00:00
Huw D M Davies
87f87bf61c
Added pBitmapBits and pCreateBitmap to the GDI function table and
...
moved the X11 dependent stuff out of objects/bitmap.c into x11drv.
1998-10-28 09:53:53 +00:00