libUEMF
A portable library for reading and writing WMF, EMF and EMF+ files
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
uemf_print.c File Reference

Functions for printing EMF records. More...

#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#include <string.h>
#include "uemf.h"
#include "upmf_print.h"

Macros

#define U_EMRUNDEF69_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMRUNDEF69",A)
 Not implemented.
 
#define U_EMRPOLYTEXTOUTA_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMRPOLYTEXTOUTA",A)
 Not implemented.
 
#define U_EMRPOLYTEXTOUTW_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMRPOLYTEXTOUTW",A)
 Not implemented.
 
#define U_EMRGLSRECORD_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMRGLSRECORD",A)
 Not implemented.
 
#define U_EMRGLSBOUNDEDRECORD_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMRGLSBOUNDEDRECORD",A)
 Not implemented.
 
#define U_EMRDRAWESCAPE_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMRDRAWESCAPE",A)
 Not implemented.
 
#define U_EMREXTESCAPE_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMREXTESCAPE",A)
 Not implemented.
 
#define U_EMRUNDEF107_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMRUNDEF107",A)
 Not implemented.
 
#define U_EMRFORCEUFIMAPPING_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMRFORCEUFIMAPPING",A)
 Not implemented.
 
#define U_EMRNAMEDESCAPE_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMRNAMEDESCAPE",A)
 Not implemented.
 
#define U_EMRCOLORCORRECTPALETTE_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMRCOLORCORRECTPALETTE",A)
 Not implemented.
 
#define U_EMRSETICMPROFILEA_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMRSETICMPROFILEA",A)
 Not implemented.
 
#define U_EMRSETICMPROFILEW_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMRSETICMPROFILEW",A)
 Not implemented.
 
#define U_EMRUNDEF117_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMRUNDEF117",A)
 Not implemented.
 
#define U_EMRSETLINKEDUFIS_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMR_SETLINKEDUFIS",A)
 Not implemented.
 
#define U_EMRSETTEXTJUSTIFICATION_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMR_SETTEXTJUSTIFICATION",A)
 Not implemented.
 
#define U_EMRCOLORMATCHTOTARGETW_print(A)   U_EMRNOTIMPLEMENTED_print("U_EMR_COLORMATCHTOTARGETW",A)
 Not implemented.
 

Functions

void hexbytes_print (uint8_t *buf, unsigned int num)
 Print some number of hex bytes. More...
 
void colorref_print (U_COLORREF color)
 Print a U_COLORREF object. More...
 
void rgbquad_print (U_RGBQUAD color)
 Print a U_RGBQUAD object. More...
 
void rectl_print (U_RECTL rect)
 Print rect and rectl objects from Upper Left and Lower Right corner points. More...
 
void sizel_print (U_SIZEL sz)
 Print a U_SIZEL object. More...
 
void pointl_print (U_POINTL pt)
 Print a U_POINTL object. More...
 
void point16_print (U_POINT16 pt)
 Print a pointer to a U_POINT16 object. More...
 
void lcs_gamma_print (U_LCS_GAMMA lg)
 Print a U_LCS_GAMMA object. More...
 
void lcs_gammargb_print (U_LCS_GAMMARGB lgr)
 Print a U_LCS_GAMMARGB object. More...
 
void trivertex_print (U_TRIVERTEX tv)
 Print a U_TRIVERTEX object. More...
 
void gradient3_print (U_GRADIENT3 g3)
 Print a U_GRADIENT3 object. More...
 
void gradient4_print (U_GRADIENT4 g4)
 Print a U_GRADIENT4 object. More...
 
void logbrush_print (U_LOGBRUSH lb)
 Print a U_LOGBRUSH object. More...
 
void xform_print (U_XFORM xform)
 Print a U_XFORM object. More...
 
void ciexyz_print (U_CIEXYZ ciexyz)
 Print a U_CIEXYZ object. More...
 
void ciexyztriple_print (U_CIEXYZTRIPLE cie3)
 Print a U_CIEXYZTRIPLE object. More...
 
void logcolorspacea_print (U_LOGCOLORSPACEA lcsa)
 Print a U_LOGCOLORSPACEA object. More...
 
void logcolorspacew_print (U_LOGCOLORSPACEW lcsa)
 Print a U_LOGCOLORSPACEW object. More...
 
void panose_print (U_PANOSE panose)
 Print a U_PANOSE object. More...
 
void logfont_print (U_LOGFONT lf)
 Print a U_LOGFONT object. More...
 
void logfont_panose_print (U_LOGFONT_PANOSE lfp)
 Print a U_LOGFONT_PANOSE object. More...
 
int bitmapinfoheader_print (const char *Bmih)
 Print a pointer to U_BITMAPINFOHEADER object. More...
 
void bitmapinfo_print (const char *Bmi)
 Print a Pointer to a U_BITMAPINFO object. More...
 
void blend_print (U_BLEND blend)
 Print a U_BLEND object. More...
 
void extlogpen_print (PU_EXTLOGPEN elp)
 Print a pointer to a U_EXTLOGPEN object. More...
 
