Versions in this module Expand all Collapse all v0 v0.1.0 Dec 20, 2023 Changes in this version + const ALTERNATE + const ANSI_FIXED_FONT + const ANSI_VAR_FONT + const BI_BITCOUNT_0 + const BI_BITCOUNT_1 + const BI_BITCOUNT_2 + const BI_BITCOUNT_3 + const BI_BITCOUNT_4 + const BI_BITCOUNT_5 + const BI_BITCOUNT_6 + const BI_BITFIELDS + const BI_CMYK + const BI_CMYKRLE4 + const BI_CMYKRLE8 + const BI_JPEG + const BI_PNG + const BI_RGB + const BI_RLE4 + const BI_RLE8 + const BLACK_BRUSH + const BLACK_PEN + const BS_DIBPATTERN + const BS_DIBPATTERN8X8 + const BS_DIBPATTERNPT + const BS_HATCHED + const BS_INDEXED + const BS_MONOPATTERN + const BS_NULL + const BS_PATTERN + const BS_PATTERN8X8 + const BS_SOLID + const DC_BRUSH + const DC_PEN + const DEFAULT_GUI_FONT + const DEFAULT_PALETTE + const DEVICE_DEFAULT_FONT + const DIB_PAL_COLORS + const DIB_PAL_INDICES + const DIB_RGB_COLORS + const DKGRAY_BRUSH + const EMR_ABORTPATH + const EMR_ALPHABLEND + const EMR_ANGLEARC + const EMR_ARC + const EMR_ARCTO + const EMR_BEGINPATH + const EMR_BITBLT + const EMR_CHORD + const EMR_CLOSEFIGURE + const EMR_COLORCORRECTPALETTE + const EMR_COLORMATCHTOTARGETW + const EMR_COMMENT + const EMR_CREATEBRUSHINDIRECT + const EMR_CREATECOLORSPACE + const EMR_CREATECOLORSPACEW + const EMR_CREATEDIBPATTERNBRUSHPT + const EMR_CREATEMONOBRUSH + const EMR_CREATEPALETTE + const EMR_CREATEPEN + const EMR_DELETECOLORSPACE + const EMR_DELETEOBJECT + const EMR_DRAWESCAPE + const EMR_ELLIPSE + const EMR_ENDPATH + const EMR_EOF + const EMR_EXCLUDECLIPRECT + const EMR_EXTCREATEFONTINDIRECTW + const EMR_EXTCREATEPEN + const EMR_EXTESCAPE + const EMR_EXTFLOODFILL + const EMR_EXTSELECTCLIPRGN + const EMR_EXTTEXTOUTA + const EMR_EXTTEXTOUTW + const EMR_FILLPATH + const EMR_FILLRGN + const EMR_FLATTENPATH + const EMR_FORCEUFIMAPPING + const EMR_FRAMERGN + const EMR_GLSBOUNDEDRECORD + const EMR_GLSRECORD + const EMR_GRADIENTFILL + const EMR_HEADER + const EMR_INTERSECTCLIPRECT + const EMR_INVERTRGN + const EMR_LINETO + const EMR_MASKBLT + const EMR_MODIFYWORLDTRANSFORM + const EMR_MOVETOEX + const EMR_NAMEDESCAPE + const EMR_OFFSETCLIPRGN + const EMR_PAINTRGN + const EMR_PIE + const EMR_PIXELFORMAT + const EMR_PLGBLT + const EMR_POLYBEZIER + const EMR_POLYBEZIER16 + const EMR_POLYBEZIERTO + const EMR_POLYBEZIERTO16 + const EMR_POLYDRAW + const EMR_POLYDRAW16 + const EMR_POLYGON + const EMR_POLYGON16 + const EMR_POLYLINE + const EMR_POLYLINE16 + const EMR_POLYLINETO + const EMR_POLYLINETO16 + const EMR_POLYPOLYGON + const EMR_POLYPOLYGON16 + const EMR_POLYPOLYLINE + const EMR_POLYPOLYLINE16 + const EMR_POLYTEXTOUTA + const EMR_POLYTEXTOUTW + const EMR_REALIZEPALETTE + const EMR_RECTANGLE + const EMR_RESIZEPALETTE + const EMR_RESTOREDC + const EMR_ROUNDRECT + const EMR_SAVEDC + const EMR_SCALEVIEWPORTEXTEX + const EMR_SCALEWINDOWEXTEX + const EMR_SELECTCLIPPATH + const EMR_SELECTOBJECT + const EMR_SELECTPALETTE + const EMR_SETARCDIRECTION + const EMR_SETBKCOLOR + const EMR_SETBKMODE + const EMR_SETBRUSHORGEX + const EMR_SETCOLORADJUSTMENT + const EMR_SETCOLORSPACE + const EMR_SETDIBITSTODEVICE + const EMR_SETICMMODE + const EMR_SETICMPROFILEA + const EMR_SETICMPROFILEW + const EMR_SETLAYOUT + const EMR_SETLINKEDUFIS + const EMR_SETMAPMODE + const EMR_SETMAPPERFLAGS + const EMR_SETMETARGN + const EMR_SETMITERLIMIT + const EMR_SETPALETTEENTRIES + const EMR_SETPIXELV + const EMR_SETPOLYFILLMODE + const EMR_SETROP2 + const EMR_SETSTRETCHBLTMODE + const EMR_SETTEXTALIGN + const EMR_SETTEXTCOLOR + const EMR_SETTEXTJUSTIFICATION + const EMR_SETVIEWPORTEXTEX + const EMR_SETVIEWPORTORGEX + const EMR_SETWINDOWEXTEX + const EMR_SETWINDOWORGEX + const EMR_SETWORLDTRANSFORM + const EMR_SMALLTEXTOUT + const EMR_STRETCHBLT + const EMR_STRETCHDIBITS + const EMR_STROKEANDFILLPATH + const EMR_STROKEPATH + const EMR_TRANSPARENTBLT + const EMR_WIDENPATH + const ENHMETA_SIGNATURE + const ETO_CLIPPED + const ETO_GLYPH_INDEX + const ETO_IGNORELANGUAGE + const ETO_NO_RECT + const ETO_NUMERICSLATIN + const ETO_NUMERICSLOCAL + const ETO_OPAQUE + const ETO_PDY + const ETO_REVERSE_INDEX_MAP + const ETO_RTLREADING + const ETO_SMALL_CHARS + const GM_ADVANCED + const GM_COMPATIBLE + const GRAY_BRUSH + const LTGRAY_BRUSH + const MM_ANISOTROPIC + const MM_HIENGLISH + const MM_HIMETRIC + const MM_ISOTROPIC + const MM_LOENGLISH + const MM_LOMETRIC + const MM_TEXT + const MM_TWIPS + const MWT_IDENTITY + const MWT_LEFTMULTIPLY + const MWT_RIGHTMULTIPLY + const MWT_SET + const NULL_BRUSH + const NULL_PEN + const OEM_FIXED_FONT + const OPAQUE + const PS_ALTERNATE + const PS_COSMETIC + const PS_DASH + const PS_DASHDOT + const PS_DASHDOTDOT + const PS_DOT + const PS_ENDCAP_FLAT + const PS_ENDCAP_ROUND + const PS_ENDCAP_SQUARE + const PS_GEOMETRIC + const PS_INSIDEFRAME + const PS_JOIN_BEVEL + const PS_JOIN_MITER + const PS_JOIN_ROUND + const PS_NULL + const PS_SOLID + const PS_USERSTYLE + const RGN_AND + const RGN_COPY + const RGN_DIFF + const RGN_OR + const RGN_XOR + const STRETCH_ANDSCANS + const STRETCH_DELETESCANS + const STRETCH_HALFTONE + const STRETCH_ORSCANS + const SYSTEM_FIXED_FONT + const SYSTEM_FONT + const TRANSPARENT + const WHITE_BRUSH + const WHITE_PEN + const WINDING + var StockObjects = map[uint32]interface + type ArcRecord struct + Box RectL + End PointL + Start PointL + func (r *ArcRecord) Draw(ctx *context) + type BeginpathRecord struct + func (r *BeginpathRecord) Draw(ctx *context) + type BitbltRecord struct + func (r *BitbltRecord) Draw(ctx *context) + type BitmapInfoHeader struct + BitCount uint16 + ColorImportant uint32 + ColorUsed uint32 + Compression uint32 + HeaderSize uint32 + Height int32 + ImageSize uint32 + Planes uint16 + Width int32 + XPelsPerMeter int32 + YPelsPerMeter int32 + type ClosefigureRecord struct + func (r *ClosefigureRecord) Draw(ctx *context) + type ColorRef struct + Blue uint8 + Green uint8 + Red uint8 + func (c ColorRef) GetColor() color.RGBA + type CommentRecord struct + type CreatebrushindirectRecord struct + LogBrush LogBrushEx + func (r *CreatebrushindirectRecord) Draw(ctx *context) + type CreatepenRecord struct + LogPen LogPen + func (r *CreatepenRecord) Draw(ctx *context) + type DeleteobjectRecord struct + func (r *DeleteobjectRecord) Draw(ctx *context) + type DibHeaderInfo struct + type EOFRecord struct + SizeLast uint32 + type EmfFile struct + EOF *EOFRecord + Header *HeaderRecord + Records []Recorder + func ReadFile(data []byte) (*EmfFile, error) + func (f *EmfFile) Draw() image.Image + type EmrText struct + Chars uint32 + Options uint32 + OutputDx []uint32 + OutputString string + Rectangle RectL + Reference PointL + type EndpathRecord struct + func (r *EndpathRecord) Draw(ctx *context) + type ExtcreatefontindirectwRecord struct + func (r *ExtcreatefontindirectwRecord) Draw(ctx *context) + type ExtcreatepenRecord struct + BitsSrc []byte + BmiSrc DibHeaderInfo + func (r *ExtcreatepenRecord) Draw(ctx *context) + type ExttextoutwRecord struct + Bounds RectL + type FillpathRecord struct + Bounds RectL + func (r *FillpathRecord) Draw(ctx *context) + type HeaderRecord struct + Bounds RectL + Bytes uint32 + Device SizeL + Frame RectL + Handles uint16 + Millimeters SizeL + RecordSignature uint32 + Records uint32 + Version uint32 + type IntersectcliprectRecord struct + Clip RectL + type LinetoRecord struct + Point PointL + func (r *LinetoRecord) Draw(ctx *context) + type LogBrushEx struct + BrushHatch uint32 + BrushStyle uint32 + Color ColorRef + type LogFont struct + CharSet uint8 + ClipPrecision uint8 + Escapement int32 + Facename string + Height int32 + Italic uint8 + Orientation int32 + OutPrecision uint8 + PitchAndFamily int8 + Quality uint8 + StrikeOut uint8 + Underline uint8 + Weight int32 + Width int32 + type LogPaletteEntry struct + Blue uint8 + Green uint8 + Red uint8 + type LogPen struct + ColorRef ColorRef + PenStyle uint32 + Width PointL + type LogPenEx struct + BrushHatch uint32 + BrushStyle uint32 + ColorRef ColorRef + NumStyleEntries uint32 + PenStyle uint32 + StyleEntry []uint32 + Width uint32 + type ModifyworldtransformRecord struct + ModifyWorldTransformMode uint32 + XForm XForm + func (r *ModifyworldtransformRecord) Draw(ctx *context) + type MovetoexRecord struct + Offset PointL + func (r *MovetoexRecord) Draw(ctx *context) + type PointL struct + X int32 + Y int32 + type PointS struct + X int16 + Y int16 + type Polybezier16Record struct + Bounds RectL + Count uint32 + func (r *Polybezier16Record) Draw(ctx *context) + type Polybezierto16Record struct + Bounds RectL + Count uint32 + func (r *Polybezierto16Record) Draw(ctx *context) + type Polygon16Record struct + Bounds RectL + Count uint32 + func (r *Polygon16Record) Draw(ctx *context) + type Polyline16Record struct + Bounds RectL + Count uint32 + func (r *Polyline16Record) Draw(ctx *context) + type Polylineto16Record struct + Bounds RectL + Count uint32 + func (r *Polylineto16Record) Draw(ctx *context) + type Polypolygon16Record struct + Bounds RectL + Count uint32 + NumberOfPolygons uint32 + PolygonPointCount []uint32 + func (r *Polypolygon16Record) Draw(ctx *context) + type Record struct + Size uint32 + Type uint32 + func (r *Record) Draw(ctx *context) + type Recorder interface + Draw func(*context) + type RectL struct + Bottom int32 + Left int32 + Right int32 + Top int32 + func (r RectL) Center() PointL + func (r RectL) Height() int32 + func (r RectL) Width() int32 + type RectangleRecord struct + Box RectL + func (r *RectangleRecord) Draw(ctx *context) + type RestoredcRecord struct + SavedDC int32 + func (r *RestoredcRecord) Draw(ctx *context) + type SavedcRecord struct + func (r *SavedcRecord) Draw(ctx *context) + type SelectclippathRecord struct + RegionMode uint32 + type SelectobjectRecord struct + func (r *SelectobjectRecord) Draw(ctx *context) + type SetbkcolorRecord struct + Color ColorRef + func (r *SetbkcolorRecord) Draw(ctx *context) + type SetbkmodeRecord struct + BackgroundMode uint32 + type SeticmmodeRecord struct + ICMMode uint32 + type SetmapmodeRecord struct + MapMode uint32 + func (r *SetmapmodeRecord) Draw(ctx *context) + type SetpolyfillmodeRecord struct + PolygonFillMode uint32 + func (r *SetpolyfillmodeRecord) Draw(ctx *context) + type SetstretchbltmodeRecord struct + StretchMode uint32 + type SettextalignRecord struct + TextAlignmentMode uint32 + type SettextcolorRecord struct + Color ColorRef + func (r *SettextcolorRecord) Draw(ctx *context) + type SetviewportextexRecord struct + Extent SizeL + func (r *SetviewportextexRecord) Draw(ctx *context) + type SetviewportorgexRecord struct + Origin PointL + func (r *SetviewportorgexRecord) Draw(ctx *context) + type SetwindowextexRecord struct + Extent SizeL + func (r *SetwindowextexRecord) Draw(ctx *context) + type SetwindoworgexRecord struct + Origin PointL + func (r *SetwindoworgexRecord) Draw(ctx *context) + type SetworldtransformRecord struct + XForm XForm + func (r *SetworldtransformRecord) Draw(ctx *context) + type SizeL struct + Cx int32 + Cy int32 + type StretchbltRecord struct + func (r *StretchbltRecord) Draw(ctx *context) + type StretchdibitsRecord struct + func (r *StretchdibitsRecord) Draw(ctx *context) + type StrokeandfillpathRecord struct + Bounds RectL + func (r *StrokeandfillpathRecord) Draw(ctx *context) + type StrokepathRecord struct + Bounds RectL + func (r *StrokepathRecord) Draw(ctx *context) + type XForm struct + Dx float32 + Dy float32 + M11 float32 + M12 float32 + M21 float32 + M22 float32