Back to index

wims  3.65+svn20090927
Public Member Functions | Package Attributes
rene.zirkel.graphics.MyGraphics Class Reference
Inheritance diagram for rene.zirkel.graphics.MyGraphics:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void setSize (double w, double h)
abstract void clearRect (int x, int y, int w, int h, Color c)
abstract void setColor (Color c)
abstract void setColor (ConstructionObject o)
abstract void setFillColor (ConstructionObject o)
abstract void setLabelColor (ConstructionObject o)
abstract void drawRect (double x, double y, double w, double h)
abstract void drawLine (double x, double y, double x1, double y1, ConstructionObject o)
abstract void drawLine (double x, double y, double x1, double y1)
abstract void drawThickLine (double x, double y, double x1, double y1)
abstract void drawArc (double x, double y, double w, double h, double a, double b)
abstract void drawArc (double x, double y, double w, double h, double a, double b, ConstructionObject o)
void drawCircleArc (double x, double y, double r, double a, double b, ConstructionObject o)
abstract void drawString (String s, double x, double y)
abstract void drawOval (double x, double y, double w, double h)
abstract void drawOval (double x, double y, double w, double h, ConstructionObject o)
void drawCircle (double x, double y, double r, ConstructionObject o)
abstract void fillRect (double x, double y, double w, double h, boolean outline, boolean transparent, ConstructionObject o)
abstract void fillOval (double x, double y, double w, double h, boolean outline, boolean transparent, ConstructionObject o)
abstract void fillPolygon (double x[], double y[], int n, boolean outline, boolean tranparent, ConstructionObject o)
abstract void fillArc (double x, double y, double w, double h, double a, double b, boolean outline, boolean transparent, boolean arc, ConstructionObject o)
abstract void drawImage (Image i, int x, int y, ImageObserver o)
abstract void drawImage (Image i, int x, int y, int w, int h, ImageObserver o)
abstract void drawImage (Image i, double x, double y, double x1, double y1, double x2, double y2, ImageObserver o)
abstract void setDefaultFont (int size, boolean large, boolean bold)
abstract void setFont (boolean large, boolean bold)
abstract void setFont (int size, boolean bold)
abstract FontMetrics getFontMetrics ()
abstract Graphics getGraphics ()
abstract int stringAscent (String s)
abstract int stringWidth (String s)
abstract int stringHeight (String s)
abstract int drawStringExtended (String s, double x, double y)

Package Attributes

double W = 1000
double H = 1000

Detailed Description

Definition at line 8 of file MyGraphics.java.


Member Function Documentation

abstract void rene.zirkel.graphics.MyGraphics.clearRect ( int  x,
int  y,
int  w,
int  h,
Color  c 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.drawArc ( double  x,
double  y,
double  w,
double  h,
double  a,
double  b 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.drawArc ( double  x,
double  y,
double  w,
double  h,
double  a,
double  b,
ConstructionObject  o 
) [pure virtual]
void rene.zirkel.graphics.MyGraphics.drawCircle ( double  x,
double  y,
double  r,
ConstructionObject  o 
) [inline]

Reimplemented in rene.zirkel.graphics.MyGraphics13.

Definition at line 33 of file MyGraphics.java.

       {      drawOval(x-r,y-r,2*r,2*r,o);
       }

Here is the call graph for this function:

Here is the caller graph for this function:

void rene.zirkel.graphics.MyGraphics.drawCircleArc ( double  x,
double  y,
double  r,
double  a,
double  b,
ConstructionObject  o 
) [inline]

Reimplemented in rene.zirkel.graphics.MyGraphics13.

Definition at line 25 of file MyGraphics.java.

       {      drawArc(x-r,y-r,2*r,2*r,a,b,o);
       }

Here is the call graph for this function:

Here is the caller graph for this function:

abstract void rene.zirkel.graphics.MyGraphics.drawImage ( Image  i,
int  x,
int  y,
ImageObserver  o 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.drawImage ( Image  i,
int  x,
int  y,
int  w,
int  h,
ImageObserver  o 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.drawImage ( Image  i,
double  x,
double  y,
double  x1,
double  y1,
double  x2,
double  y2,
ImageObserver  o 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.drawLine ( double  x,
double  y,
double  x1,
double  y1,
ConstructionObject  o 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.drawLine ( double  x,
double  y,
double  x1,
double  y1 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.drawOval ( double  x,
double  y,
double  w,
double  h 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.drawOval ( double  x,
double  y,
double  w,
double  h,
ConstructionObject  o 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.drawRect ( double  x,
double  y,
double  w,
double  h 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.drawString ( String  s,
double  x,
double  y 
) [pure virtual]
abstract int rene.zirkel.graphics.MyGraphics.drawStringExtended ( String  s,
double  x,
double  y 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.drawThickLine ( double  x,
double  y,
double  x1,
double  y1 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.fillArc ( double  x,
double  y,
double  w,
double  h,
double  a,
double  b,
boolean  outline,
boolean  transparent,
boolean  arc,
ConstructionObject  o 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.fillOval ( double  x,
double  y,
double  w,
double  h,
boolean  outline,
boolean  transparent,
ConstructionObject  o 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.fillPolygon ( double  x[],
double  y[],
int  n,
boolean  outline,
boolean  tranparent,
ConstructionObject  o 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.fillRect ( double  x,
double  y,
double  w,
double  h,
boolean  outline,
boolean  transparent,
ConstructionObject  o 
) [pure virtual]
abstract FontMetrics rene.zirkel.graphics.MyGraphics.getFontMetrics ( ) [pure virtual]
abstract Graphics rene.zirkel.graphics.MyGraphics.getGraphics ( ) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.setColor ( Color  c) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.setColor ( ConstructionObject  o) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.setDefaultFont ( int  size,
boolean  large,
boolean  bold 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.setFont ( boolean  large,
boolean  bold 
) [pure virtual]
abstract void rene.zirkel.graphics.MyGraphics.setFont ( int  size,
boolean  bold 
) [pure virtual]
void rene.zirkel.graphics.MyGraphics.setSize ( double  w,
double  h 
) [inline]

Definition at line 10 of file MyGraphics.java.

       {      W=w; H=h;
       } 
abstract int rene.zirkel.graphics.MyGraphics.stringAscent ( String  s) [pure virtual]
abstract int rene.zirkel.graphics.MyGraphics.stringHeight ( String  s) [pure virtual]
abstract int rene.zirkel.graphics.MyGraphics.stringWidth ( String  s) [pure virtual]

Member Data Documentation

double rene.zirkel.graphics.MyGraphics.H = 1000 [package]

Reimplemented in rene.zirkel.graphics.MyGraphicsPDF, and rene.zirkel.graphics.MyGraphicsSvg.

Definition at line 9 of file MyGraphics.java.

double rene.zirkel.graphics.MyGraphics.W = 1000 [package]

Reimplemented in rene.zirkel.graphics.MyGraphicsPDF, and rene.zirkel.graphics.MyGraphicsSvg.

Definition at line 9 of file MyGraphics.java.


The documentation for this class was generated from the following file: