116 if (!
GetObjectA( hBrush,
sizeof(logbrush), &logbrush ))
return 0;
177 emr->
cbBmi = info_size;
253 emr.
emr.
nSize = (
sizeof(emr) + 3) / 4 * 4;
417 memset( &pal, 0,
sizeof(pal) );
419 if (!
GetObjectW( hPal,
sizeof(pal.hdr.lgpl) +
sizeof(pal.entry), &pal.hdr.lgpl ))
422 for (
i = 0;
i < pal.hdr.lgpl.palNumEntries;
i++)
423 pal.hdr.lgpl.palPalEntry[
i].peFlags = 0;
426 pal.hdr.emr.nSize =
sizeof(pal.hdr) + pal.hdr.lgpl.palNumEntries *
sizeof(
PALETTEENTRY);
431 return pal.hdr.ihPal;
471 DC *
dc = get_physdev_dc(
dev );
497 DC *
dc = get_physdev_dc(
dev );
526 rounded_size = (
bytes+3) & ~3;
static unsigned char bytes[4]
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define HeapFree(x, y, z)
HPEN EMFDRV_SelectPen(PHYSDEV dev, HPEN hPen, const struct brush_pattern *pattern)
HPALETTE EMFDRV_SelectPalette(PHYSDEV dev, HPALETTE hPal, BOOL force)
HBRUSH EMFDRV_SelectBrush(PHYSDEV dev, HBRUSH hBrush, const struct brush_pattern *pattern)
static UINT EMFDRV_FindObject(PHYSDEV dev, HGDIOBJ obj)
HFONT EMFDRV_SelectFont(PHYSDEV dev, HFONT hFont, UINT *aa_flags)
COLORREF EMFDRV_SetDCPenColor(PHYSDEV dev, COLORREF color)
static DWORD EMFDRV_CreatePenIndirect(PHYSDEV dev, HPEN hPen)
DWORD EMFDRV_CreateBrushIndirect(PHYSDEV dev, HBRUSH hBrush)
COLORREF EMFDRV_SetDCBrushColor(PHYSDEV dev, COLORREF color)
HBITMAP EMFDRV_SelectBitmap(PHYSDEV dev, HBITMAP hbitmap)
BOOL EMFDRV_GdiComment(PHYSDEV dev, UINT bytes, const BYTE *buffer)
static DWORD EMFDRV_CreatePalette(PHYSDEV dev, HPALETTE hPal)
static UINT EMFDRV_AddHandle(PHYSDEV dev, HGDIOBJ obj)
BOOL EMFDRV_DeleteObject(PHYSDEV dev, HGDIOBJ obj)
static BOOL EMFDRV_CreateFontIndirect(PHYSDEV dev, HFONT hFont)
#define GET_NEXT_PHYSDEV(dev, func)
#define get_full_gdi_handle
void GDI_hdc_using_object(HGDIOBJ obj, HDC hdc) DECLSPEC_HIDDEN
static int get_dib_info_size(const BITMAPINFO *info, UINT coloruse)
BOOL get_brush_bitmap_info(HBRUSH handle, BITMAPINFO *info, void *bits, UINT *usage) DECLSPEC_HIDDEN
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
GLsizeiptr const GLvoid GLenum usage
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define memcpy(s1, s2, n)
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static const unsigned char enhmetafile[]
#define offsetof(TYPE, MEMBER)
WCHAR elfFullName[LF_FULLFACESIZE]
BYTE elfVendorId[ELF_VENDOR_SIZE]
WCHAR elfStyle[LF_FACESIZE]
#define FIELD_OFFSET(t, f)
HGDIOBJ WINAPI GetStockObject(_In_ int)
int WINAPI GetObjectW(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
#define EMR_CREATEPALETTE
struct tagPALETTEENTRY PALETTEENTRY
int WINAPI GetObjectA(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
HPEN WINAPI CreatePenIndirect(_In_ const LOGPEN *)
HGDIOBJ WINAPI GetCurrentObject(_In_ HDC, _In_ UINT)
#define EMR_CREATEMONOBRUSH
#define EMR_SELECTPALETTE
#define EMR_EXTCREATEFONTINDIRECTW
#define PAN_CULTURE_LATIN
struct tagBITMAPINFO BITMAPINFO
struct tagEMRCREATEDIBPATTERNBRUSHPT EMRCREATEDIBPATTERNBRUSHPT
#define EMR_CREATEDIBPATTERNBRUSHPT
#define EMR_CREATEBRUSHINDIRECT
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)