|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PrintPiece
A piece of a Print, which is capable of drawing itself on a graphics device. PrintPiece objects are created by a PrintIterator.
| Method Summary | |
|---|---|
void |
dispose()
Disposes the system resources allocated by this PrintPiece. |
org.eclipse.swt.graphics.Point |
getSize()
Returns the dimensions of this PrintPiece, in pixels. |
void |
paint(org.eclipse.swt.graphics.GC gc,
int x,
int y)
Draws this PrintPiece on the given graphics device, at the given coordinates. |
| Method Detail |
|---|
org.eclipse.swt.graphics.Point getSize()
void paint(org.eclipse.swt.graphics.GC gc,
int x,
int y)
gc - a graphics context for the graphics device.x - the x coordinate where this PrintPiece will be drawn.y - the x coordinate where this PrintPiece will be drawn.void dispose()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||