HE_Mesh  5.1.0
geomerative.RSVG Class Reference

Public Member Functions

void draw (String filename, PGraphics g)
 
void draw (String filename, PApplet p)
 
void draw (String filename)
 
void saveShape (String filename, RShape shp)
 
String fromShape (RShape shape)
 
void saveGroup (String filename, RGroup grp)
 
String fromGroup (RGroup group)
 
RGroup toGroup (String filename)
 
float unitsToPixels (String units, float originalPxSize)
 
float unitsToPixels (String units, float originalPxSize, float dpi)
 
RShape toShape (String filename)
 
RPolygon toPolygon (String filename)
 
RMesh toMesh (String filename)
 
String groupToString (RGroup grp)
 
String polygonToString (RPolygon poly)
 
String shapeToString (RShape shp)
 
String styleToString (RStyle style)
 
RGroup elemToGroup (XML elem)
 
RShape elemToCompositeShape (XML elem)
 
RShape elemToPolyline (XML elem)
 
RShape elemToPolygon (XML elem)
 
RShape elemToRect (XML elem)
 
RShape elemToLine (XML elem)
 
RShape elemToEllipse (XML elem)
 
RShape elemToCircle (XML elem)
 
RShape elemToShape (XML elem)
 

Private Member Functions

RShape getRect (float x, float y, float w, float h)
 
RShape getLine (float x1, float y1, float x2, float y2)
 
RShape getEllipse (float cx, float cy, float rx, float ry)
 
RShape getPolyline (String s)
 
RShape getShape (String s)
 
int move (RShape shp, RPoint curp, RPoint relp, RPoint refp, RPoint strp, String[] tags, int i)
 
int curve (RShape shp, RPoint curp, RPoint relp, RPoint refp, RPoint strp, String[] tags, int i)
 
int smooth (RShape shp, RPoint curp, RPoint relp, RPoint refp, RPoint strp, String[] tags, int i)
 
int line (RShape shp, RPoint curp, RPoint relp, RPoint refp, RPoint strp, String[] tags, int i)
 
int horizontal (RShape shp, RPoint curp, RPoint relp, RPoint refp, RPoint strp, String[] tags, int i)
 
int vertical (RShape shp, RPoint curp, RPoint relp, RPoint refp, RPoint strp, String[] tags, int i)
 

Detailed Description

Member Function Documentation

int geomerative.RSVG.curve ( RShape  shp,
RPoint  curp,
RPoint  relp,
RPoint  refp,
RPoint  strp,
String[]  tags,
int  i 
)
private
void geomerative.RSVG.draw ( String  filename,
PGraphics  g 
)
void geomerative.RSVG.draw ( String  filename,
PApplet  p 
)
void geomerative.RSVG.draw ( String  filename)
RShape geomerative.RSVG.elemToCircle ( XML  elem)
RShape geomerative.RSVG.elemToCompositeShape ( XML  elem)
RShape geomerative.RSVG.elemToEllipse ( XML  elem)
RGroup geomerative.RSVG.elemToGroup ( XML  elem)
RShape geomerative.RSVG.elemToLine ( XML  elem)
RShape geomerative.RSVG.elemToPolygon ( XML  elem)
RShape geomerative.RSVG.elemToPolyline ( XML  elem)
RShape geomerative.RSVG.elemToRect ( XML  elem)
RShape geomerative.RSVG.elemToShape ( XML  elem)
String geomerative.RSVG.fromGroup ( RGroup  group)
String geomerative.RSVG.fromShape ( RShape  shape)
RShape geomerative.RSVG.getEllipse ( float  cx,
float  cy,
float  rx,
float  ry 
)
private
RShape geomerative.RSVG.getLine ( float  x1,
float  y1,
float  x2,
float  y2 
)
private
RShape geomerative.RSVG.getPolyline ( String  s)
private
RShape geomerative.RSVG.getRect ( float  x,
float  y,
float  w,
float  h 
)
private
RShape geomerative.RSVG.getShape ( String  s)
private
String geomerative.RSVG.groupToString ( RGroup  grp)
int geomerative.RSVG.horizontal ( RShape  shp,
RPoint  curp,
RPoint  relp,
RPoint  refp,
RPoint  strp,
String[]  tags,
int  i 
)
private
int geomerative.RSVG.line ( RShape  shp,
RPoint  curp,
RPoint  relp,
RPoint  refp,
RPoint  strp,
String[]  tags,
int  i 
)
private
int geomerative.RSVG.move ( RShape  shp,
RPoint  curp,
RPoint  relp,
RPoint  refp,
RPoint  strp,
String[]  tags,
int  i 
)
private
String geomerative.RSVG.polygonToString ( RPolygon  poly)
void geomerative.RSVG.saveGroup ( String  filename,
RGroup  grp 
)
void geomerative.RSVG.saveShape ( String  filename,
RShape  shp 
)
String geomerative.RSVG.shapeToString ( RShape  shp)
int geomerative.RSVG.smooth ( RShape  shp,
RPoint  curp,
RPoint  relp,
RPoint  refp,
RPoint  strp,
String[]  tags,
int  i 
)
private
String geomerative.RSVG.styleToString ( RStyle  style)
RGroup geomerative.RSVG.toGroup ( String  filename)
RMesh geomerative.RSVG.toMesh ( String  filename)
RPolygon geomerative.RSVG.toPolygon ( String  filename)
RShape geomerative.RSVG.toShape ( String  filename)
float geomerative.RSVG.unitsToPixels ( String  units,
float  originalPxSize 
)
float geomerative.RSVG.unitsToPixels ( String  units,
float  originalPxSize,
float  dpi 
)
int geomerative.RSVG.vertical ( RShape  shp,
RPoint  curp,
RPoint  relp,
RPoint  refp,
RPoint  strp,
String[]  tags,
int  i 
)
private

The documentation for this class was generated from the following file: