|
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 IOGCAdapter
Interface from graphic layer at device resolution and Offscreen IGC. This is made to no include any dependency to underlaying graphic system in OGC.
| Method Summary | |
|---|---|
void |
dispose()
Deprecated. Dispose any system resource, adapter is known to be unusable after this call. |
boolean |
drawImage(int[] buf,
int width,
int height,
IImage image,
int x,
int y)
Deprecated. Draw in RGBA buffer (widthxheight), the image at given location. |
boolean |
drawImage(int[] buf,
int width,
int height,
IImage image,
int x,
int y,
int w,
int h)
Deprecated. Same as drawImage(x,y) but image is rescaled to w x h. |
boolean |
drawImage(int[] buf,
int width,
int height,
IImage image,
int srcX,
int srcY,
int srcW,
int srcH,
int dstX,
int dstY,
int dstW,
int dstH)
Deprecated. Same as drawImage(x,y,w,h), but only part (srcX,srcY,srcW,srcH) of source image must be drawn in given buffer. |
IFont |
getFont()
Deprecated. |
IFontMetrics |
getFontMetrics()
Deprecated. |
float |
getKdpiX()
Deprecated. |
float |
getKdpiY()
Deprecated. |
int |
getSystemColor(int id)
Deprecated. |
RGBAImage |
getTextImage(java.lang.String text,
ISize size)
Deprecated. |
void |
restart()
Deprecated. called on OGC.restart() |
void |
setFont(IFont font)
Deprecated. change adapter font |
Size |
textExtent(java.lang.String text)
Deprecated. |
| Method Detail |
|---|
void restart()
void dispose()
float getKdpiX()
float getKdpiY()
int getSystemColor(int id)
Size textExtent(java.lang.String text)
RGBAImage getTextImage(java.lang.String text,
ISize size)
IFont getFont()
void setFont(IFont font)
IFontMetrics getFontMetrics()
boolean drawImage(int[] buf,
int width,
int height,
IImage image,
int x,
int y)
boolean drawImage(int[] buf,
int width,
int height,
IImage image,
int x,
int y,
int w,
int h)
boolean drawImage(int[] buf,
int width,
int height,
IImage image,
int srcX,
int srcY,
int srcW,
int srcH,
int dstX,
int dstY,
int dstW,
int dstH)
|
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 | ||||||||