Package gen.lib.common
Class shapes__c
- java.lang.Object
-
- gen.lib.common.shapes__c
-
public class shapes__c extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static CFunctionpoly_freestatic CFunctionpoly_gencodestatic CFunctionpoly_initstatic CFunctionpoly_insidestatic CFunctionpoly_pathstatic CFunctionpoly_portstatic CFunctionrecord_freestatic CFunctionrecord_gencodestatic CFunctionrecord_initstatic CFunctionrecord_insidestatic CFunctionrecord_pathstatic CFunctionrecord_port
-
Constructor Summary
Constructors Constructor Description shapes__c()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ST_shape_descbind_shape(CString name, ST_Agnode_s np)static CStringclosestSide(ST_Agnode_s n, ST_Agnode_s other, ST_port oldport)static java.lang.ObjectcompassPoint(java.lang.Object... arg)static booleancompassPort(ST_Agnode_s n, ST_boxf bp, ST_port pp, CString compass, int sides, ST_inside_t ictxt)static ST_pointcvtPt(ST_pointf p, int rankdir)static java.lang.Objectepsf_gencode(java.lang.Object... arg)static java.lang.Objectepsf_inside(java.lang.Object... arg)static java.lang.Objectfind_user_shape(java.lang.Object... arg)static java.lang.Objectfree_field(java.lang.Object... arg)static doubleinvflip_angle(double angle, int rankdir)static intinvflip_side(int side, int rankdir)static java.lang.ObjectisPolygon(java.lang.Object... arg)static ST_field_tmap_rec_port(ST_field_t f, CString str)static ST_field_tparse_reclbl(ST_Agnode_s n, boolean LR, boolean flag, CString text)static java.lang.Objectpoly_free(java.lang.Object... arg_)static java.lang.Objectpoly_gencode(java.lang.Object... arg)static voidpoly_init(ST_Agnode_s n)static booleanpoly_inside(ST_inside_t inside_context, ST_pointf p)static intpoly_path(ST_Agnode_s n, ST_port p, int side, java.lang.Object rv, java.lang.Object kptr)static ST_portpoly_port(ST_Agnode_s n, CString portname, CString compass)static voidpos_reclbl(ST_field_t f, ST_pointf ul, int sides)static java.lang.Objectrecord_free(java.lang.Object... arg_)static java.lang.Objectrecord_gencode(java.lang.Object... arg)static voidrecord_init(ST_Agnode_s n)static booleanrecord_inside(ST_inside_t inside_context, ST_pointf p)static intrecord_path(ST_Agnode_s n, ST_port prt, int side, ST_boxf rv, int[] kptr)static ST_portrecord_port(ST_Agnode_s n, CString portname, CString compass)static voidresize_reclbl(ST_field_t f, ST_pointf sz, boolean nojustify_p)static ST_portresolvePort(ST_Agnode_s n, ST_Agnode_s other, ST_port oldport)static java.lang.ObjectresolvePorts(java.lang.Object... arg)static booleansame_side(ST_pointf p0, ST_pointf p1, ST_pointf L0, ST_pointf L1)static EN_shape_kindshapeOf(ST_Agnode_s n)static ST_pointfsize_reclbl(ST_Agnode_s n, ST_field_t f)static java.lang.Objectstar_inside(java.lang.Object... arg)static java.lang.Objectstar_size(java.lang.Object... arg)static java.lang.Objectstar_vertices(java.lang.Object... arg)static voidunrecognized(ST_Agnode_s n, CString p)
-
-
-
Field Detail
-
poly_init
public static CFunction poly_init
-
poly_free
public static CFunction poly_free
-
poly_inside
public static CFunction poly_inside
-
poly_path
public static CFunction poly_path
-
poly_port
public static CFunction poly_port
-
poly_gencode
public static CFunction poly_gencode
-
record_init
public static CFunction record_init
-
record_free
public static CFunction record_free
-
record_port
public static CFunction record_port
-
record_inside
public static CFunction record_inside
-
record_path
public static CFunction record_path
-
record_gencode
public static CFunction record_gencode
-
-
Method Detail
-
shapeOf
public static EN_shape_kind shapeOf(ST_Agnode_s n)
-
isPolygon
public static java.lang.Object isPolygon(java.lang.Object... arg)
-
poly_init
public static void poly_init(ST_Agnode_s n)
-
poly_free
public static java.lang.Object poly_free(java.lang.Object... arg_)
-
poly_inside
public static boolean poly_inside(ST_inside_t inside_context, ST_pointf p)
-
poly_path
public static int poly_path(ST_Agnode_s n, ST_port p, int side, java.lang.Object rv, java.lang.Object kptr)
-
invflip_side
public static int invflip_side(int side, int rankdir)
-
invflip_angle
public static double invflip_angle(double angle, int rankdir)
-
compassPoint
public static java.lang.Object compassPoint(java.lang.Object... arg)
-
compassPort
public static boolean compassPort(ST_Agnode_s n, ST_boxf bp, ST_port pp, CString compass, int sides, ST_inside_t ictxt)
-
unrecognized
public static void unrecognized(ST_Agnode_s n, CString p)
-
poly_port
public static ST_port poly_port(ST_Agnode_s n, CString portname, CString compass)
-
poly_gencode
public static java.lang.Object poly_gencode(java.lang.Object... arg)
-
free_field
public static java.lang.Object free_field(java.lang.Object... arg)
-
parse_reclbl
public static ST_field_t parse_reclbl(ST_Agnode_s n, boolean LR, boolean flag, CString text)
-
size_reclbl
public static ST_pointf size_reclbl(ST_Agnode_s n, ST_field_t f)
-
resize_reclbl
public static void resize_reclbl(ST_field_t f, ST_pointf sz, boolean nojustify_p)
-
pos_reclbl
public static void pos_reclbl(ST_field_t f, ST_pointf ul, int sides)
-
record_init
public static void record_init(ST_Agnode_s n)
-
record_free
public static java.lang.Object record_free(java.lang.Object... arg_)
-
map_rec_port
public static ST_field_t map_rec_port(ST_field_t f, CString str)
-
record_port
public static ST_port record_port(ST_Agnode_s n, CString portname, CString compass)
-
record_inside
public static boolean record_inside(ST_inside_t inside_context, ST_pointf p)
-
record_path
public static int record_path(ST_Agnode_s n, ST_port prt, int side, ST_boxf rv, int[] kptr)
-
record_gencode
public static java.lang.Object record_gencode(java.lang.Object... arg)
-
find_user_shape
public static java.lang.Object find_user_shape(java.lang.Object... arg)
-
bind_shape
public static ST_shape_desc bind_shape(CString name, ST_Agnode_s np)
-
epsf_inside
public static java.lang.Object epsf_inside(java.lang.Object... arg)
-
epsf_gencode
public static java.lang.Object epsf_gencode(java.lang.Object... arg)
-
star_size
public static java.lang.Object star_size(java.lang.Object... arg)
-
star_vertices
public static java.lang.Object star_vertices(java.lang.Object... arg)
-
star_inside
public static java.lang.Object star_inside(java.lang.Object... arg)
-
closestSide
public static CString closestSide(ST_Agnode_s n, ST_Agnode_s other, ST_port oldport)
-
resolvePort
public static ST_port resolvePort(ST_Agnode_s n, ST_Agnode_s other, ST_port oldport)
-
resolvePorts
public static java.lang.Object resolvePorts(java.lang.Object... arg)
-
-