geomerative
public class RSVG extends java.lang.Object
Constructor and Description |
---|
RSVG() |
Modifier and Type | Method and Description |
---|---|
void |
draw(java.lang.String filename) |
void |
draw(java.lang.String filename,
processing.core.PApplet p) |
void |
draw(java.lang.String filename,
processing.core.PGraphics g) |
RShape |
elemToCircle(processing.data.XML elem) |
RShape |
elemToCompositeShape(processing.data.XML elem) |
RShape |
elemToEllipse(processing.data.XML elem) |
RGroup |
elemToGroup(processing.data.XML elem) |
RShape |
elemToLine(processing.data.XML elem) |
RShape |
elemToPolygon(processing.data.XML elem) |
RShape |
elemToPolyline(processing.data.XML elem) |
RShape |
elemToRect(processing.data.XML elem) |
RShape |
elemToShape(processing.data.XML elem) |
java.lang.String |
fromGroup(RGroup group) |
java.lang.String |
fromShape(RShape shape) |
java.lang.String |
groupToString(RGroup grp) |
java.lang.String |
polygonToString(RPolygon poly) |
void |
saveGroup(java.lang.String filename,
RGroup grp) |
void |
saveShape(java.lang.String filename,
RShape shp) |
java.lang.String |
shapeToString(RShape shp) |
java.lang.String |
styleToString(RStyle style) |
RGroup |
toGroup(java.lang.String filename) |
RMesh |
toMesh(java.lang.String filename) |
RPolygon |
toPolygon(java.lang.String filename) |
RShape |
toShape(java.lang.String filename) |
float |
unitsToPixels(java.lang.String units,
float originalPxSize) |
float |
unitsToPixels(java.lang.String units,
float originalPxSize,
float dpi) |
public void draw(java.lang.String filename, processing.core.PGraphics g)
public void draw(java.lang.String filename, processing.core.PApplet p)
public void draw(java.lang.String filename)
public void saveShape(java.lang.String filename, RShape shp)
public java.lang.String fromShape(RShape shape)
public void saveGroup(java.lang.String filename, RGroup grp)
public java.lang.String fromGroup(RGroup group)
public RGroup toGroup(java.lang.String filename)
public float unitsToPixels(java.lang.String units, float originalPxSize)
public float unitsToPixels(java.lang.String units, float originalPxSize, float dpi)
public RShape toShape(java.lang.String filename)
public RPolygon toPolygon(java.lang.String filename)
public RMesh toMesh(java.lang.String filename)
public java.lang.String groupToString(RGroup grp)
public java.lang.String polygonToString(RPolygon poly)
public java.lang.String shapeToString(RShape shp)
public java.lang.String styleToString(RStyle style)
public RGroup elemToGroup(processing.data.XML elem)
public RShape elemToCompositeShape(processing.data.XML elem)
public RShape elemToPolyline(processing.data.XML elem)
public RShape elemToPolygon(processing.data.XML elem)
public RShape elemToRect(processing.data.XML elem)
public RShape elemToLine(processing.data.XML elem)
public RShape elemToEllipse(processing.data.XML elem)
public RShape elemToCircle(processing.data.XML elem)
public RShape elemToShape(processing.data.XML elem)
Geomerative by Ricard Marxer, http://www.ricardmarxer.com/geomerative/