|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.tptp.platform.report.birt).
public interface IGCDirect
IGCDirect is used by IGC, IPen and IBrush to draw directly at device level graphics. IPath, IPathElement and IShapeFiller can use this interface to convert pixel coordinates to device coordinate too. IGCDirect is linked to a IGC. Methods provided here use current IGC's brush to paint, except one with explicit RGBA color in parameters.
| Method Summary | |
|---|---|
int |
devX(int pixX)
Deprecated. |
int |
devY(int pixY)
Deprecated. |
void |
drawHLineDirect(int x1,
int x2,
int y)
Deprecated. Draw an horizontal line using current IGC brush, this method use device coordinates. |
void |
drawLineDirect(int x1,
int y1,
int x2,
int y2)
Deprecated. Draw a line using current brush, this method use device coordinates |
void |
drawPointDirect(int x,
int y,
int _rgba)
Deprecated. Draw pixel at location (x,y) in device coordinates using color _rgba (never brush). |
void |
drawRectDirect(int x,
int y,
int w,
int h)
Deprecated. Draw given rectangle in device coordinates using current brush. |
void |
drawVLineDirect(int x,
int y1,
int y2)
Deprecated. Draw a vertical line using current IGC brush, this method use device coordinates |
void |
fillRectDirect(int x,
int y,
int w,
int h)
Deprecated. fill given rectangle in device coordinates using current brush. |
IGC |
getIGC()
Deprecated. |
int |
getPointDirect(int x,
int y)
Deprecated. Same as getPixel() but x,y are in device coordinates (not in pixel), this method is provided as the opposite of drawPixelDirect(). |
int |
pixX(int devX)
Deprecated. |
int |
pixY(int devY)
Deprecated. |
boolean |
usePixelCoordinates()
Deprecated. |
| Method Detail |
|---|
IGC getIGC()
boolean usePixelCoordinates()
int devX(int pixX)
int devY(int pixY)
int pixX(int devX)
int pixY(int devY)
void drawHLineDirect(int x1,
int x2,
int y)
void drawVLineDirect(int x,
int y1,
int y2)
void drawLineDirect(int x1,
int y1,
int x2,
int y2)
void drawPointDirect(int x,
int y,
int _rgba)
int getPointDirect(int x,
int y)
x - y -
void fillRectDirect(int x,
int y,
int w,
int h)
void drawRectDirect(int x,
int y,
int w,
int h)
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||