void logpen_print (U_LOGPEN lp)
 Print a U_LOGPEN object. More...
 
void logpltntry_print (U_LOGPLTNTRY lpny)
 Print a U_LOGPLTNTRY object. More...
 
void logpalette_print (PU_LOGPALETTE lp)
 Print a pointer to a U_LOGPALETTE object. More...
 
void rgndataheader_print (U_RGNDATAHEADER rdh)
 Print a U_RGNDATAHEADER object. More...
 
void rgndata_print (PU_RGNDATA rd)
 Print a pointer to a U_RGNDATA object. More...
 
void coloradjustment_print (U_COLORADJUSTMENT ca)
 Print a U_COLORADJUSTMENT object. More...
 
void pixelformatdescriptor_print (U_PIXELFORMATDESCRIPTOR pfd)
 Print a U_PIXELFORMATDESCRIPTOR object. More...
 
void emrtext_print (const char *emt, const char *record, int type)
 Print a Pointer to a U_EMRTEXT record. More...
 
void U_EMRNOTIMPLEMENTED_print (const char *name, const char *contents)
 Print a pointer to a U_EMR_whatever record which has not been implemented. More...
 
void U_EMRHEADER_print (const char *contents)
 Print a pointer to a U_EMR_HEADER record. More...
 
void U_EMRPOLYBEZIER_print (const char *contents)
 Print a pointer to a U_EMR_POLYBEZIER record. More...
 
void U_EMRPOLYGON_print (const char *contents)
 Print a pointer to a U_EMR_POLYGON record. More...
 
void U_EMRPOLYLINE_print (const char *contents)
 Print a pointer to a U_EMR_POLYLINE record. More...
 
void U_EMRPOLYBEZIERTO_print (const char *contents)
 Print a pointer to a U_EMR_POLYBEZIERTO record. More...
 
void U_EMRPOLYLINETO_print (const char *contents)
 Print a pointer to a U_EMR_POLYLINETO record. More...
 
void U_EMRPOLYPOLYLINE_print (const char *contents)
 Print a pointer to a U_EMR_POLYPOLYLINE record. More...
 
void U_EMRPOLYPOLYGON_print (const char *contents)
 Print a pointer to a U_EMR_POLYPOLYGON record. More...
 
void U_EMRSETWINDOWEXTEX_print (const char *contents)
 Print a pointer to a U_EMR_SETWINDOWEXTEX record. More...
 
void U_EMRSETWINDOWORGEX_print (const char *contents)
 Print a pointer to a U_EMR_SETWINDOWORGEX record. More...
 
void U_EMRSETVIEWPORTEXTEX_print (const char *contents)
 Print a pointer to a U_EMR_SETVIEWPORTEXTEX record. More...
 
void U_EMRSETVIEWPORTORGEX_print (const char *contents)
 Print a pointer to a U_EMR_SETVIEWPORTORGEX record. More...
 
void U_EMRSETBRUSHORGEX_print (const char *contents)
 Print a pointer to a U_EMR_SETBRUSHORGEX record. More...
 
void U_EMREOF_print (const char *contents)
 Print a pointer to a U_EMR_EOF record. More...
 
void U_EMRSETPIXELV_print (const char *contents)
 Print a pointer to a U_EMR_SETPIXELV record. More...
 
void U_EMRSETMAPPERFLAGS_print (const char *contents)
 Print a pointer to a U_EMR_SETMAPPERFLAGS record. More...
 
void U_EMRSETMAPMODE_print (const char *contents)
 Print a pointer to a U_EMR_SETMAPMODE record. More...
 
void U_EMRSETBKMODE_print (const char *contents)
 Print a pointer to a U_EMR_SETBKMODE record. More...
 
void U_EMRSETPOLYFILLMODE_print (const char *contents)
 Print a pointer to a U_EMR_SETPOLYFILLMODE record. More...
 
void U_EMRSETROP2_print (const char *contents)
 Print a pointer to a U_EMR_SETROP2 record. More...
 
void U_EMRSETSTRETCHBLTMODE_print (const char *contents)
 Print a pointer to a U_EMR_SETSTRETCHBLTMODE record. More...
 
void U_EMRSETTEXTALIGN_print (const char *contents)
 Print a pointer to a U_EMR_SETTEXTALIGN record. More...
 
void U_EMRSETCOLORADJUSTMENT_print (const char *contents)
 Print a pointer to a U_EMR_SETCOLORADJUSTMENT record. More...
 
void U_EMRSETTEXTCOLOR_print (const char *contents)
 Print a pointer to a U_EMR_SETTEXTCOLOR record. More...
 
void U_EMRSETBKCOLOR_print (const char *contents)
 Print a pointer to a U_EMR_SETBKCOLOR record. More...
 
void U_EMROFFSETCLIPRGN_print (const char *contents)
 Print a pointer to a U_EMR_OFFSETCLIPRGN record. More...
 
void U_EMRMOVETOEX_print (const char *contents)
 Print a pointer to a U_EMR_MOVETOEX record. More...
 
