|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Paintable interface allows for implementors of this interface to paint in the QTCanvas (via the QTImageDrawer).
Standard AWT paint calls can be made on the graphics object that is supplied in the paint call, with the rendered image being drawn by QuickTime.
quicktime.app.display.QTImageDrawer
Method Summary | |
void |
newSizeNotified(QTImageDrawer drawer,
java.awt.Dimension d)
The Container object (QTImageDrawer) of the Paintable tells the paintable object the size of its available drawing surface. |
java.awt.Rectangle[] |
paint(java.awt.Graphics g)
Paint on the graphics. |
Method Detail |
public void newSizeNotified(QTImageDrawer drawer, java.awt.Dimension d)
After this call is received by the Paintable it should return in the paint method a rectangle that describes the complete size of the image.
drawer
- the QTImageDrawer that is notifiying the Paintable object that its size has changed.d
- the new size of the offscreen image that the painter can paint into.public java.awt.Rectangle[] paint(java.awt.Graphics g)
g
- the graphics to paint on.the
- specific areas within the paintable's bounds that were repainted in this call,
or null if the there is no change to the existing pixel data.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |