Commit graph

160 commits

Author SHA1 Message Date
Alexandre Julliard
05df86a38f Moved more GDI definitions to gdi_private.h.
Get rid of bitmap.h and palette.h.
2004-03-04 20:41:12 +00:00
Jon Griffiths
783a39544b Documentation fixes. 2004-02-09 20:47:42 +00:00
Alexandre Julliard
6ec42c0c3b Moved a bunch of definitions from gdi.h into a new gdi_private.h to
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Vik Kumar
103f9893ca Font changes from MS P Gothic to MS UI Gothic. 2003-12-12 05:59:14 +00:00
Huw Davies
9e8ce63e2e Let enhmetafiles reuse gdi handles. This works by a dc 'registering'
with an object that it wants to know when the object is deleted. Until
the dc gets delete notification it's free to assume that it doesn't
need to write the create record for that object again.  Upon receiving
the delete notification it writes the DeleteObject record. Windows
seems to do it this way too.
2003-11-25 05:03:09 +00:00
Hiroshi Inoue
2d6a3fcc22 Fix the name of Japanese default GuiFont. 2003-11-25 00:05:58 +00:00
Ulrich Czekalla
16ff6689df Implemented SetDCPenColor and SetDCBrushColor. 2003-11-05 01:43:57 +00:00
Alexandre Julliard
e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
19b6a49845 Allocate DebugInfo field for all critical sections (based on a patch
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Mike McCormack
369116d911 When GetObject is called with a NULL pointer, return the object's
size.
2003-07-26 20:39:46 +00:00
Mike McCormack
399967c10d Implemented GdiComment for enhanced metafiles. 2003-05-21 18:28:49 +00:00
Alexandre Julliard
e1147baa00 Use a different magic for memory DCs and get rid of the DC_MEMORY
flag.
2003-05-13 23:56:12 +00:00
Rein Klazes
e8d7f24fc0 Allocate palette objects on the large gdi heap. 2003-01-21 19:27:59 +00:00
Alexandre Julliard
9169729b0b Merged font.h and path.h into gdi.h. Moved x11font.h to
dlls/x11drv. Removed a number of unnecessary #includes.
2002-12-03 19:18:41 +00:00
Alexandre Julliard
547cdc2b02 Made gdi compile with -DSTRICT. 2002-11-22 22:16:53 +00:00
Alexandre Julliard
6c428e5c07 Fixed a number of -DSTRICT issues. 2002-11-22 21:58:03 +00:00
Alexandre Julliard
fdd6db2384 Moved EnumObjects16, LineDDA16 and associated glue code to gdi16.c. 2002-10-18 23:33:41 +00:00
Alexandre Julliard
613ead7f0f Fixed some handle conversions in prevision of void* handles. 2002-10-04 00:27:10 +00:00
Alexandre Julliard
9842b19931 Make sure things still work if 16-bit dlls cannot be loaded. 2002-10-02 02:36:20 +00:00
Alexandre Julliard
1c4b5c40bf Moved a large number of 16-bit functions to a separate gdi16.c file. 2002-08-16 00:42:06 +00:00
Huw D M Davies
6b5aaa1162 DeleteObject() can fail if the object is a DC, however we've already
called GDI_ReleaseObj() so don't call it again.
2002-08-15 23:19:40 +00:00
Dmitry Timoshkov
5cd279aae4 Fixed the names of some stock fonts. 2002-06-13 23:59:53 +00:00
Won Kyu Park
c6228b36f9 Fixed defaultGuiFont for Korean. 2002-06-13 19:10:55 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard
d8a9244fc4 Added function table to GDI objects for better encapsulation.
Removed some direct accesses to the bitmap structure.
Fixed handling of stock bitmap if selected in multiple DCs.
Some minor fixes to the DC function table.
2002-05-31 18:43:22 +00:00
Alexandre Julliard
07439cd2d0 Removed dependencies on the internals of the region object.
Do not store the region type in the object, it's trivial to determine
from the rectangle count.
Rewrote a few routines to not depend on internal clipping or region
functions.
2002-05-25 22:16:12 +00:00
Alexandre Julliard
7ac10d5007 Fixed vis region handling broken by last change. 2002-05-07 18:30:19 +00:00
Alexandre Julliard
92b376d61d Moved parts of the DC initialisation and bitmap selection out of the
drivers into the common code.
2002-05-07 02:08:46 +00:00
Huw D M Davies
afd519be0e Fix a few font problems with rotated text and non MM_TEXT mapping
modes. Do slightly better with the FF_ flags in WineEngGetTextMetrics.
2002-04-03 21:06:09 +00:00
Alexandre Julliard
e21c15e39d Changed the GDI driver interface to pass an opaque PHYSDEV pointer
instead of a DC structure.
Removed some direct accesses to the DC structure from the drivers.
Got rid the bitmap driver.
2002-03-28 22:22:05 +00:00
Hidenori Takeshima
44f1a98c04 Added default stock objects for known non-US charsets. 2002-03-20 00:51:26 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andreas Mohr
f16b401e28 Various cosmetic changes. 2002-02-27 21:34:54 +00:00
Alexandre Julliard
18d7573c5e Authors: Huw D M Davies <hdavies@codeweavers.com>, Charles Loep <charles@codeweavers.com>
Various fixes for gdi font handling code including:
- Using TTs VDMX table to ensure that we get exactly that same size
  font that Windows uses.
- Fixes to many members of the metrics structures.
- Font cache.
- Rotated text support.
- Support for GGO_GRAY?_BITMAP (ready for anti-aliased text).
- Support for GGO_NATIVE.
2002-01-29 03:02:50 +00:00
Patrik Stridvall
19d66cc1f6 Fixed some issues found by winapi_check. 2002-01-07 21:16:46 +00:00
Alexandre Julliard
d7b76822ef Use MapLS/UnMapLS instead of SEGPTR_* macros. 2001-12-20 00:19:40 +00:00
Alexandre Julliard
ed29c905a8 Changed 16-bit GDI Enum* functions to not use thunks, now that 16-bit
Winelib is no longer supported.
2001-12-17 21:01:58 +00:00
Andreas Mohr
cf67b00a6a Added stub for GdiInit2(). 2001-09-20 19:32:39 +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
89b415f76a Check for valid object in GDI_GetObjPtr even for MAGIC_DONTCARE. 2001-08-27 19:10:06 +00:00
Uwe Bonnes
8e5e003f09 Added reference counting and delayed destruction of GDI objects. 2001-08-20 19:17:28 +00:00
Gerard Patel
4bd80eaa5f Test for invalid large handles in GDI_GetObjPtr and GDI_FreeObject. 2001-08-18 16:08:27 +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
e811f9c353 Specify sizes for stock fonts again; removed the FixStockFontSize
hack. Ignore mapping modes when selecting stock fonts into a DC.
Removed a few direct accesses to GDI structures from x11drv.
2001-08-16 19:13:52 +00:00
Alexandre Julliard
301df6b5cd Added names to standard critical sections (suggested by Andreas
Mohr).
2001-08-16 18:12:56 +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
Patrik Stridvall
e9782fa1fc Documentation fixes. 2001-07-12 22:33:51 +00:00
Patrik Stridvall
044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall
01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall
17fd4e3816 Documentation name fixes. 2001-06-28 18:04:41 +00:00