|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tinyline.svg.SVGRaster
The SVGRaster class rasterizes the tree of SVGNodes onto the pixel buffer.
Nodes in the SVGT tree have an implicit z drawing order. Subsequent nodes are painted on top of previously painted nodes.
When a graphic object is rendered, the geometry, image, and attribute information are combined to calculate which pixel values must be changed
| Field Summary | |
SVGDocument |
document
The current SVGT document |
SVGRect |
origview
The original viewport for this SVGRaster. |
SVGNode |
root
The current SVGT root |
static int |
version
The SVGRaster version number |
SVGRect |
view
The current viewport for this SVGRaster. |
TinyRect |
viewport
The current device viewport for this SVGRaster. |
| Constructor Summary | |
SVGRaster(TinyBuffer pixbuf)
Constructs a new SVGRaster for the given pixel buffer. |
|
| Method Summary | |
SVGDocument |
createSVGDocument()
Creates and returns a new EMPTY SVGT Document. |
void |
flush()
Flushs the SVGRaster allocated resources. |
SVGDocument |
getSVGDocument()
Returns the current SVGT Document. |
Tiny2D |
getTiny2D()
Returns the current Tiny2D object. |
void |
paint()
Paints the area under the device clip rectangle. |
void |
setCamera()
Sets the camera transform of this SVGRaster. |
void |
setSVGDocument(SVGDocument doc)
Sets the new current SVGT document. |
void |
update()
Updates the area under the device clip rectangle. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int version
public SVGDocument document
public SVGNode root
public SVGRect view
public SVGRect origview
public TinyRect viewport
| Constructor Detail |
public SVGRaster(TinyBuffer pixbuf)
pixbuf - the pixel buffer.| Method Detail |
public void setSVGDocument(SVGDocument doc)
public SVGDocument createSVGDocument()
public SVGDocument getSVGDocument()
public Tiny2D getTiny2D()
public void flush()
public void setCamera()
public void update()
public void paint()
|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||