Defines | |
#define | WMF_PEN_STYLE(P) ((P)->lopnStyle & PS_STYLE_MASK) |
#define | WMF_PEN_ENDCAP(P) ((P)->lopnStyle & PS_ENDCAP_MASK) |
#define | WMF_PEN_JOIN(P) ((P)->lopnStyle & PS_JOIN_MASK) |
#define | WMF_PEN_TYPE(P) ((P)->lopnStyle & PS_TYPE_MASK) |
#define | WMF_PEN_WIDTH(P) ((P)->width) |
#define | WMF_PEN_HEIGHT(P) ((P)->height) |
#define | WMF_PEN_COLOR(P) (&((P)->lopnColor)) |
#define | WMF_PEN_SET_STYLE(P, Z) (P)->lopnStyle = ((P)->lopnStyle & ~PS_STYLE_MASK ) | ((Z) & PS_STYLE_MASK ) |
#define | WMF_PEN_SET_ENDCAP(P, Z) (P)->lopnStyle = ((P)->lopnStyle & ~PS_ENDCAP_MASK) | ((Z) & PS_ENDCAP_MASK) |
#define | WMF_PEN_SET_JOIN(P, Z) (P)->lopnStyle = ((P)->lopnStyle & ~PS_JOIN_MASK ) | ((Z) & PS_JOIN_MASK ) |
#define | WMF_PEN_SET_TYPE(P, Z) (P)->lopnStyle = ((P)->lopnStyle & ~PS_TYPE_MASK ) | ((Z) & PS_TYPE_MASK ) |
#define | WMF_PEN_SET_WIDTH(P, Z) (P)->width = (Z) |
#define | WMF_PEN_SET_HEIGHT(P, Z) (P)->height = (Z) |
#define | WMF_PEN_SET_COLOR(P, Z) (P)->lopnColor = (*(Z)) |
#define | WMF_BRUSH_STYLE(B) ((B)->lbStyle) |
#define | WMF_BRUSH_HATCH(B) ((B)->lbHatch) |
#define | WMF_BRUSH_COLOR(B) (&((B)->lbColor)) |
#define | WMF_BRUSH_BITMAP(B) (&((B)->bmp)) |
#define | WMF_BRUSH_SET_STYLE(B, Z) (B)->lbStyle = (Z) |
#define | WMF_BRUSH_SET_HATCH(B, Z) (B)->lbHatch = (Z) |
#define | WMF_BRUSH_SET_COLOR(B, Z) (B)->lbColor = (*(Z)) |
#define | WMF_BRUSH_SET_BITMAP(B, Z) (B)->bmp = (*(Z)) |
#define | WMF_TEXT_ANGLE(F) ((((double) (F)->lfEscapement) / 10) * M_PI / 180) |
#define | WMF_TEXT_UNDERLINE(F) ((F)->lfUnderline) |
#define | WMF_TEXT_STRIKEOUT(F) ((F)->lfStrikeOut) |
#define | WMF_FONT_WIDTH(F) ((F)->lfWidth) |
#define | WMF_FONT_HEIGHT(F) ((F)->lfHeight) |
#define | WMF_FONT_ESCAPEMENT(F) ((F)->lfEscapement) |
#define | WMF_FONT_ORIENTATION(F) ((F)->lfOrientation) |
#define | WMF_FONT_WEIGHT(F) ((F)->lfWeight) |
#define | WMF_FONT_ITALIC(F) ((F)->lfItalic) |
#define | WMF_FONT_OUT(F) ((F)->lfOutPrecision) |
#define | WMF_FONT_CLIP(F) ((F)->lfClipPrecision) |
#define | WMF_FONT_QUALITY(F) ((F)->lfQuality) |
#define | WMF_FONT_PITCH(F) ((F)->lfPitchAndFamily) |
#define | WMF_FONT_CHARSET(F) ((F)->lfCharSet) |
#define | WMF_FONT_NAME(F) ((F)->lfFaceName) |
#define | WMF_TEXT_SET_UNDERLINE(F, Z) (F)->lfUnderline = (Z) |
#define | WMF_TEXT_SET_STRIKEOUT(F, Z) (F)->lfStrikeOut = (Z) |
#define | WMF_FONT_SET_WIDTH(F, Z) (F)->lfWidth = (Z) |
#define | WMF_FONT_SET_HEIGHT(F, Z) (F)->lfHeight = (Z) |
#define | WMF_FONT_SET_ESCAPEMENT(F, Z) (F)->lfEscapement = (Z) |
#define | WMF_FONT_SET_ORIENTATION(F, Z) (F)->lfOrientation = (Z) |
#define | WMF_FONT_SET_WEIGHT(F, Z) (F)->lfWeight = (Z) |
#define | WMF_FONT_SET_ITALIC(F, Z) (F)->lfItalic = (Z) |
#define | WMF_FONT_SET_OUT(F, Z) (F)->lfOutPrecision = (Z) |
#define | WMF_FONT_SET_CLIP(F, Z) (F)->lfClipPrecision = (Z) |
#define | WMF_FONT_SET_QUALITY(F, Z) (F)->lfQuality = (Z) |
#define | WMF_FONT_SET_PITCH(F, Z) (F)->lfPitchAndFamily = (Z) |
#define | WMF_FONT_SET_CHARSET(F, Z) (F)->lfCharSet = (Z) |
#define | WMF_FONT_SET_NAME(F, Z) (F)->lfFaceName = (Z) |
#define | WMF_DC_BRUSH(C) ((C)->brush) |
#define | WMF_DC_PEN(C) ((C)->pen) |
#define | WMF_DC_FONT(C) ((C)->font) |
#define | WMF_DC_TEXTCOLOR(C) (&((C)->textcolor)) |
#define | WMF_DC_BACKGROUND(C) (&((C)->bgcolor)) |
#define | WMF_DC_OPAQUE(C) ((C)->bgmode == OPAQUE) |
#define | WMF_DC_TRANSPARENT(C) ((C)->bgmode == TRANSPARENT) |
#define | WMF_DC_POLYFILL(C) ((C)->polyfillmode) |
#define | WMF_DC_ROP(C) ((C)->ROPmode) |
#define | WMF_DC_TEXTALIGN(C) ((C)->textalign) |
#define | WMF_DC_CHAREXTRA(C) ((C)->charextra) |
#define | WMF_DC_BREAKEXTRA(C) ((C)->breakextra) |
#define | WMF_DC_SET_PEN(C, Z) (C)->pen = (Z) |
#define | WMF_DC_SET_BRUSH(C, Z) (C)->brush = (Z) |
#define | WMF_DC_SET_FONT(C, Z) (C)->font = (Z) |
#define | WMF_DC_SET_TEXTCOLOR(C, Z) (C)->textcolor = (*(Z)) |
#define | WMF_DC_SET_BACKGROUND(C, Z) (C)->bgcolor = (*(Z)) |
#define | WMF_DC_SET_OPAQUE(C) (C)->bgmode = OPAQUE |
#define | WMF_DC_SET_TRANSPARENT(C) (C)->bgmode = TRANSPARENT |
#define | WMF_DC_SET_POLYFILL(C, Z) (C)->polyfillmode = (Z) |
#define | WMF_DC_SET_ROP(C, Z) (C)->ROPmode = (Z) |
#define | WMF_DC_SET_TEXTALIGN(C, Z) (C)->textalign = (Z) |
#define | WMF_DC_SET_CHAREXTRA(C, Z) (C)->charextra = (Z) |
#define | WMF_DC_SET_BREAKEXTRA(C, Z) (C)->breakextra = (Z) |
|
WMF_BRUSH_BITMAP(wmfBrush* B) -> (wmfBMP*) brush bitmap |
|
WMF_BRUSH_COLOR(wmfBrush* B) -> (wmfRGB*) brush color |
|
WMF_BRUSH_HATCH(wmfBrush* B) -> (U16) brush hatch style |
|
WMF_BRUSH_SET_BITMAP(wmfBrush* B,(wmfBMP*) brush bitmap) |
|
WMF_BRUSH_SET_COLOR(wmfBrush* B,(wmfRGB*) brush color) |
|
WMF_BRUSH_SET_HATCH(wmfBrush* B,(U16) brush hatch style) |
|
WMF_BRUSH_SET_STYLE(wmfBrush* B,(U16) brush style) |
|
WMF_BRUSH_STYLE(wmfBrush* B) -> (U16) brush style |
|
WMF_DC_BACKGROUND(wmfDC* C) -> (wmfRGB*) background color |
|
WMF_DC_BREAKEXTRA(wmfDC* C) -> (U16) break [line break??] |
|
WMF_DC_BRUSH(wmfDC* C) -> (wmfBrush*) current brush |
|
WMF_DC_CHAREXTRA(wmfDC* C) -> (U16) char [extended character set??] |
|
WMF_DC_FONT(wmfDC* C) -> (wmfFont*) current font |
|
WMF_DC_OPAQUE(wmfDC* C) -> (U16) whether to fill opaque (non-zero if true) |
|
WMF_DC_PEN(wmfDC* C) -> (wmfPen*) current pen |
|
WMF_DC_POLYFILL(wmfDC* C) -> (U16) how to fill polygons |
|
WMF_DC_ROP(wmfDC* C) -> (U16) ROP mode |
|
WMF_DC_SET_BACKGROUND(wmfDC* C,(wmfRGB*) background color) |
|
WMF_DC_SET_BREAKEXTRA(wmfDC* C,(U16) break [line break??]) |
|
WMF_DC_SET_BRUSH(wmfDC* C,(wmfBrush*) current brush) |
|
WMF_DC_SET_CHAREXTRA(wmfDC* C,(U16) char [extended character set??]) |
|
WMF_DC_SET_FONT(wmfDC* C,(wmfFont*) current font) |
|
|
WMF_DC_SET_PEN(wmfDC* C,(wmfPen*) current pen) |
|
WMF_DC_SET_POLYFILL(wmfDC* C,(U16) how to fill polygons) |
|
WMF_DC_SET_ROP(wmfDC* C,(U16) ROP mode) |
|
WMF_DC_SET_TEXTALIGN(wmfDC* C,(U16) how to align text) |
|
WMF_DC_SET_TEXTCOLOR(wmfDC* C,(wmfRGB*) text color) |
|
|
WMF_DC_TEXTALIGN(wmfDC* C) -> (U16) how to align text |
|
WMF_DC_TEXTCOLOR(wmfDC* C) -> (wmfRGB*) text color |
|
WMF_DC_TRANSPARENT(wmfDC* C) -> (U16) whether to fill transparent |
|
WMF_FONT_CHARSET(wmfFont* F) -> (U8) character set |
|
WMF_FONT_CLIP(wmfFont* F) -> (U8) clip precision [??] |
|
WMF_FONT_ESCAPEMENT(wmfFont* F) -> (S16) escapement [use WMF_TEXT_ANGLE instead] |
|
WMF_FONT_HEIGHT(wmfFont* F) -> (U16) font height |
|
WMF_FONT_ITALIC(wmfFont* F) -> (U8) italic |
|
WMF_FONT_NAME(wmfFont* F) -> (char*) font name supplied by metafile |
|
WMF_FONT_ORIENTATION(wmfFont* F) -> (S16) orientation [??] |
|
WMF_FONT_OUT(wmfFont* F) -> (U8) output precision [??] |
|
WMF_FONT_PITCH(wmfFont* F) -> (U8) pitch & family [??] |
|
WMF_FONT_QUALITY(wmfFont* F) -> (U8) quality [??] |
|
WMF_FONT_SET_CHARSET(wmfFont* F,(U8) chracter set) |
|
WMF_FONT_SET_CLIP(wmfFont* F,(U8) clip precision [??]) |
|
WMF_FONT_SET_ESCAPEMENT(wmfFont* F,(S16) escapement) |
|
WMF_FONT_SET_HEIGHT(wmfFont* F,(U16) font height) |
|
WMF_FONT_SET_ITALIC(wmfFont* F,(U8) italic) |
|
WMF_FONT_SET_NAME(wmfFont* F,(char*) font name supplied by metafile [do not free this string!]) |
|
WMF_FONT_SET_ORIENTATION(wmfFont* F,(S16) orientation [??]) |
|
WMF_FONT_SET_OUT(wmfFont* F,(U8) output precision [??]) |
|
WMF_FONT_SET_PITCH(wmfFont* F,(U8) pitch & family [??]) |
|
WMF_FONT_SET_QUALITY(wmfFont* F,(U8) quality [??]) |
|
WMF_FONT_SET_WEIGHT(wmfFont* F,(U16) weight) |
|
WMF_FONT_SET_WIDTH(wmfFont* F,(U16) font `width') |
|
WMF_FONT_WEIGHT(wmfFont* F) -> (U16) weight |
|
WMF_FONT_WIDTH(wmfFont* F) -> (U16) font `width' |
|
WMF_PEN_COLOR(wmfPen* P) -> (wmfRGB*) pen color |
|
WMF_PEN_ENDCAP(wmfPen* P) -> (U16) endcap style |
|
WMF_PEN_HEIGHT(wmfPen* P) -> (double) pen `height' (thickness w.r.t. y-axis) |
|
WMF_PEN_JOIN(wmfPen* P) -> (U16) join style |
|
WMF_PEN_SET_COLOR(wmfPen* P,(wmfRGB*) pen color) |
|
WMF_PEN_SET_ENDCAP(wmfPen* P,(U16) endcap style) |
|
WMF_PEN_SET_HEIGHT(wmfPen* P,(double) pen `height') |
|
WMF_PEN_SET_JOIN(wmfPen* P,(U16) join style) |
|
WMF_PEN_SET_STYLE(wmfPen* P,(U16) pen style) |
|
WMF_PEN_SET_TYPE(wmfPen* P,(U16) `type' of pen) |
|
WMF_PEN_SET_WIDTH(wmfPen* P,(double) pen `width') |
|
WMF_PEN_STYLE(wmfPen* P) -> (U16) pen style |
|
WMF_PEN_TYPE(wmfPen* P) -> (U16) `type' of pen (??) |
|
WMF_PEN_WIDTH(wmfPen* P) -> (double) pen `width' (thickness w.r.t. x-axis) |
|
WMF_TEXT_ANGLE(wmfFont* F) -> (double) text angle in radians |
|
WMF_TEXT_SET_STRIKEOUT(wmfFont* F,(U8) ?? whether to strikeout (?? how thick)) |
|
WMF_TEXT_SET_UNDERLINE(wmfFont* F,(U8) ?? whether to underline (?? how thick)) |
|
WMF_TEXT_STRIKEOUT(wmfFont* F) -> (U8) ?? whether to strikeout (?? how thick) |
|
WMF_TEXT_UNDERLINE(wmfFont* F) -> (U8) ?? whether to underline (?? how thick) |