void U_EMRSETMETARGN_print (const char *contents)
 Print a pointer to a U_EMR_SETMETARGN record. More...
 
void U_EMREXCLUDECLIPRECT_print (const char *contents)
 Print a pointer to a U_EMR_EXCLUDECLIPRECT record. More...
 
void U_EMRINTERSECTCLIPRECT_print (const char *contents)
 Print a pointer to a U_EMR_INTERSECTCLIPRECT record. More...
 
void U_EMRSCALEVIEWPORTEXTEX_print (const char *contents)
 Print a pointer to a U_EMR_SCALEVIEWPORTEXTEX record. More...
 
void U_EMRSCALEWINDOWEXTEX_print (const char *contents)
 Print a pointer to a U_EMR_SCALEWINDOWEXTEX record. More...
 
void U_EMRSAVEDC_print (const char *contents)
 Print a pointer to a U_EMR_SAVEDC record. More...
 
void U_EMRRESTOREDC_print (const char *contents)
 Print a pointer to a U_EMR_RESTOREDC record. More...
 
void U_EMRSETWORLDTRANSFORM_print (const char *contents)
 Print a pointer to a U_EMR_SETWORLDTRANSFORM record. More...
 
void U_EMRMODIFYWORLDTRANSFORM_print (const char *contents)
 Print a pointer to a U_EMR_MODIFYWORLDTRANSFORM record. More...
 
void U_EMRSELECTOBJECT_print (const char *contents)
 Print a pointer to a U_EMR_SELECTOBJECT record. More...
 
void U_EMRCREATEPEN_print (const char *contents)
 Print a pointer to a U_EMR_CREATEPEN record. More...
 
void U_EMRCREATEBRUSHINDIRECT_print (const char *contents)
 Print a pointer to a U_EMR_CREATEBRUSHINDIRECT record. More...
 
void U_EMRDELETEOBJECT_print (const char *contents)
 Print a pointer to a U_EMR_DELETEOBJECT record. More...
 
void U_EMRANGLEARC_print (const char *contents)
 Print a pointer to a U_EMR_ANGLEARC record. More...
 
void U_EMRELLIPSE_print (const char *contents)
 Print a pointer to a U_EMR_ELLIPSE record. More...
 
void U_EMRRECTANGLE_print (const char *contents)
 Print a pointer to a U_EMR_RECTANGLE record. More...
 
void U_EMRROUNDRECT_print (const char *contents)
 Print a pointer to a U_EMR_ROUNDRECT record. More...
 
void U_EMRARC_print (const char *contents)
 Print a pointer to a U_EMR_ARC record. More...
 
void U_EMRCHORD_print (const char *contents)
 Print a pointer to a U_EMR_CHORD record. More...
 
void U_EMRPIE_print (const char *contents)
 Print a pointer to a U_EMR_PIE record. More...
 
void U_EMRSELECTPALETTE_print (const char *contents)
 Print a pointer to a U_EMR_SELECTPALETTE record. More...
 
void U_EMRCREATEPALETTE_print (const char *contents)
 Print a pointer to a U_EMR_CREATEPALETTE record. More...
 
void U_EMRSETPALETTEENTRIES_print (const char *contents)
 Print a pointer to a U_EMR_SETPALETTEENTRIES record. More...
 
void U_EMRRESIZEPALETTE_print (const char *contents)
 Print a pointer to a U_EMR_RESIZEPALETTE record. More...
 
void U_EMRREALIZEPALETTE_print (const char *contents)
 Print a pointer to a U_EMR_REALIZEPALETTE record. More...
 
void U_EMREXTFLOODFILL_print (const char *contents)
 Print a pointer to a U_EMR_EXTFLOODFILL record. More...
 
void U_EMRLINETO_print (const char *contents)
 Print a pointer to a U_EMR_LINETO record. More...
 
void U_EMRARCTO_print (const char *contents)
 Print a pointer to a U_EMR_ARCTO record. More...
 
void U_EMRPOLYDRAW_print (const char *contents)
 Print a pointer to a U_EMR_POLYDRAW record. More...
 
void U_EMRSETARCDIRECTION_print (const char *contents)
 Print a pointer to a U_EMR_SETARCDIRECTION record. More...
 
void U_EMRSETMITERLIMIT_print (const char *contents)
 Print a pointer to a U_EMR_SETMITERLIMIT record. More...
 
void U_EMRBEGINPATH_print (const char *contents)
 Print a pointer to a U_EMR_BEGINPATH record. More...
 
void U_EMRENDPATH_print (const char *contents)
 Print a pointer to a U_EMR_ENDPATH record. More...
 
void U_EMRCLOSEFIGURE_print (const char *contents)
 Print a pointer to a U_EMR_CLOSEFIGURE record. More...
 
void U_EMRFILLPATH_print (const char *contents)
 Print a pointer to a U_EMR_FILLPATH record. More...
 
void U_EMRSTROKEANDFILLPATH_print (const char *contents)
 Print a pointer to a U_EMR_STROKEANDFILLPATH record. More...
 
