com.pietjonas.wmfwriter2d
Class WMFGraphics

java.lang.Object
  extended by java.awt.Graphics
      extended by com.pietjonas.wmfwriter2d.WMFGraphics

public class WMFGraphics
extends java.awt.Graphics


Constructor Summary
WMFGraphics(WMF wmf1, int i, int j)
           
WMFGraphics(WMF wmf1, int i, int j, java.awt.Color color, java.awt.Color color1)
           
 
Method Summary
 void clearRect(int i, int j, int k, int l)
           
 void clipRect(int i, int j, int k, int l)
           
 void copyArea(int i, int j, int k, int l, int i1, int j1)
           
 java.awt.Graphics create()
           
 void createWMFHandles()
           
 void deleteGDIObjects()
           
 void dispose()
           
 void drawArc(int i, int j, int k, int l, int i1, int j1)
           
 boolean drawImage(java.awt.Image image, int i, int j, java.awt.Color color, java.awt.image.ImageObserver imageobserver)
           
 boolean drawImage(java.awt.Image image, int i, int j, java.awt.image.ImageObserver imageobserver)
           
 boolean drawImage(java.awt.Image image, int i, int j, int k, int l, java.awt.Color color, java.awt.image.ImageObserver imageobserver)
           
 boolean drawImage(java.awt.Image image, int i, int j, int k, int l, java.awt.image.ImageObserver imageobserver)
           
 boolean drawImage(java.awt.Image image, int i, int j, int k, int l, int i1, int j1, int k1, int l1, java.awt.Color color, java.awt.image.ImageObserver imageobserver)
           
 boolean drawImage(java.awt.Image image, int i, int j, int k, int l, int i1, int j1, int k1, int l1, java.awt.image.ImageObserver imageobserver)
           
 void drawLine(int i, int j, int k, int l)
           
 void drawOval(int i, int j, int k, int l)
           
 void drawPolygon(int[] ai, int[] ai1, int i)
           
 void drawPolyline(int[] ai, int[] ai1, int i)
           
 void drawRect(int i, int j, int k, int l)
           
 void drawRoundRect(int i, int j, int k, int l, int i1, int j1)
           
 void drawString(java.text.AttributedCharacterIterator attributedcharacteriterator, int i, int j)
           
 void drawString(java.lang.String s, int i, int j)
           
 void fillArc(int i, int j, int k, int l, int i1, int j1)
           
 void fillOval(int i, int j, int k, int l)
           
 void fillPolygon(int[] ai, int[] ai1, int i)
           
 void fillRect(int i, int j, int k, int l)
           
 void fillRoundRect(int i, int j, int k, int l, int i1, int j1)
           
 void GDIPolyPolygon(java.awt.Polygon[] apolygon)
           
 int getBrushFillStyle()
           
 int getBrushHatch()
           
 java.awt.Image getBrushPattern()
           
 java.awt.Shape getClip()
           
 java.awt.Rectangle getClipBounds()
           
 java.awt.Rectangle getClipRect()
           
 java.awt.Color getColor()
           
 java.awt.Font getFont()
           
 int getFontEscapement()
           
 java.awt.FontMetrics getFontMetrics(java.awt.Font font1)
           
 int getPenStyle()
           
 int getPenWidth()
           
 WMF getWMF()
           
 void reset()
           
 void restoreState()
           
 void setBrushFillStyle(int i)
           
 void setBrushHatch(int i)
           
 void setBrushPattern(java.awt.Image image)
           
 void setClip(int i, int j, int k, int l)
           
 void setClip(java.awt.Shape shape)
           
 void setColor(java.awt.Color color)
           
 void setFont(java.awt.Font font1)
           
 void setFontEscapement(int i)
           
 int setGDIFillBrush()
           
 int setGDIFont()
           
 int setGDIHollowBrush()
           
 int setGDIPen()
           
 void setPaintMode()
           
 void setPenStyle(int i)
           
 void setPenWidth(int i)
           
 void setWMF(WMF wmf1, int i, int j)
           
 void setXORMode(java.awt.Color color)
           
 void translate(int i, int j)
           
 
