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 CFunction
poly_free
static CFunction
poly_gencode
static CFunction
poly_init
static CFunction
poly_inside
static CFunction
poly_path
static CFunction
poly_port
static CFunction
record_free
static CFunction
record_gencode
static CFunction
record_init
static CFunction
record_inside
static CFunction
record_path
static CFunction
record_port
-
Constructor Summary
Constructors Constructor Description shapes__c()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ST_shape_desc
bind_shape(CString name, ST_Agnode_s np)
static CString
closestSide(ST_Agnode_s n, ST_Agnode_s other, ST_port oldport)
static java.lang.Object
compassPoint(java.lang.Object... arg)
static boolean
compassPort(ST_Agnode_s n, ST_boxf bp, ST_port pp, CString compass, int sides, ST_inside_t ictxt)
static ST_point
cvtPt(ST_pointf p, int rankdir)
static java.lang.Object
epsf_gencode(java.lang.Object... arg)
static java.lang.Object
epsf_inside(java.lang.Object... arg)
static java.lang.Object
find_user_shape(java.lang.Object... arg)
static java.lang.Object
free_field(java.lang.Object... arg)
static double
invflip_angle(double angle, int rankdir)
static int
invflip_side(int side, int rankdir)
static java.lang.Object
isPolygon(java.lang.Object... arg)
static ST_field_t
map_rec_port(ST_field_t f, CString str)
static ST_field_t
parse_reclbl(ST_Agnode_s n, boolean LR, boolean flag, CString text)
static java.lang.Object
poly_free(java.lang.Object... arg_)
static java.lang.Object
poly_gencode(java.lang.Object... arg)
static void
poly_init(ST_Agnode_s n)
static boolean
poly_inside(ST_inside_t inside_context, ST_pointf p)
static int
poly_path(ST_Agnode_s n, ST_port p, int side, java.lang.Object rv, java.lang.Object kptr)
static ST_port
poly_port(ST_Agnode_s n, CString portname, CString compass)
static void
pos_reclbl(ST_field_t f, ST_pointf ul, int sides)
static java.lang.Object
record_free(java.lang.Object... arg_)
static java.lang.Object
record_gencode(java.lang.Object... arg)
static void
record_init(ST_Agnode_s n)
static boolean
record_inside(ST_inside_t inside_context, ST_pointf p)
static int
record_path(ST_Agnode_s n, ST_port prt, int side, ST_boxf rv, int[] kptr)
static ST_port
record_port(ST_Agnode_s n, CString portname, CString compass)
static void
resize_reclbl(ST_field_t f, ST_pointf sz, boolean nojustify_p)
static ST_port
resolvePort(ST_Agnode_s n, ST_Agnode_s other, ST_port oldport)
static java.lang.Object
resolvePorts(java.lang.Object... arg)
static boolean
same_side(ST_pointf p0, ST_pointf p1, ST_pointf L0, ST_pointf L1)
static EN_shape_kind
shapeOf(ST_Agnode_s n)
static ST_pointf
size_reclbl(ST_Agnode_s n, ST_field_t f)
static java.lang.Object
star_inside(java.lang.Object... arg)
static java.lang.Object
star_size(java.lang.Object... arg)
static java.lang.Object
star_vertices(java.lang.Object... arg)
static void
unrecognized(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)
-
-