Huw Davies
fddf5ce12c
Select the dibsection into a dc before calling GetDIBColorTable.
2004-03-30 20:38:45 +00:00
Mike McCormack
23d036719d
Move EMR*16 definitions to wingdi.h, as they're part of the WIN32 API.
2004-03-29 23:04:11 +00:00
Huw Davies
1614517776
Honour DIB_PAL_COLORS when the bitmap depths match.
2004-03-29 21:39:04 +00:00
Mike McCormack
4eaf41b535
Unicodify CreateMetaFile.
2004-03-29 20:27:18 +00:00
Huw Davies
89b6080152
When using DIB_PAL_COLORS select the current palette into the memory
...
dc so that SetDIBits works correctly.
2004-03-27 01:36:47 +00:00
Dmitry Timoshkov
21fc3c8067
CreateDIBSection takes a const pointer to BITMAPINFO.
2004-03-12 19:46:12 +00:00
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
Alexandre Julliard
83decd25ad
Changed the CreateDC driver entry point to use an HDC instead of a DC
...
pointer.
2004-03-04 06:26:11 +00:00
Alexandre Julliard
ebd24807fe
Pass the gdiFont object to the SelectFont driver entry point so that
...
we don't need to look into the DC structure for it.
2004-03-04 04:05:04 +00:00
Alexandre Julliard
8d18b2a518
Pass the breakExtra value in the ExtTextOut driver call, since there
...
is no function to retrieve it from the HDC.
2004-03-04 01:42:57 +00:00
Alexandre Julliard
45468c06df
Changed the GetTextExtentPoint graphics driver entry point to return
...
device coordinates.
Removed not used breakCount field in the DC structure.
2004-03-03 21:32:15 +00:00
Alexandre Julliard
cb4ecc878f
Implemented Get/SetBoundsRect based on a patch by Ken Belleau.
2004-03-03 05:29:44 +00:00
Ulrich Czekalla
6cc56740f5
Get the rectangle from the dc and uncomment PlayEnhMetaFile in
...
GetWinMetaFileBits.
2004-02-20 01:08:57 +00:00
Rein Klazes
8677fbf362
Add stub implementation for SetICMProfileA().
2004-02-20 01:08:16 +00:00
Alexandre Julliard
e04fe7da4e
Moved hGCClipRgn handling to the graphics driver.
2004-02-13 20:26:27 +00:00
Alexandre Julliard
d1f73181f8
Removed a couple of unused fields in the DC structure.
2004-02-13 04:06:37 +00:00
Huw Davies
2cd9ee9528
GetCharABCWidths returns the widths of unrotated glyphs like
...
GetCharWidth already does.
2004-02-12 20:05:47 +00:00
Jon Griffiths
783a39544b
Documentation fixes.
2004-02-09 20:47:42 +00:00
Rein Klazes
f20ce3b816
Fix MultiByteToWideChar and WideCharToMultiByte when called with code
...
page CP_SYMBOL.
Remove the symbol font from the code page table, so it is not reported
as a valid/supported/installed code page.
Remove workarounds for the badly behaved MultiByteToWideChar and co.
in a few places.
2004-01-20 22:39:06 +00:00
Alexandre Julliard
32f1ac3a66
Use the exported FONTENUMPROCW as parameter in the EnumDeviceFonts
...
driver function instead of defining a private function type.
2004-01-18 23:35:12 +00:00
Alexandre Julliard
b89525fb06
Removed the bitsPerPixel field in the generic DC structure, and leave
...
it up to the graphics driver to define it if necessary.
2004-01-18 22:20:17 +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
Alexandre Julliard
53145d96f6
Moved some code around to avoid exporting DIB functions from gdi32.
2004-01-13 23:31:46 +00:00
Vincent Béron
506ab8bcb0
Removed a W->A cross-call (CopyMetaFileW->CopyMetaFileA).
2004-01-13 04:54:45 +00:00
Vincent Béron
431a96f43a
Get rid of a W->A crosscall (ResetDCA->ResetDCW).
2004-01-13 01:06:44 +00:00
Mike Hearn
8e9267e267
Change GetTransform stub to use the standard FIXME rather than ERR.
2004-01-12 21:10:48 +00:00
Marcus Meissner
33a58ffa0f
xNum should be yNum in one place.
2004-01-06 00:37:05 +00:00
Vik Kumar
103f9893ca
Font changes from MS P Gothic to MS UI Gothic.
2003-12-12 05:59:14 +00:00
Dimitrie O. Paun
2eaefbd1a4
Move content of global.h into the appropriate private headers.
2003-12-08 21:58:55 +00:00
Andrew de Quincey
6dece12fde
Check brush style before printing FIXME.
2003-12-03 03:56:04 +00:00
Huw Davies
1025ff0c9b
Implement CopyEnhMetaFileW.
2003-12-01 22:42:56 +00:00
Richard Cohen
444f9212af
Added missing GDI_ReleaseObj() to GetDCBrushColor & GetDCPenColor.
2003-11-30 01:43:00 +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
Huw Davies
13d0c285ca
A bitmap created by CreateCompatibleBitmap should not be owned by a
...
driver until it is selected into it. The driver checks that the
bitmap is of the correct depth in SelectBitmap.
2003-11-18 00:03:51 +00:00
Phil Krylov
7e941c8388
Added support for returning caret positions in
...
GetCharacterPlacementW().
2003-11-18 00:03:27 +00:00
Alexandre Julliard
f9be2f3d21
Removed some unnecessary includes.
2003-11-17 20:31:29 +00:00
Huw Davies
2d00b08abd
Check for the existence of the driver CreateDIBSection before calling
...
it.
2003-11-14 03:30:18 +00:00
Aric Stewart
a33950456d
Convert lpnFit back to multibyte in GetTextExtentExPointA.
2003-11-13 20:51:30 +00:00
Aric Stewart
f0e20a6c16
An app depends on a NULL return from CreateDIBPatternBrushPt if data
...
is NULL.
2003-11-13 20:49:54 +00:00
Huw Davies
352b8bc9e8
Make sure we create a polychrome bitmap from the dib. CreateDIBitmap
...
doesn't do this when the dib is 1bpp and has a black/white colour
table. In such cases this resulted in a monochrome bitmap being
StretchBlt'ed which is clearly incorrect since we then start using
text and bkgnd colours.
2003-11-12 22:42:26 +00:00
Huw Davies
39f604b04f
If the buffer passed to GetOutlineTextMetrics isn't big enough then
...
Windows fills it upto the supplied size rather than returning an
error.
2003-11-11 20:39:54 +00:00
Huw Davies
47e9ad4dce
PatBlt()s get recorded as EMR_BITBLT records with offBmiSrc == 0, so
...
ensure that we pick these out in playback.
EMR_STRETCHBLT should behave like EMR_BITBLT if there are no bits
(ie. it's a PalBlt).
Set the text and bkgnd colour to black and white respectively before
enumerating an emf.
Print out the record names to make debugging easier.
Add a few TRACE()s.
2003-11-11 00:43:03 +00:00
Huw Davies
9959aca826
GetTextExtentPoint should include an inter character spacing set by
...
SetTextCharacterExtra.
2003-11-11 00:28:19 +00:00
Huw Davies
b0c790c691
Only reselect the font if the transformation has actually changed.
2003-11-11 00:27:48 +00:00
Huw Davies
d7a9d4bd2e
CreateDIBSection ignores the supplied values of biClrUsed and
...
biClrImportant and calculates them from biBitCount.
2003-11-11 00:27:10 +00:00
Vincent Béron
bd699e5edc
Implemented GetDCPenColor and GetDCBrushColor.
2003-11-05 23:25:37 +00:00
Ulrich Czekalla
16ff6689df
Implemented SetDCPenColor and SetDCBrushColor.
2003-11-05 01:43:57 +00:00
Dave Belanger
3156df8539
Get Wine to behave like Windows does when Bold and/or Italic is
...
specified in the typeface name argument to CreateFont.
2003-10-15 03:32:31 +00:00
Dave Belanger
aadf9efb86
In CreateDIBitmap, the fact that the bits init flag is set or not
...
doesn't have anything to do with the color state of the DIB.
2003-10-15 02:32:00 +00:00