Class WmfGdi

  • All Implemented Interfaces:
    Gdi

    public class WmfGdi
    extends Object
    implements Gdi
    • Constructor Detail

      • WmfGdi

        public WmfGdi()
    • Method Detail

      • placeableHeader

        public void placeableHeader​(int vsx,
                                    int vsy,
                                    int vex,
                                    int vey,
                                    int dpi)
        Specified by:
        placeableHeader in interface Gdi
      • header

        public void header()
        Specified by:
        header in interface Gdi
      • animatePalette

        public void animatePalette​(GdiPalette palette,
                                   int startIndex,
                                   int[] entries)
        Specified by:
        animatePalette in interface Gdi
      • arc

        public void arc​(int sxr,
                        int syr,
                        int exr,
                        int eyr,
                        int sxa,
                        int sya,
                        int exa,
                        int eya)
        Specified by:
        arc in interface Gdi
      • bitBlt

        public void bitBlt​(byte[] image,
                           int dx,
                           int dy,
                           int dw,
                           int dh,
                           int sx,
                           int sy,
                           long rop)
        Specified by:
        bitBlt in interface Gdi
      • chord

        public void chord​(int sxr,
                          int syr,
                          int exr,
                          int eyr,
                          int sxa,
                          int sya,
                          int exa,
                          int eya)
        Specified by:
        chord in interface Gdi
      • createBrushIndirect

        public GdiBrush createBrushIndirect​(int style,
                                            int color,
                                            int hatch)
        Specified by:
        createBrushIndirect in interface Gdi
      • createFontIndirect

        public GdiFont createFontIndirect​(int height,
                                          int width,
                                          int escapement,
                                          int orientation,
                                          int weight,
                                          boolean italic,
                                          boolean underline,
                                          boolean strikeout,
                                          int charset,
                                          int outPrecision,
                                          int clipPrecision,
                                          int quality,
                                          int pitchAndFamily,
                                          byte[] faceName)
        Specified by:
        createFontIndirect in interface Gdi
      • createPenIndirect

        public GdiPen createPenIndirect​(int style,
                                        int width,
                                        int color)
        Specified by:
        createPenIndirect in interface Gdi
      • createRectRgn

        public GdiRegion createRectRgn​(int left,
                                       int top,
                                       int right,
                                       int bottom)
        Specified by:
        createRectRgn in interface Gdi
      • dibBitBlt

        public void dibBitBlt​(byte[] image,
                              int dx,
                              int dy,
                              int dw,
                              int dh,
                              int sx,
                              int sy,
                              long rop)
        Specified by:
        dibBitBlt in interface Gdi
      • dibStretchBlt

        public void dibStretchBlt​(byte[] image,
                                  int dx,
                                  int dy,
                                  int dw,
                                  int dh,
                                  int sx,
                                  int sy,
                                  int sw,
                                  int sh,
                                  long rop)
        Specified by:
        dibStretchBlt in interface Gdi
      • ellipse

        public void ellipse​(int sx,
                            int sy,
                            int ex,
                            int ey)
        Specified by:
        ellipse in interface Gdi
      • escape

        public void escape​(byte[] data)
        Specified by:
        escape in interface Gdi
      • excludeClipRect

        public int excludeClipRect​(int left,
                                   int top,
                                   int right,
                                   int bottom)
        Specified by:
        excludeClipRect in interface Gdi
      • extFloodFill

        public void extFloodFill​(int x,
                                 int y,
                                 int color,
                                 int type)
        Specified by:
        extFloodFill in interface Gdi
      • extTextOut

        public void extTextOut​(int x,
                               int y,
                               int options,
                               int[] rect,
                               byte[] text,
                               int[] lpdx)
        Specified by:
        extTextOut in interface Gdi
      • floodFill

        public void floodFill​(int x,
                              int y,
                              int color)
        Specified by:
        floodFill in interface Gdi
      • intersectClipRect

        public void intersectClipRect​(int left,
                                      int top,
                                      int right,
                                      int bottom)
        Specified by:
        intersectClipRect in interface Gdi
      • lineTo

        public void lineTo​(int ex,
                           int ey)
        Specified by:
        lineTo in interface Gdi
      • moveToEx

        public void moveToEx​(int x,
                             int y,
                             Point old)
        Specified by:
        moveToEx in interface Gdi
      • offsetClipRgn

        public void offsetClipRgn​(int x,
                                  int y)
        Specified by:
        offsetClipRgn in interface Gdi
      • offsetViewportOrgEx

        public void offsetViewportOrgEx​(int x,
                                        int y,
                                        Point point)
        Specified by:
        offsetViewportOrgEx in interface Gdi
      • offsetWindowOrgEx

        public void offsetWindowOrgEx​(int x,
                                      int y,
                                      Point point)
        Specified by:
        offsetWindowOrgEx in interface Gdi
      • patBlt

        public void patBlt​(int x,
                           int y,
                           int width,
                           int height,
                           long rop)
        Specified by:
        patBlt in interface Gdi
      • pie

        public void pie​(int sx,
                        int sy,
                        int ex,
                        int ey,
                        int sxr,
                        int syr,
                        int exr,
                        int eyr)
        Specified by:
        pie in interface Gdi
      • polygon

        public void polygon​(Point[] points)
        Specified by:
        polygon in interface Gdi
      • polyline

        public void polyline​(Point[] points)
        Specified by:
        polyline in interface Gdi
      • polyPolygon

        public void polyPolygon​(Point[][] points)
        Specified by:
        polyPolygon in interface Gdi
      • realizePalette

        public void realizePalette()
        Specified by:
        realizePalette in interface Gdi
      • restoreDC

        public void restoreDC​(int savedDC)
        Specified by:
        restoreDC in interface Gdi
      • rectangle

        public void rectangle​(int sx,
                              int sy,
                              int ex,
                              int ey)
        Specified by:
        rectangle in interface Gdi
      • roundRect

        public void roundRect​(int sx,
                              int sy,
                              int ex,
                              int ey,
                              int rw,
                              int rh)
        Specified by:
        roundRect in interface Gdi
      • seveDC

        public void seveDC()
        Specified by:
        seveDC in interface Gdi
      • scaleViewportExtEx

        public void scaleViewportExtEx​(int x,
                                       int xd,
                                       int y,
                                       int yd,
                                       Size old)
        Specified by:
        scaleViewportExtEx in interface Gdi
      • scaleWindowExtEx

        public void scaleWindowExtEx​(int x,
                                     int xd,
                                     int y,
                                     int yd,
                                     Size old)
        Specified by:
        scaleWindowExtEx in interface Gdi
      • setBkColor

        public void setBkColor​(int color)
        Specified by:
        setBkColor in interface Gdi
      • setBkMode

        public void setBkMode​(int mode)
        Specified by:
        setBkMode in interface Gdi
      • setDIBitsToDevice

        public void setDIBitsToDevice​(int dx,
                                      int dy,
                                      int dw,
                                      int dh,
                                      int sx,
                                      int sy,
                                      int startscan,
                                      int scanlines,
                                      byte[] image,
                                      int colorUse)
        Specified by:
        setDIBitsToDevice in interface Gdi
      • setLayout

        public void setLayout​(long layout)
        Specified by:
        setLayout in interface Gdi
      • setMapMode

        public void setMapMode​(int mode)
        Specified by:
        setMapMode in interface Gdi
      • setMapperFlags

        public void setMapperFlags​(long flags)
        Specified by:
        setMapperFlags in interface Gdi
      • setPaletteEntries

        public void setPaletteEntries​(GdiPalette palette,
                                      int startIndex,
                                      int[] entries)
        Specified by:
        setPaletteEntries in interface Gdi
      • setPixel

        public void setPixel​(int x,
                             int y,
                             int color)
        Specified by:
        setPixel in interface Gdi
      • setPolyFillMode

        public void setPolyFillMode​(int mode)
        Specified by:
        setPolyFillMode in interface Gdi
      • setRelAbs

        public void setRelAbs​(int mode)
        Specified by:
        setRelAbs in interface Gdi
      • setROP2

        public void setROP2​(int mode)
        Specified by:
        setROP2 in interface Gdi
      • setStretchBltMode

        public void setStretchBltMode​(int mode)
        Specified by:
        setStretchBltMode in interface Gdi
      • setTextAlign

        public void setTextAlign​(int align)
        Specified by:
        setTextAlign in interface Gdi
      • setTextCharacterExtra

        public void setTextCharacterExtra​(int extra)
        Specified by:
        setTextCharacterExtra in interface Gdi
      • setTextColor

        public void setTextColor​(int color)
        Specified by:
        setTextColor in interface Gdi
      • setTextJustification

        public void setTextJustification​(int breakExtra,
                                         int breakCount)
        Specified by:
        setTextJustification in interface Gdi
      • setViewportExtEx

        public void setViewportExtEx​(int x,
                                     int y,
                                     Size old)
        Specified by:
        setViewportExtEx in interface Gdi
      • setViewportOrgEx

        public void setViewportOrgEx​(int x,
                                     int y,
                                     Point old)
        Specified by:
        setViewportOrgEx in interface Gdi
      • setWindowExtEx

        public void setWindowExtEx​(int width,
                                   int height,
                                   Size old)
        Specified by:
        setWindowExtEx in interface Gdi
      • setWindowOrgEx

        public void setWindowOrgEx​(int x,
                                   int y,
                                   Point old)
        Specified by:
        setWindowOrgEx in interface Gdi
      • stretchBlt

        public void stretchBlt​(byte[] image,
                               int dx,
                               int dy,
                               int dw,
                               int dh,
                               int sx,
                               int sy,
                               int sw,
                               int sh,
                               long rop)
        Specified by:
        stretchBlt in interface Gdi
      • stretchDIBits

        public void stretchDIBits​(int dx,
                                  int dy,
                                  int dw,
                                  int dh,
                                  int sx,
                                  int sy,
                                  int sw,
                                  int sh,
                                  byte[] image,
                                  int usage,
                                  long rop)
        Specified by:
        stretchDIBits in interface Gdi
      • textOut

        public void textOut​(int x,
                            int y,
                            byte[] text)
        Specified by:
        textOut in interface Gdi
      • footer

        public void footer()
        Specified by:
        footer in interface Gdi