void U_EMRSTROKEPATH_print (const char *contents)
 Print a pointer to a U_EMR_STROKEPATH record. More...
 
void U_EMRFLATTENPATH_print (const char *contents)
 Print a pointer to a U_EMR_FLATTENPATH record. More...
 
void U_EMRWIDENPATH_print (const char *contents)
 Print a pointer to a U_EMR_WIDENPATH record. More...
 
void U_EMRSELECTCLIPPATH_print (const char *contents)
 Print a pointer to a U_EMR_SELECTCLIPPATH record. More...
 
void U_EMRABORTPATH_print (const char *contents)
 Print a pointer to a U_EMR_ABORTPATH record. More...
 
void U_EMRCOMMENT_print (const char *contents, const char *blimit, size_t off)
 Print a pointer to a U_EMR_COMMENT record. More...
 
void U_EMRFILLRGN_print (const char *contents)
 Print a pointer to a U_EMR_FILLRGN record. More...
 
void U_EMRFRAMERGN_print (const char *contents)
 Print a pointer to a U_EMR_FRAMERGN record. More...
 
void U_EMRINVERTRGN_print (const char *contents)
 Print a pointer to a U_EMR_INVERTRGN record. More...
 
void U_EMRPAINTRGN_print (const char *contents)
 Print a pointer to a U_EMR_PAINTRGN record. More...
 
void U_EMREXTSELECTCLIPRGN_print (const char *contents)
 Print a pointer to a U_EMR_EXTSELECTCLIPRGN record. More...
 
void U_EMRBITBLT_print (const char *contents)
 Print a pointer to a U_EMR_BITBLT record. More...
 
void U_EMRSTRETCHBLT_print (const char *contents)
 Print a pointer to a U_EMR_STRETCHBLT record. More...
 
void U_EMRMASKBLT_print (const char *contents)
 Print a pointer to a U_EMR_MASKBLT record. More...
 
void U_EMRPLGBLT_print (const char *contents)
 Print a pointer to a U_EMR_PLGBLT record. More...
 
void U_EMRSETDIBITSTODEVICE_print (const char *contents)
 Print a pointer to a U_EMRSETDIBITSTODEVICE record. More...
 
void U_EMRSTRETCHDIBITS_print (const char *contents)
 Print a pointer to a U_EMR_STRETCHDIBITS record. More...
 
void U_EMREXTCREATEFONTINDIRECTW_print (const char *contents)
 Print a pointer to a U_EMR_EXTCREATEFONTINDIRECTW record. More...
 
void U_EMREXTTEXTOUTA_print (const char *contents)
 Print a pointer to a U_EMR_EXTTEXTOUTA record. More...
 
void U_EMREXTTEXTOUTW_print (const char *contents)
 Print a pointer to a U_EMR_EXTTEXTOUTW record. More...
 
void U_EMRPOLYBEZIER16_print (const char *contents)
 Print a pointer to a U_EMR_POLYBEZIER16 record. More...
 
void U_EMRPOLYGON16_print (const char *contents)
 Print a pointer to a U_EMR_POLYGON16 record. More...
 
void U_EMRPOLYLINE16_print (const char *contents)
 Print a pointer to a U_EMR_POLYLINE16 record. More...
 
void U_EMRPOLYBEZIERTO16_print (const char *contents)
 Print a pointer to a U_EMR_POLYBEZIERTO16 record. More...
 
void U_EMRPOLYLINETO16_print (const char *contents)
 Print a pointer to a U_EMR_POLYLINETO16 record. More...
 
void U_EMRPOLYPOLYLINE16_print (const char *contents)
 Print a pointer to a U_EMR_POLYPOLYLINE16 record. More...
 
void U_EMRPOLYPOLYGON16_print (const char *contents)
 Print a pointer to a U_EMR_POLYPOLYGON16 record. More...
 
void U_EMRPOLYDRAW16_print (const char *contents)
 Print a pointer to a U_EMR_POLYDRAW16 record. More...
 
void U_EMRCREATEMONOBRUSH_print (const char *contents)
 Print a pointer to a U_EMR_CREATEMONOBRUSH record. More...
 
void U_EMRCREATEDIBPATTERNBRUSHPT_print (const char *contents)
 Print a pointer to a U_EMR_CREATEDIBPATTERNBRUSHPT record. More...
 
void U_EMREXTCREATEPEN_print (const char *contents)
 Print a pointer to a U_EMR_EXTCREATEPEN record. More...
 
void U_EMRSETICMMODE_print (const char *contents)
 Print a pointer to a U_EMR_SETICMMODE record. More...
 
void U_EMRCREATECOLORSPACE_print (const char *contents)
 Print a pointer to a U_EMR_CREATECOLORSPACE record. More...
 
void U_EMRSETCOLORSPACE_print (const char *contents)
 Print a pointer to a U_EMR_SETCOLORSPACE record. More...
 
void U_EMRDELETECOLORSPACE_print (const char *contents)
 Print a pointer to a U_EMR_DELETECOLORSPACE record. More...
 
