TPTP 4.6.0 Platform Project
Internal API Specification

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

All Known Implementing Classes:
Circle, Ellipse, Oval, RoundedRect

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 IShapeFiller

This interface is used to tag IShape or IBrush implementor, to declare they know how to fill a shape with this brush, using methods of IGCDirect.


Method Summary
 boolean fillShape(IGC gc, IGCDirect gd, IBrush brush, IShape shape)
          Deprecated. fill given shape using brush (current brush in gc) using gc.
 

Method Detail

fillShape

boolean fillShape(IGC gc,
                  IGCDirect gd,
                  IBrush brush,
                  IShape shape)
Deprecated. 
fill given shape using brush (current brush in gc) using gc. Note: this method is responsible to call brush.start/end methods. Note: fillShape might have better result if shape is converted to device coordinate.

Parameters:
gc - gc which request the shape filling.
gd - gd used to fill shape shape (but gc can be used too).
brush - current gc brush used to fill shape.
shape - shape to fill.
Returns:
true is shape is filled, false otherwise.

TPTP 4.6.0 Platform Project
Internal API Specification