|
TinyLine 2.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.tinyline.svg.SVGRaster
public class 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 |
SVGNode |
root
The current SVGT root |
static int |
version
The SVGRaster version number |
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 |
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 SVGDocument document
public SVGNode root
public static final int version
public TinyRect viewport
| Constructor Detail |
|---|
public SVGRaster(TinyBuffer pixbuf)
pixbuf - the pixel buffer.| Method Detail |
|---|
public SVGDocument createSVGDocument()
public void flush()
public SVGDocument getSVGDocument()
public Tiny2D getTiny2D()
public void paint()
public void setSVGDocument(SVGDocument doc)
public void update()
|
TinyLine 2.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||