void U_EMRPIXELFORMAT_print (const char *contents)
 Print a pointer to a U_EMR_PIXELFORMAT record. More...
 
void U_EMRSMALLTEXTOUT_print (const char *contents)
 Print a pointer to a U_EMR_SMALLTEXTOUT record. More...
 
void U_EMRALPHABLEND_print (const char *contents)
 Print a pointer to a U_EMR_ALPHABLEND record. More...
 
void U_EMRSETLAYOUT_print (const char *contents)
 Print a pointer to a U_EMR_SETLAYOUT record. More...
 
void U_EMRTRANSPARENTBLT_print (const char *contents)
 Print a pointer to a U_EMR_TRANSPARENTBLT record. More...
 
void U_EMRGRADIENTFILL_print (const char *contents)
 Print a pointer to a U_EMR_GRADIENTFILL record. More...
 
void U_EMRCREATECOLORSPACEW_print (const char *contents)
 Print a pointer to a U_EMR_CREATECOLORSPACEW record. More...
 
int U_emf_onerec_print (const char *contents, const char *blimit, int recnum, size_t off)
 Print any record in an emf. More...
 

Detailed Description

Functions for printing EMF records.

Function Documentation

void bitmapinfo_print ( const char *  Bmi)

Print a Pointer to a U_BITMAPINFO object.

Parameters
BmiPointer to a U_BITMAPINFO object This may be called from WMF _print routines, where problems could occur if the data was passed as the struct or a pointer to the struct, as the struct may not be aligned in memory.
int bitmapinfoheader_print ( const char *  Bmih)

Print a pointer to U_BITMAPINFOHEADER object.

This may be called indirectly from WMF _print routines, where problems could occur if the data was passed as the struct or a pointer to the struct, as the struct may not be aligned in memory.

Returns
Actual number of color table entries.
Parameters
Bmihpointer to a U_BITMAPINFOHEADER object
void blend_print ( U_BLEND  blend)

Print a U_BLEND object.

Parameters
blenda U_BLEND object
void ciexyz_print ( U_CIEXYZ  ciexyz)

Print a U_CIEXYZ object.

Parameters
ciexyzU_CIEXYZ object
void ciexyztriple_print ( U_CIEXYZTRIPLE  cie3)

Print a U_CIEXYZTRIPLE object.

Parameters
cie3U_CIEXYZTRIPLE object
void coloradjustment_print ( U_COLORADJUSTMENT  ca)

Print a U_COLORADJUSTMENT object.

Parameters
caU_COLORADJUSTMENT object.
void colorref_print ( U_COLORREF  color)

Print a U_COLORREF object.

Parameters
colorU_COLORREF object
void emrtext_print ( const char *  emt,
const char *  record,
int  type 
)

Print a Pointer to a U_EMRTEXT record.

Parameters
emtPointer to a U_EMRTEXT record
recordPointer to the start of the record which contains this U_ERMTEXT
type0 for 8 bit character, anything else for 16
void extlogpen_print ( PU_EXTLOGPEN  elp)

Print a pointer to a U_EXTLOGPEN object.

Parameters
elpPU_EXTLOGPEN object
void gradient3_print ( U_GRADIENT3  g3)

Print a U_GRADIENT3 object.

Parameters
g3U_GRADIENT3 object.
void gradient4_print ( U_GRADIENT4  g4)

Print a U_GRADIENT4 object.

Parameters
g4U_GRADIENT4 object.
void hexbytes_print ( uint8_t *  buf,
unsigned int  num 
)

Print some number of hex bytes.

Parameters
bufpointer to the first byte
numnumber of bytes
void lcs_gamma_print ( U_LCS_GAMMA  lg)

Print a U_LCS_GAMMA object.

Parameters
lgU_LCS_GAMMA object
void lcs_gammargb_print ( U_LCS_GAMMARGB  lgr)

Print a U_LCS_GAMMARGB object.

Parameters
lgrU_LCS_GAMMARGB object
void logbrush_print ( U_LOGBRUSH  lb)

Print a U_LOGBRUSH object.

Parameters
lbU_LOGBRUSH object.
void logcolorspacea_print ( U_LOGCOLORSPACEA  lcsa)

Print a U_LOGCOLORSPACEA object.

Parameters
lcsaU_LOGCOLORSPACEA object
void logcolorspacew_print ( U_LOGCOLORSPACEW  lcsa)

Print a U_LOGCOLORSPACEW object.

Parameters
lcsaU_LOGCOLORSPACEW object
void logfont_panose_print ( U_LOGFONT_PANOSE  lfp)

Print a U_LOGFONT_PANOSE object.

Returns
U_LOGFONT_PANOSE object
void logfont_print ( U_LOGFONT  lf)

Print a U_LOGFONT object.

Parameters
lfU_LOGFONT object
void logpalette_print ( PU_LOGPALETTE  lp)

Print a pointer to a U_LOGPALETTE object.

Parameters
lpPointer to a U_LOGPALETTE object.
void logpen_print ( U_LOGPEN  lp)

Print a U_LOGPEN object.

