Back to index

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

List of all members.

Public Member Functions

 PdfFontMetrics (int size)
int stringWidth (String s)
int getHeight ()
int getAscent ()

Package Attributes

int Size

Detailed Description

Definition at line 13 of file MyGraphicsPDF.java.


Constructor & Destructor Documentation

Definition at line 16 of file MyGraphicsPDF.java.

       {      super(new Font("Courier",Font.PLAIN,size)); // a dummy font.
              Size=size;
       }

Member Function Documentation

Definition at line 29 of file MyGraphicsPDF.java.

       {      return Size*4/5; 
       }

Definition at line 25 of file MyGraphicsPDF.java.

       {      return Size; 
       }

Definition at line 21 of file MyGraphicsPDF.java.

       {      return s.length()*Size; 
       }

Member Data Documentation

Definition at line 14 of file MyGraphicsPDF.java.


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