Interface HwmfRecord

All Known Implementing Classes:
HwmfDraw.WmfArc, HwmfDraw.WmfChord, HwmfDraw.WmfEllipse, HwmfDraw.WmfFrameRegion, HwmfDraw.WmfLineTo, HwmfDraw.WmfMoveTo, HwmfDraw.WmfPie, HwmfDraw.WmfPolygon, HwmfDraw.WmfPolyline, HwmfDraw.WmfPolyPolygon, HwmfDraw.WmfRectangle, HwmfDraw.WmfRoundRect, HwmfDraw.WmfSelectObject, HwmfDraw.WmfSetPixel, HwmfEscape, HwmfFill.WmfBitBlt, HwmfFill.WmfDibBitBlt, HwmfFill.WmfDibStretchBlt, HwmfFill.WmfExtFloodFill, HwmfFill.WmfFillRegion, HwmfFill.WmfFloodFill, HwmfFill.WmfInvertRegion, HwmfFill.WmfPaintRegion, HwmfFill.WmfPatBlt, HwmfFill.WmfSetDibToDev, HwmfFill.WmfSetPolyfillMode, HwmfFill.WmfStretchBlt, HwmfFill.WmfStretchDib, HwmfMisc.WmfCreateBrushIndirect, HwmfMisc.WmfCreatePatternBrush, HwmfMisc.WmfCreatePenIndirect, HwmfMisc.WmfDeleteObject, HwmfMisc.WmfDibCreatePatternBrush, HwmfMisc.WmfRestoreDc, HwmfMisc.WmfSaveDc, HwmfMisc.WmfSetBkColor, HwmfMisc.WmfSetBkMode, HwmfMisc.WmfSetLayout, HwmfMisc.WmfSetMapMode, HwmfMisc.WmfSetMapperFlags, HwmfMisc.WmfSetRelabs, HwmfMisc.WmfSetRop2, HwmfMisc.WmfSetStretchBltMode, HwmfPalette.WmfAnimatePalette, HwmfPalette.WmfCreatePalette, HwmfPalette.WmfPaletteParent, HwmfPalette.WmfRealizePalette, HwmfPalette.WmfResizePalette, HwmfPalette.WmfSelectPalette, HwmfPalette.WmfSetPaletteEntries, HwmfText.WmfCreateFontIndirect, HwmfText.WmfExtTextOut, HwmfText.WmfSetTextAlign, HwmfText.WmfSetTextCharExtra, HwmfText.WmfSetTextColor, HwmfText.WmfSetTextJustification, HwmfText.WmfTextOut, HwmfWindowing.WmfCreateRegion, HwmfWindowing.WmfExcludeClipRect, HwmfWindowing.WmfIntersectClipRect, HwmfWindowing.WmfOffsetClipRgn, HwmfWindowing.WmfOffsetViewportOrg, HwmfWindowing.WmfOffsetWindowOrg, HwmfWindowing.WmfScaleViewportExt, HwmfWindowing.WmfScaleWindowExt, HwmfWindowing.WmfSelectClipRegion, HwmfWindowing.WmfSetViewportExt, HwmfWindowing.WmfSetViewportOrg, HwmfWindowing.WmfSetWindowExt, HwmfWindowing.WmfSetWindowOrg

public interface HwmfRecord
  • Method Details

    • getRecordType

      HwmfRecordType getRecordType()
    • init

      int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws IOException
      Init record from stream
      Parameters:
      leis - the little endian input stream
      Returns:
      count of processed bytes
      Throws:
      IOException
    • draw

      void draw(HwmfGraphics ctx)
      Apply the record settings to the graphics context
      Parameters:
      ctx - the graphics context to modify