Parameters
lpU_LOGPEN object
void logpltntry_print ( U_LOGPLTNTRY  lpny)

Print a U_LOGPLTNTRY object.

Parameters
lpnyIgnore U_LOGPLTNTRY object.
void panose_print ( U_PANOSE  panose)

Print a U_PANOSE object.

Parameters
panoseU_PANOSE object
void pixelformatdescriptor_print ( U_PIXELFORMATDESCRIPTOR  pfd)

Print a U_PIXELFORMATDESCRIPTOR object.

Parameters
pfdU_PIXELFORMATDESCRIPTOR object
void point16_print ( U_POINT16  pt)

Print a pointer to a U_POINT16 object.

Parameters
ptpointer to a U_POINT16 object Warning - WMF data may contain unaligned U_POINT16, do not call this routine with a pointer to such data!
void pointl_print ( U_POINTL  pt)

Print a U_POINTL object.

Parameters
ptU_POINTL object
void rectl_print ( U_RECTL  rect)

Print rect and rectl objects from Upper Left and Lower Right corner points.

Parameters
rectU_RECTL object
void rgbquad_print ( U_RGBQUAD  color)

Print a U_RGBQUAD object.

Parameters
colorU_RGBQUAD object
void rgndata_print ( PU_RGNDATA  rd)

Print a pointer to a U_RGNDATA object.

Parameters
rdpointer to a U_RGNDATA object.
void rgndataheader_print ( U_RGNDATAHEADER  rdh)

Print a U_RGNDATAHEADER object.

Parameters
rdhU_RGNDATAHEADER object
void sizel_print ( U_SIZEL  sz)

Print a U_SIZEL object.

Parameters
szU_SizeL object
void trivertex_print ( U_TRIVERTEX  tv)

Print a U_TRIVERTEX object.

Parameters
tvU_TRIVERTEX object.
int U_emf_onerec_print ( const char *  contents,
const char *  blimit,
int  recnum,
size_t  off 
)

Print any record in an emf.

Returns
record length for a normal record, 0 for EMREOF, -1 for a bad record
Parameters
contentspointer to a buffer holding all EMR records
blimitpointer to the byte after the last byte in the buffer holding all EMR records
recnumnumber of this record in contents
offoffset to this record in contents
void U_EMRABORTPATH_print ( const char *  contents)

Print a pointer to a U_EMR_ABORTPATH record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRALPHABLEND_print ( const char *  contents)

Print a pointer to a U_EMR_ALPHABLEND record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRANGLEARC_print ( const char *  contents)

Print a pointer to a U_EMR_ANGLEARC record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRARC_print ( const char *  contents)

Print a pointer to a U_EMR_ARC record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRARCTO_print ( const char *  contents)

Print a pointer to a U_EMR_ARCTO record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRBEGINPATH_print ( const char *  contents)

Print a pointer to a U_EMR_BEGINPATH record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRBITBLT_print ( const char *  contents)

Print a pointer to a U_EMR_BITBLT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRCHORD_print ( const char *  contents)

Print a pointer to a U_EMR_CHORD record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRCLOSEFIGURE_print ( const char *  contents)

Print a pointer to a U_EMR_CLOSEFIGURE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRCOMMENT_print ( const char *  contents,
const char *  blimit,
size_t  off 
)

Print a pointer to a U_EMR_COMMENT record.

Parameters
contentspointer to a location in memory holding the comment record
blimitsize in bytes of the comment record
offoffset in bytes to the first byte in this record

EMF+ records, if any, are stored in EMF comment records.

void U_EMRCREATEBRUSHINDIRECT_print ( const char *  contents)

Print a pointer to a U_EMR_CREATEBRUSHINDIRECT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRCREATECOLORSPACE_print ( const char *  contents)

Print a pointer to a U_EMR_CREATECOLORSPACE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRCREATECOLORSPACEW_print ( const char *  contents)

Print a pointer to a U_EMR_CREATECOLORSPACEW record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRCREATEDIBPATTERNBRUSHPT_print ( const char *  contents)

Print a pointer to a U_EMR_CREATEDIBPATTERNBRUSHPT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRCREATEMONOBRUSH_print ( const char *  contents)

Print a pointer to a U_EMR_CREATEMONOBRUSH record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRCREATEPALETTE_print ( const char *  contents)

Print a pointer to a U_EMR_CREATEPALETTE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRCREATEPEN_print ( const char *  contents)

Print a pointer to a U_EMR_CREATEPEN record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRDELETECOLORSPACE_print ( const char *  contents)

Print a pointer to a U_EMR_DELETECOLORSPACE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRDELETEOBJECT_print ( const char *  contents)

Print a pointer to a U_EMR_DELETEOBJECT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRELLIPSE_print ( const char *  contents)

Print a pointer to a U_EMR_ELLIPSE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRENDPATH_print ( const char *  contents)

Print a pointer to a U_EMR_ENDPATH record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMREOF_print ( const char *  contents)

Print a pointer to a U_EMR_EOF record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMREXCLUDECLIPRECT_print ( const char *  contents)