Methods inherited from class java.awt.Graphics
create, draw3DRect, drawBytes, drawChars, drawPolygon, fill3DRect, fillPolygon, finalize, getClipBounds, getFontMetrics, hitClip, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WMFGraphics

public WMFGraphics(WMF wmf1,
                   int i,
                   int j)

WMFGraphics

public WMFGraphics(WMF wmf1,
                   int i,
                   int j,
                   java.awt.Color color,
                   java.awt.Color color1)
Method Detail

reset

public void reset()

restoreState

public void restoreState()

setPenStyle

public void setPenStyle(int i)

getPenStyle

public int getPenStyle()

setPenWidth

public void setPenWidth(int i)

getPenWidth

public int getPenWidth()

setBrushFillStyle

public void setBrushFillStyle(int i)

getBrushFillStyle

public int getBrushFillStyle()

setBrushHatch

public void setBrushHatch(int i)

getBrushHatch

public int getBrushHatch()

setBrushPattern

public void setBrushPattern(java.awt.Image image)

getBrushPattern

public java.awt.Image getBrushPattern()

setFontEscapement

public void setFontEscapement(int i)

getFontEscapement

public int getFontEscapement()

createWMFHandles

public void createWMFHandles()

setWMF

public void setWMF(WMF wmf1,
                   int i,
                   int j)

getWMF

public WMF getWMF()

setGDIPen

public int setGDIPen()

setGDIHollowBrush

public int setGDIHollowBrush()

setGDIFillBrush

public int setGDIFillBrush()

setGDIFont

public int setGDIFont()

deleteGDIObjects

public void deleteGDIObjects()

GDIPolyPolygon

public void GDIPolyPolygon(java.awt.Polygon[] apolygon)

clearRect

public void clearRect(int i,
                      int j,
                      int k,
                      int l)
Specified by:
clearRect in class java.awt.Graphics

copyArea

public void copyArea(int i,
                     int j,
                     int k,
                     int l,
                     int i1,
                     int j1)
Specified by:
copyArea in class java.awt.Graphics

create

public java.awt.Graphics create()
Specified by:
create in class java.awt.Graphics

dispose

public void dispose()
Specified by:
dispose in class java.awt.Graphics

drawArc

public void drawArc(int i,
                    int j,
                    int k,
                    int l,
                    int i1,
                    int j1)
Specified by:
drawArc in class java.awt.Graphics

drawImage

public boolean drawImage(java.awt.Image image,
                         int i,
                         int j,
                         java.awt.Color color,
                         java.awt.image.ImageObserver imageobserver)
Specified by:
drawImage in class java.awt.Graphics

drawImage

public boolean drawImage(java.awt.Image image,
                         int i,
                         int j,
                         java.awt.image.ImageObserver imageobserver)
Specified by:
drawImage in class java.awt.Graphics

drawImage

public boolean drawImage(java.awt.Image image,
                         int i,
                         int j,
                         int k,
                         int l,
                         java.awt.Color color,
                         java.awt.image.ImageObserver imageobserver)
Specified by:
drawImage in class java.awt.Graphics

drawImage

public boolean drawImage(java.awt.Image image,
                         int i,
                         int j,
                         int k,
                         int l,
                         java.awt.image.ImageObserver imageobserver)
Specified by:
drawImage in class java.awt.Graphics

drawImage

public boolean drawImage(java.awt.Image image,
                         int i,
                         int j,
                         int k,
                         int l,
                         int i1,
                         int j1,
                         int k1,
                         int l1,
                         java.awt.Color color,
                         java.awt.image.ImageObserver imageobserver)
Specified by:
drawImage in class java.awt.Graphics

drawImage

