201 TRACE(
"record %d, size %d %s\n",
215 if (
len > nEmfSize) {
216 nEmfSize += (nEmfSize / 2) + emr->
nSize;
218 if (!emh)
return FALSE;
315 static const WCHAR displayW[] = {
'D',
'I',
'S',
'P',
'L',
'A',
'Y',0};
422 TRACE(
"returning %p\n", physDev->
dev.hdc);
448 if (
dc->refcount != 1)
450 FIXME(
"not deleting busy DC %p refcount %u\n",
hdc,
dc->refcount );
501 TRACE(
"hMapping = %p\n", hMapping );
503 TRACE(
"view = %p\n", physDev->
emh );
static POBJECT_TYPE GetObjectType(IN PCWSTR TypeName)
ACPI_SIZE strlen(const char *String)
static const char * wine_dbgstr_rect(const RECT *prc)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define INVALID_HANDLE_VALUE
#define HeapFree(x, y, z)
#define MultiByteToWideChar
static const WCHAR descriptionW[]
BOOL WINAPI WriteFile(IN HANDLE hFile, IN LPCVOID lpBuffer, IN DWORD nNumberOfBytesToWrite OPTIONAL, OUT LPDWORD lpNumberOfBytesWritten, IN LPOVERLAPPED lpOverlapped OPTIONAL)
HBITMAP EMFDRV_SelectBitmap(WINEDC *dc, HBITMAP hbitmap)
BOOL EMFDRV_PatBlt(WINEDC *dc, INT left, INT top, INT width, INT height, DWORD rop)
BOOL EMFDRV_FrameRgn(WINEDC *dc, HRGN hrgn, HBRUSH hbrush, INT width, INT height)
BOOL EMFDRV_PolyBezier(WINEDC *dc, const POINT *pts, DWORD count)
BOOL EMFDRV_InvertRgn(WINEDC *dc, HRGN hrgn)
BOOL EMFDRV_Ellipse(WINEDC *dc, INT left, INT top, INT right, INT bottom)
BOOL EMFDRV_StrokeAndFillPath(WINEDC *dc)
BOOL EMFDRV_Pie(WINEDC *dc, INT left, INT top, INT right, INT bottom, INT xstart, INT ystart, INT xend, INT yend)
BOOL EMFDRV_Arc(WINEDC *dc, INT left, INT top, INT right, INT bottom, INT xstart, INT ystart, INT xend, INT yend)
BOOL EMFDRV_ArcTo(WINEDC *dc, INT left, INT top, INT right, INT bottom, INT xstart, INT ystart, INT xend, INT yend)
BOOL EMFDRV_Rectangle(WINEDC *dc, INT left, INT top, INT right, INT bottom)
BOOL EMFDRV_FillRgn(WINEDC *dc, HRGN hrgn, HBRUSH hbrush)
BOOL EMFDRV_LineTo(WINEDC *dc, INT x, INT y)
COLORREF EMFDRV_SetPixel(WINEDC *dc, INT x, INT y, COLORREF color)
BOOL EMFDRV_GradientFill(WINEDC *dc, TRIVERTEX *vert_array, ULONG nvert, void *grad_array, ULONG ngrad, ULONG mode)
BOOL EMFDRV_PolylineTo(WINEDC *dc, const POINT *pt, INT count)
BOOL EMFDRV_StrokePath(WINEDC *dc)
BOOL EMFDRV_PolyPolygon(WINEDC *dc, const POINT *pt, const INT *counts, UINT polys)
INT EMFDRV_StretchDIBits(WINEDC *dc, INT x_dst, INT y_dst, INT width_dst, INT height_dst, INT x_src, INT y_src, INT width_src, INT height_src, const void *bits, BITMAPINFO *info, UINT wUsage, DWORD dwRop)
BOOL EMFDRV_PolyBezierTo(WINEDC *dc, const POINT *pts, DWORD count)
INT EMFDRV_SetDIBitsToDevice(WINEDC *dc, INT x_dst, INT y_dst, DWORD width, DWORD height, INT x_src, INT y_src, UINT startscan, UINT lines, const void *bits, BITMAPINFO *info, UINT usage)
BOOL EMFDRV_Chord(WINEDC *dc, INT left, INT top, INT right, INT bottom, INT xstart, INT ystart, INT xend, INT yend)
BOOL EMFDRV_PolyDraw(WINEDC *dc, const POINT *pts, const BYTE *types, DWORD count)
BOOL EMFDRV_ExtTextOut(WINEDC *dc, INT x, INT y, UINT flags, const RECT *lprect, LPCWSTR str, UINT count, const INT *lpDx)
BOOL EMFDRV_FillPath(WINEDC *dc)
BOOL EMFDRV_RoundRect(WINEDC *dc, INT left, INT top, INT right, INT bottom, INT ell_width, INT ell_height)
BOOL EMFDRV_PolyPolyline(WINEDC *dc, const POINT *pt, const DWORD *counts, UINT polys)
HANDLE NTAPI CreateFileMappingA(IN HANDLE hFile, IN LPSECURITY_ATTRIBUTES lpFileMappingAttributes, IN DWORD flProtect, IN DWORD dwMaximumSizeHigh, IN DWORD dwMaximumSizeLow, IN LPCSTR lpName)
#define GDI_PRIORITY_GRAPHICS_DRV
BOOL WINAPI SetVirtualResolution(HDC hdc, DWORD horz_res, DWORD vert_res, DWORD horz_size, DWORD vert_size)
void GDI_hdc_not_using_object(HGDIOBJ obj, HDC hdc) DECLSPEC_HIDDEN
void release_dc_ptr(DC *dc) DECLSPEC_HIDDEN
DC * alloc_dc_ptr(WORD magic) DECLSPEC_HIDDEN
void free_dc_ptr(DC *dc) DECLSPEC_HIDDEN
DC * get_dc_ptr(HDC hdc) DECLSPEC_HIDDEN
GLuint GLsizei GLsizei * length
#define memcpy(s1, s2, n)
static const WCHAR filenameW[]
static const WCHAR displayW[]
static const unsigned char enhmetafile[]
#define FIELD_OFFSET(t, f)
BOOL EMFDRV_StretchBlt(PHYSDEV devDst, struct bitblt_coords *dst, PHYSDEV devSrc, struct bitblt_coords *src, DWORD rop)
BOOL EMFDRV_OffsetWindowOrgEx(PHYSDEV dev, INT x, INT y, POINT *pt)
BOOL EMFDRV_ModifyWorldTransform(PHYSDEV dev, const XFORM *xform, DWORD mode)
BOOL EMFDRV_EndPath(PHYSDEV dev)
INT EMFDRV_SaveDC(PHYSDEV dev)
BOOL EMFDRV_AbortPath(PHYSDEV dev)
BOOL EMFDRV_CloseFigure(PHYSDEV dev)
BOOL EMFDRV_SetTextJustification(PHYSDEV dev, INT nBreakExtra, INT nBreakCount)
INT EMFDRV_SetArcDirection(PHYSDEV dev, INT arcDirection)
COLORREF EMFDRV_SetBkColor(PHYSDEV dev, COLORREF color)
INT EMFDRV_SetMapMode(PHYSDEV dev, INT mode)
DWORD EMFDRV_SetLayout(PHYSDEV dev, DWORD layout)
INT EMFDRV_IntersectClipRect(PHYSDEV dev, INT left, INT top, INT right, INT bottom)
UINT EMFDRV_SetTextAlign(PHYSDEV dev, UINT align)
BOOL EMFDRV_SetViewportExtEx(PHYSDEV dev, INT cx, INT cy, SIZE *size)
BOOL EMFDRV_FlattenPath(PHYSDEV dev)
BOOL EMFDRV_SelectClipPath(PHYSDEV dev, INT iMode)
BOOL EMFDRV_SetWindowExtEx(PHYSDEV dev, INT cx, INT cy, SIZE *size)
INT EMFDRV_ExtSelectClipRgn(PHYSDEV dev, HRGN hrgn, INT mode)
INT EMFDRV_SetPolyFillMode(PHYSDEV dev, INT mode)
BOOL EMFDRV_SetWorldTransform(PHYSDEV dev, const XFORM *xform)
BOOL EMFDRV_RestoreDC(PHYSDEV dev, INT level)
BOOL EMFDRV_ScaleWindowExtEx(PHYSDEV dev, INT xNum, INT xDenom, INT yNum, INT yDenom, SIZE *size)
DWORD EMFDRV_SetMapperFlags(PHYSDEV dev, DWORD flags)
INT EMFDRV_SetStretchBltMode(PHYSDEV dev, INT mode)
INT EMFDRV_ExcludeClipRect(PHYSDEV dev, INT left, INT top, INT right, INT bottom)
BOOL EMFDRV_BeginPath(PHYSDEV dev)
BOOL EMFDRV_ScaleViewportExtEx(PHYSDEV dev, INT xNum, INT xDenom, INT yNum, INT yDenom, SIZE *size)
BOOL EMFDRV_SetViewportOrgEx(PHYSDEV dev, INT x, INT y, POINT *pt)
BOOL EMFDRV_OffsetViewportOrgEx(PHYSDEV dev, INT x, INT y, POINT *pt)
BOOL EMFDRV_WidenPath(PHYSDEV dev)
INT EMFDRV_SetBkMode(PHYSDEV dev, INT mode)
INT EMFDRV_OffsetClipRgn(PHYSDEV dev, INT x, INT y)
COLORREF EMFDRV_SetTextColor(PHYSDEV dev, COLORREF color)
INT EMFDRV_SetROP2(PHYSDEV dev, INT rop)
BOOL EMFDRV_SetWindowOrgEx(PHYSDEV dev, INT x, INT y, POINT *pt)
INT EMFDRV_GetDeviceCaps(PHYSDEV dev, INT cap)
BOOL EMFDRV_WriteRecord(PHYSDEV dev, EMR *emr)
HDC WINAPI CreateEnhMetaFileW(HDC hdc, LPCWSTR filename, const RECT *rect, LPCWSTR description)
static const struct gdi_dc_funcs emfdrv_driver
HENHMETAFILE WINAPI CloseEnhMetaFile(HDC hdc)
HDC WINAPI CreateEnhMetaFileA(HDC hdc, LPCSTR filename, const RECT *rect, LPCSTR description)
void EMFDRV_UpdateBBox(PHYSDEV dev, RECTL *rect)
static BOOL EMFDRV_DeleteDC(PHYSDEV dev)
SIZE_T WINAPI HeapSize(HANDLE, DWORD, LPCVOID)
int WINAPI GetDeviceCaps(_In_opt_ HDC, _In_ int)
BOOL WINAPI LPtoDP(_In_ HDC hdc, _Inout_updates_(c) LPPOINT lppt, _In_ int c)
BOOL WINAPI RestoreDC(_In_ HDC, _In_ int)
#define ENHMETA_SIGNATURE
struct tagENHMETAHEADER ENHMETAHEADER
BOOL WINAPI DeleteDC(_In_ HDC)
HDC WINAPI CreateDCW(_In_opt_ LPCWSTR pszDriver, _In_opt_ LPCWSTR pszDevice, _In_opt_ LPCWSTR psz, _In_opt_ const DEVMODEW *pdmInit)