Print a pointer to a U_EMR_EXCLUDECLIPRECT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMREXTCREATEFONTINDIRECTW_print ( const char *  contents)

Print a pointer to a U_EMR_EXTCREATEFONTINDIRECTW record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMREXTCREATEPEN_print ( const char *  contents)

Print a pointer to a U_EMR_EXTCREATEPEN record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMREXTFLOODFILL_print ( const char *  contents)

Print a pointer to a U_EMR_EXTFLOODFILL record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMREXTSELECTCLIPRGN_print ( const char *  contents)

Print a pointer to a U_EMR_EXTSELECTCLIPRGN record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMREXTTEXTOUTA_print ( const char *  contents)

Print a pointer to a U_EMR_EXTTEXTOUTA record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMREXTTEXTOUTW_print ( const char *  contents)

Print a pointer to a U_EMR_EXTTEXTOUTW record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRFILLPATH_print ( const char *  contents)

Print a pointer to a U_EMR_FILLPATH record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRFILLRGN_print ( const char *  contents)

Print a pointer to a U_EMR_FILLRGN record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRFLATTENPATH_print ( const char *  contents)

Print a pointer to a U_EMR_FLATTENPATH record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRFRAMERGN_print ( const char *  contents)

Print a pointer to a U_EMR_FRAMERGN record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRGRADIENTFILL_print ( const char *  contents)

Print a pointer to a U_EMR_GRADIENTFILL record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRHEADER_print ( const char *  contents)

Print a pointer to a U_EMR_HEADER record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRINTERSECTCLIPRECT_print ( const char *  contents)

Print a pointer to a U_EMR_INTERSECTCLIPRECT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRINVERTRGN_print ( const char *  contents)

Print a pointer to a U_EMR_INVERTRGN record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRLINETO_print ( const char *  contents)

Print a pointer to a U_EMR_LINETO record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRMASKBLT_print ( const char *  contents)

Print a pointer to a U_EMR_MASKBLT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRMODIFYWORLDTRANSFORM_print ( const char *  contents)

Print a pointer to a U_EMR_MODIFYWORLDTRANSFORM record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRMOVETOEX_print ( const char *  contents)

Print a pointer to a U_EMR_MOVETOEX record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRNOTIMPLEMENTED_print ( const char *  name,
const char *  contents 
)

Print a pointer to a U_EMR_whatever record which has not been implemented.

Parameters
namename of this type of record
contentspointer to a buffer holding all EMR records
void U_EMROFFSETCLIPRGN_print ( const char *  contents)

Print a pointer to a U_EMR_OFFSETCLIPRGN record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPAINTRGN_print ( const char *  contents)

Print a pointer to a U_EMR_PAINTRGN record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPIE_print ( const char *  contents)

Print a pointer to a U_EMR_PIE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPIXELFORMAT_print ( const char *  contents)

Print a pointer to a U_EMR_PIXELFORMAT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPLGBLT_print ( const char *  contents)

Print a pointer to a U_EMR_PLGBLT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYBEZIER16_print ( const char *  contents)

Print a pointer to a U_EMR_POLYBEZIER16 record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYBEZIER_print ( const char *  contents)

Print a pointer to a U_EMR_POLYBEZIER record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYBEZIERTO16_print ( const char *  contents)

Print a pointer to a U_EMR_POLYBEZIERTO16 record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYBEZIERTO_print ( const char *  contents)

Print a pointer to a U_EMR_POLYBEZIERTO record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYDRAW16_print ( const char *  contents)

Print a pointer to a U_EMR_POLYDRAW16 record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYDRAW_print ( const char *  contents)

Print a pointer to a U_EMR_POLYDRAW record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYGON16_print ( const char *  contents)

Print a pointer to a U_EMR_POLYGON16 record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYGON_print ( const char *  contents)

Print a pointer to a U_EMR_POLYGON record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYLINE16_print ( const char *  contents)

Print a pointer to a U_EMR_POLYLINE16 record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYLINE_print ( const char *  contents)

Print a pointer to a U_EMR_POLYLINE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYLINETO16_print ( const char *  contents)

Print a pointer to a U_EMR_POLYLINETO16 record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYLINETO_print ( const char *  contents)

Print a pointer to a U_EMR_POLYLINETO record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYPOLYGON16_print ( const char *  contents)

Print a pointer to a U_EMR_POLYPOLYGON16 record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYPOLYGON_print ( const char *  contents)

Print a pointer to a U_EMR_POLYPOLYGON record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYPOLYLINE16_print ( const char *  contents)

Print a pointer to a U_EMR_POLYPOLYLINE16 record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRPOLYPOLYLINE_print ( const char *  contents)

Print a pointer to a U_EMR_POLYPOLYLINE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRREALIZEPALETTE_print ( const char *  contents)

Print a pointer to a U_EMR_REALIZEPALETTE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRRECTANGLE_print ( const char *  contents)

Print a pointer to a U_EMR_RECTANGLE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRRESIZEPALETTE_print ( const char *  contents)

Print a pointer to a U_EMR_RESIZEPALETTE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRRESTOREDC_print ( const char *  contents)

