TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.igc.internal
Interface IPen

All Known Implementing Classes:
LineStylePen

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public interface IPen

Define a Pen, a Pen can be used by a IGC to draw line and path (line,curve,...). If IGC have "native" support for this kind of pen, it can draw line or path without calling IPen.drawPath(), this method is used as a last resort. In other hand, IPen can choose to not support sub set of its feature in drawPath.

See Also:
IGC, IGCDirect, IPath

Method Summary
 IPen copyPen()
          Deprecated.  
 void drawPath(IGC gc, IGCDirect gd, IPath path)
          Deprecated. Draw the given path using this pen.
 

Method Detail

copyPen

IPen copyPen()
Deprecated. 
Returns:
a full copy of this pen

drawPath

void drawPath(IGC gc,
              IGCDirect gd,
              IPath path)
Deprecated. 
Draw the given path using this pen. This is the role or drawPath to call pathBegin() and path.pathEnd().

Parameters:
gc - IGC which require the path drawing.
gd - IGCDirect used to convert to device coordinate and draw to low level graphics.
path - IPath to draw.

TPTP 4.5.0 Platform Project
Internal API Specification