Class SWTOutputDevice

    • Constructor Detail

      • SWTOutputDevice

        public SWTOutputDevice​(org.eclipse.swt.graphics.GC gc)
    • Method Detail

      • getGC

        public org.eclipse.swt.graphics.GC getGC()
        Returns:
        the Graphical Context associated with this OutputDevice
      • clean

        public void clean()
        Clean used resources.
      • clip

        public void clip​(Shape s)
      • setClip

        public void setClip​(Shape s)
      • getClip

        public Shape getClip()
      • drawBorderLine

        public void drawBorderLine​(Shape bounds,
                                   int side,
                                   int lineWidth,
                                   boolean solid)
      • drawImage

        public void drawImage​(FSImage image,
                              int x,
                              int y)
      • drawOval

        public void drawOval​(int x,
                             int y,
                             int width,
                             int height)
      • drawRect

        public void drawRect​(int x,
                             int y,
                             int width,
                             int height)
      • draw

        public void draw​(Shape s)
      • fill

        public void fill​(Shape s)
      • fillOval

        public void fillOval​(int x,
                             int y,
                             int width,
                             int height)
      • fillRect

        public void fillRect​(int x,
                             int y,
                             int width,
                             int height)
      • setColor

        public void setColor​(Color color)
      • setFont

        public void setFont​(FSFont font)
      • setColor

        public void setColor​(FSColor color)
      • getStroke

        public Stroke getStroke()
      • setStroke

        public void setStroke​(Stroke s)
      • translate

        public void translate​(double tx,
                              double ty)
      • isSupportsSelection

        public boolean isSupportsSelection()
      • isSupportsCMYKColors

        public boolean isSupportsCMYKColors()