Print a pointer to a U_EMR_RESTOREDC record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRROUNDRECT_print ( const char *  contents)

Print a pointer to a U_EMR_ROUNDRECT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSAVEDC_print ( const char *  contents)

Print a pointer to a U_EMR_SAVEDC record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSCALEVIEWPORTEXTEX_print ( const char *  contents)

Print a pointer to a U_EMR_SCALEVIEWPORTEXTEX record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSCALEWINDOWEXTEX_print ( const char *  contents)

Print a pointer to a U_EMR_SCALEWINDOWEXTEX record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSELECTCLIPPATH_print ( const char *  contents)

Print a pointer to a U_EMR_SELECTCLIPPATH record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSELECTOBJECT_print ( const char *  contents)

Print a pointer to a U_EMR_SELECTOBJECT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSELECTPALETTE_print ( const char *  contents)

Print a pointer to a U_EMR_SELECTPALETTE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETARCDIRECTION_print ( const char *  contents)

Print a pointer to a U_EMR_SETARCDIRECTION record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETBKCOLOR_print ( const char *  contents)

Print a pointer to a U_EMR_SETBKCOLOR record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETBKMODE_print ( const char *  contents)

Print a pointer to a U_EMR_SETBKMODE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETBRUSHORGEX_print ( const char *  contents)

Print a pointer to a U_EMR_SETBRUSHORGEX record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETCOLORADJUSTMENT_print ( const char *  contents)

Print a pointer to a U_EMR_SETCOLORADJUSTMENT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETCOLORSPACE_print ( const char *  contents)

Print a pointer to a U_EMR_SETCOLORSPACE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETDIBITSTODEVICE_print ( const char *  contents)

Print a pointer to a U_EMRSETDIBITSTODEVICE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETICMMODE_print ( const char *  contents)

Print a pointer to a U_EMR_SETICMMODE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETLAYOUT_print ( const char *  contents)

Print a pointer to a U_EMR_SETLAYOUT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETMAPMODE_print ( const char *  contents)

Print a pointer to a U_EMR_SETMAPMODE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETMAPPERFLAGS_print ( const char *  contents)

Print a pointer to a U_EMR_SETMAPPERFLAGS record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETMETARGN_print ( const char *  contents)

Print a pointer to a U_EMR_SETMETARGN record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETMITERLIMIT_print ( const char *  contents)

Print a pointer to a U_EMR_SETMITERLIMIT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETPALETTEENTRIES_print ( const char *  contents)

Print a pointer to a U_EMR_SETPALETTEENTRIES record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETPIXELV_print ( const char *  contents)

Print a pointer to a U_EMR_SETPIXELV record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETPOLYFILLMODE_print ( const char *  contents)

Print a pointer to a U_EMR_SETPOLYFILLMODE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETROP2_print ( const char *  contents)

Print a pointer to a U_EMR_SETROP2 record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETSTRETCHBLTMODE_print ( const char *  contents)

Print a pointer to a U_EMR_SETSTRETCHBLTMODE record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETTEXTALIGN_print ( const char *  contents)

Print a pointer to a U_EMR_SETTEXTALIGN record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETTEXTCOLOR_print ( const char *  contents)

Print a pointer to a U_EMR_SETTEXTCOLOR record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETVIEWPORTEXTEX_print ( const char *  contents)

Print a pointer to a U_EMR_SETVIEWPORTEXTEX record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETVIEWPORTORGEX_print ( const char *  contents)

Print a pointer to a U_EMR_SETVIEWPORTORGEX record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETWINDOWEXTEX_print ( const char *  contents)

Print a pointer to a U_EMR_SETWINDOWEXTEX record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETWINDOWORGEX_print ( const char *  contents)

Print a pointer to a U_EMR_SETWINDOWORGEX record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSETWORLDTRANSFORM_print ( const char *  contents)

Print a pointer to a U_EMR_SETWORLDTRANSFORM record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSMALLTEXTOUT_print ( const char *  contents)

Print a pointer to a U_EMR_SMALLTEXTOUT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSTRETCHBLT_print ( const char *  contents)

Print a pointer to a U_EMR_STRETCHBLT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSTRETCHDIBITS_print ( const char *  contents)

Print a pointer to a U_EMR_STRETCHDIBITS record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSTROKEANDFILLPATH_print ( const char *  contents)

Print a pointer to a U_EMR_STROKEANDFILLPATH record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRSTROKEPATH_print ( const char *  contents)

Print a pointer to a U_EMR_STROKEPATH record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRTRANSPARENTBLT_print ( const char *  contents)

Print a pointer to a U_EMR_TRANSPARENTBLT record.

Parameters
contentspointer to a buffer holding all EMR records
void U_EMRWIDENPATH_print ( const char *  contents)

Print a pointer to a U_EMR_WIDENPATH record.

Parameters
contentspointer to a buffer holding all EMR records
void xform_print ( U_XFORM  xform)

Print a U_XFORM object.

Parameters
xformU_XFORM object