public boolean drawImage(java.awt.Image image,
                         int i,
                         int j,
                         int k,
                         int l,
                         int i1,
                         int j1,
                         int k1,
                         int l1,
                         java.awt.image.ImageObserver imageobserver)
Specified by:
drawImage in class java.awt.Graphics

drawLine

public void drawLine(int i,
                     int j,
                     int k,
                     int l)
Specified by:
drawLine in class java.awt.Graphics

drawOval

public void drawOval(int i,
                     int j,
                     int k,
                     int l)
Specified by:
drawOval in class java.awt.Graphics

drawPolygon

public void drawPolygon(int[] ai,
                        int[] ai1,
                        int i)
Specified by:
drawPolygon in class java.awt.Graphics

drawPolyline

public void drawPolyline(int[] ai,
                         int[] ai1,
                         int i)
Specified by:
drawPolyline in class java.awt.Graphics

drawRect

public void drawRect(int i,
                     int j,
                     int k,
                     int l)
Overrides:
drawRect in class java.awt.Graphics

drawRoundRect

public void drawRoundRect(int i,
                          int j,
                          int k,
                          int l,
                          int i1,
                          int j1)
Specified by:
drawRoundRect in class java.awt.Graphics

drawString

public void drawString(java.lang.String s,
                       int i,
                       int j)
Specified by:
drawString in class java.awt.Graphics

drawString

public void drawString(java.text.AttributedCharacterIterator attributedcharacteriterator,
                       int i,
                       int j)
Specified by:
drawString in class java.awt.Graphics

fillArc

public void fillArc(int i,
                    int j,
                    int k,
                    int l,
                    int i1,
                    int j1)
Specified by:
fillArc in class java.awt.Graphics

fillOval

public void fillOval(int i,
                     int j,
                     int k,
                     int l)
Specified by:
fillOval in class java.awt.Graphics

fillPolygon

public void fillPolygon(int[] ai,
                        int[] ai1,
                        int i)
Specified by:
fillPolygon in class java.awt.Graphics

fillRect

public void fillRect(int i,
                     int j,
                     int k,
                     int l)
Specified by:
fillRect in class java.awt.Graphics

fillRoundRect

public void fillRoundRect(int i,
                          int j,
                          int k,
                          int l,
                          int i1,
                          int j1)
Specified by:
fillRoundRect in class java.awt.Graphics

clipRect

public void clipRect(int i,
                     int j,
                     int k,
                     int l)
Specified by:
clipRect in class java.awt.Graphics

getClip

public java.awt.Shape getClip()
Specified by:
getClip in class java.awt.Graphics

getClipRect

public java.awt.Rectangle getClipRect()
Overrides:
getClipRect in class java.awt.Graphics

getClipBounds

public java.awt.Rectangle getClipBounds()
Specified by:
getClipBounds in class java.awt.Graphics

setClip

public void setClip(int i,
                    int j,
                    int k,
                    int l)
Specified by:
setClip in class java.awt.Graphics

setClip

public void setClip(java.awt.Shape shape)
Specified by:
setClip in class java.awt.Graphics

getColor

public java.awt.Color getColor()
Specified by:
getColor in class java.awt.Graphics

getFont

public java.awt.Font getFont()
Specified by:
getFont in class java.awt.Graphics

getFontMetrics

public java.awt.FontMetrics getFontMetrics(java.awt.Font font1)
Specified by:
getFontMetrics in class java.awt.Graphics

setColor

public void setColor(java.awt.Color color)
Specified by:
setColor in class java.awt.Graphics

setFont

public void setFont(java.awt.Font font1)
Specified by:
setFont in class java.awt.Graphics

setPaintMode

public void setPaintMode()
Specified by:
setPaintMode in class java.awt.Graphics

setXORMode

public void setXORMode(java.awt.Color color)
Specified by:
setXORMode in class java.awt.Graphics

translate

public void translate(int i,
                      int j)
Specified by:
translate in class java.awt.Graphics