SYMBOL INDEX (268 symbols across 27 files) FILE: cpp/samples/png_readwrite.cpp function save_png (line 4) | int // 0 on failure, 1 on success FILE: cpp/samples/polyline.cpp type VASEr (line 18) | namespace VASEr type Vec2 (line 20) | struct Vec2 { double x,y;} type Color (line 21) | struct Color { float r,g,b,a;} function line_update (line 50) | void line_update() function line_init (line 81) | void line_init( int N) function get_joint_type (line 139) | char get_joint_type() function get_cap_type (line 150) | char get_cap_type() function np_cb (line 172) | void np_cb(Fl_Widget* W, void*) function line_bezier (line 185) | void line_bezier(Fl_Widget* W, void*) function drag_cb (line 189) | void drag_cb(Fl_Widget* W, void*) function exportimg_cb (line 194) | void exportimg_cb(Fl_Widget* W, void*) function make_form (line 204) | void make_form() function test_draw (line 332) | void test_draw() function main (line 386) | int main(int argc, char **argv) FILE: cpp/samples/samples.cpp type VASEr (line 14) | namespace VASEr type Vec2 (line 16) | struct Vec2 { double x,y;} type Color (line 17) | struct Color { float r,g,b,a;} function drag_cb (line 29) | void drag_cb(Fl_Widget* W, void*) function make_form (line 34) | void make_form() function sample0 (line 43) | void sample0() function sample1 (line 54) | void sample1() function sample2 (line 75) | void sample2() function sample3 (line 89) | void sample3() function sample4 (line 116) | void sample4() function sample5 (line 127) | void sample5() function sample6 (line 158) | void sample6() function sample7 (line 161) | void sample7() function sample8 (line 164) | void sample8() function sample9 (line 167) | void sample9() function test_draw (line 170) | void test_draw() function main (line 189) | int main(int argc, char **argv) FILE: cpp/samples/segment.cpp type VASEr (line 16) | namespace VASEr type Vec2 (line 18) | struct Vec2 { double x,y;} type Color (line 19) | struct Color { float r,g,b,a;} function get_cap_type (line 34) | char get_cap_type() function drag_cb (line 47) | void drag_cb(Fl_Widget* W, void*) function make_form (line 51) | void make_form() function test_draw (line 105) | void test_draw() function main (line 203) | int main(int argc, char **argv) FILE: cpp/samples/test1_base.cpp class Gl_Window (line 7) | class Gl_Window : public Fl_Gl_Window method Gl_Window (line 25) | Gl_Window(int x,int y,int w,int h,const char *l=0) method Gl_Window (line 27) | Gl_Window(int w,int h,const char *l=0) method set_drag_target (line 29) | void set_drag_target( Vec2* target, int size_of_target) FILE: cpp/vaser/agg_curve4.cpp function calc_sq_distance (line 73) | double calc_sq_distance(double x1, double y1, double x2, double y2) function recursive_bezier (line 80) | void recursive_bezier( double x1, double y1, function curve4_div (line 304) | int curve4_div(double x1, double y1, FILE: cpp/vaser/backend.h function class (line 1) | class backend FILE: cpp/vaser/color.h function Color_valid_range (line 11) | bool Color_valid_range(float t) function color_max (line 76) | float color_max( float r,float g,float b) function color_min (line 80) | float color_min( float r, float g, float b) function RGBtoHSV (line 84) | void RGBtoHSV( float r, float g, float b, float *h, float *s, float *v ) function HSVtoRGB (line 112) | void HSVtoRGB( float *r, float *g, float *b, float h, float s, float v ) FILE: cpp/vaser/curve.cpp type VASErin (line 1) | namespace VASErin class polyline_buffer (line 4) | class polyline_buffer method polyline_buffer (line 14) | polyline_buffer(): P(),C(),W(),L() method point (line 20) | void point(double x, double y) method point (line 25) | void point(Vec2 V) method point_cb (line 29) | static void point_cb(void* obj, double x, double y) method vertex (line 35) | void vertex(Vec2 V, Color cc) method vertex (line 39) | void vertex(Vec2 V, Color cc, double ww) method set_color (line 43) | void set_color(Color cc) method set_weight (line 50) | void set_weight(double ww) method gradient (line 57) | void gradient( const gradient* grad) method draw (line 61) | void draw(const polyline_opt* options) method addvertex (line 69) | bool addvertex(const Vec2& V, const Color* cc=0, double ww=0.0) type polybezier_inopt (line 110) | struct polybezier_inopt function polybezier (line 116) | void polybezier( const Vec2* P, const gradient* grad, int length, cons... function polybezier (line 158) | void polybezier( const Vec2* P, const gradient* grad, int length, const ... function polybezier (line 163) | void polybezier( const Vec2* P, Color cc, double ww, int length, const p... FILE: cpp/vaser/gradient.cpp type VASErin (line 1) | namespace VASErin function grad_getstep (line 4) | double grad_getstep(double A,double B,double t,double T) function gradient_apply (line 9) | void gradient_apply(const gradient* gradp, Color* C, double* W, const ... FILE: cpp/vaser/opengl.cpp type VASErin (line 3) | namespace VASErin function swap_pixel (line 44) | void swap_pixel(unsigned char* img, int w, int x1,int y1, int x2,int y2) function Image (line 90) | Image renderer::get_image() FILE: cpp/vaser/point.h function class (line 1) | class Point : public Vec2 function clear (line 9) | void clear() { x=0.0; y=0.0;} function set (line 10) | void set(double X, double Y) { x=X; y=Y;} function Vec2 (line 12) | Vec2 vec() { function signed_area (line 27) | static double signed_area(const Point& P1, const Point& P2, const Point&... function Point (line 80) | Point dot_prod( const Point& b) const //return dot product function opposite (line 86) | void opposite() function opposite_of (line 91) | void opposite_of( const Point& a) function normalize (line 96) | double normalize() function perpen (line 105) | void perpen() //perpendicular: anti-clockwise 90 degrees function follow_signs (line 111) | void follow_signs( const Point& a) function negligible (line 120) | static inline bool negligible( double M) function negligible (line 124) | bool negligible() const function intersecting (line 140) | static bool intersecting( const Point& A, const Point& B, function distance_squared (line 147) | static double distance_squared( const Point& A, const Point& B) function distance (line 153) | static inline double distance( const Point& A, const Point& B) function Point (line 157) | static Point midpoint( const Point& A, const Point& B) function opposite_quadrant (line 161) | static bool opposite_quadrant( const Point& P1, const Point& P2) function anchor_outward_D (line 182) | static inline bool anchor_outward_D( Point& V, const Point& b, const Poi... function anchor_inward (line 199) | static void anchor_inward( Point& V, const Point& b, const Point& c) FILE: cpp/vaser/polyline.cpp type VASErin (line 1) | namespace VASErin function determine_t_r (line 39) | void determine_t_r ( double w, double& t, double& R) function get_PLJ_round_dangle (line 75) | float get_PLJ_round_dangle(float t, float r) function make_T_R_C (line 88) | void make_T_R_C( Point& P1, Point& P2, Point* T, Point* R, Point* C, function same_side_of_line (line 131) | void same_side_of_line( Point& V, const Point& ref, const Point& a, co... type st_polyline (line 141) | struct st_polyline type st_anchor (line 171) | struct st_anchor function inner_arc (line 183) | void inner_arc( vertex_array_holder& hold, const Point& P, function vectors_to_arc (line 316) | void vectors_to_arc( vertex_array_holder& hold, const Point& P, function annotate (line 341) | void annotate( const Point& P, Color cc, int I=-1) function annotate (line 360) | void annotate( const Point& P) function draw_vector (line 365) | void draw_vector( const Point& P, const Point& V, const char* name) function printpoint (line 381) | void printpoint( const Point& P, const char* name) function push_quad_ (line 432) | void push_quad_( short line, vertex_array_holder& core, function push_quadf_ (line 446) | void push_quadf_( short line, vertex_array_holder& core, type st_knife_cut (line 464) | struct st_knife_cut function triangle_knife_cut (line 475) | int triangle_knife_cut( const Point& kn1, const Point& kn2, const Poin... function vah_knife_cut (line 609) | void vah_knife_cut( vertex_array_holder& core, //serves as both input ... function vah_N_knife_cut (line 665) | void vah_N_knife_cut( vertex_array_holder& in, vertex_array_holder& out, function anchor_late (line 752) | void anchor_late( const Vec2* P, const Color* C, st_polyline* SL, function anchor_cap (line 1018) | void anchor_cap( const Vec2* P, const Color* C, st_polyline* SL, function segment_late (line 1138) | void segment_late( const Vec2* P, const Color* C, st_polyline* SL, function segment (line 1274) | void segment( st_anchor& SA, const polyline_opt* options, bool cap_fi... function anchor (line 1359) | int anchor( st_anchor& SA, const polyline_opt* options, bool cap_first... class circular_array (line 1722) | class circular_array method circular_array (line 1728) | circular_array(int size_) : size(size_) method push (line 1739) | void push( T obj) method get_size (line 1745) | int get_size() const method get_i (line 1748) | int get_i( int i) const //get valid index relative to current method move (line 1762) | void move( int i) //move current relatively method T (line 1767) | T& operator[] (int i) //get element at relative position type polyline_inopt (line 1774) | struct polyline_inopt function poly_point_inter (line 1785) | void poly_point_inter( const Point* P, const Color* C, const double* W... function polyline_approx (line 1813) | void polyline_approx( function polyline_exact (line 1934) | void polyline_exact( function polyline_range (line 2002) | void polyline_range( function polyline (line 2026) | void polyline( function polyline (line 2124) | void polyline( const Vec2* P, const Color* C, const double* W, int lengt... function polyline (line 2128) | void polyline( const Vec2* P, Color C, double W, int length, const polyl... function polyline (line 2135) | void polyline( const Vec2* P, const Color* C, double W, int length, cons... function polyline (line 2141) | void polyline( const Vec2* P, Color C, const double* W, int length, cons... function segment (line 2148) | void segment( Vec2 P1, Vec2 P2, Color C1, Color C2, double W1, double W... function segment (line 2157) | void segment( Vec2 P1, Vec2 P2, Color C, double W, const polyline_opt* ... function segment (line 2164) | void segment( Vec2 P1, Vec2 P2, Color C1, Color C2, double W, const pol... function segment (line 2173) | void segment( Vec2 P1, Vec2 P2, Color C, double W1, double W2, const po... FILE: cpp/vaser/vaser.cpp type VASEr (line 16) | namespace VASEr type VASErin (line 18) | namespace VASErin class vertex_array_holder (line 25) | class vertex_array_holder FILE: cpp/vaser/vaser.h function namespace (line 14) | namespace VASEr FILE: cpp/vaser/vertex_array_holder.h function class (line 4) | class vertex_array_holder function push (line 138) | void push( const vertex_array_holder& hold) function Point (line 170) | Point get(int i) function Color (line 177) | Color get_color(int b) function repeat_last_push (line 193) | void repeat_last_push() function jump (line 209) | void jump() //to make a jump in triangle strip by degenerated triangles function draw (line 217) | void draw() function draw_triangles (line 221) | void draw_triangles() function swap (line 248) | void swap(vertex_array_holder& B) FILE: cpp/workbench/dragger.js function dragger (line 1) | function dragger(TP,div_id) FILE: cpp/workbench/drawer.js function drawer (line 1) | function drawer() FILE: cpp/workbench/knife_cut_test.cpp type VASEr (line 16) | namespace VASEr type Vec2 (line 18) | struct Vec2 { double x,y;} type Color (line 19) | struct Color { float r,g,b,a;} function line_update (line 42) | void line_update() function line_init (line 61) | void line_init( int) function drag_cb (line 75) | void drag_cb(Fl_Widget* W, void*) function nk_cb (line 79) | void nk_cb(Fl_Widget* W, void*) function N_knife (line 83) | int N_knife() function make_form (line 92) | void make_form() function draw_triangles_outline (line 119) | void draw_triangles_outline( vertex_array_holder& tris) function test_draw (line 136) | void test_draw() function main (line 170) | int main(int argc, char **argv) FILE: cpp/workbench/raphael-min.js function a (line 7) | function a(){if(a.is(arguments[0],G)){var b=arguments[0],d=bV[m](a,b.spl... function bh (line 7) | function bh(){var a=[],b=0;for(;b<32;b++)a[b]=(~(~(y.random()*16)))[H](1... function bm (line 7) | function bm(a,b,c){function d(){var g=Array[e].slice.call(arguments,0),h... function cc (line 7) | function cc(b,c,d,e,f){return f?a.format("M{0},{1}l{2},0a{3},{3},0,0,1,{... function co (line 7) | function co(){return this.x+q+this.y} function cA (line 7) | function cA(b){return function(c,d,e,f){var g={back:b};a.is(e,"function"... function cB (line 7) | function cB(a,b,c,d,e,f){var g=3*b,h=3*(d-b)-g,i=1-g-h,j=3*c,k=3*(e-c)-j... FILE: cpp/workbench/triangle_knife_cut.js function triangle_knife_cut (line 1) | function triangle_knife_cut(p1,p2,p3,kn1,kn2,kn3) function signed_area (line 71) | function signed_area(p1,p2,p3) function intersect (line 76) | function intersect( P1,P2, //line 1 FILE: csharp/Assets/Demo/Demo.cs class Demo (line 5) | public class Demo : MonoBehaviour { method Start (line 12) | private void Start() { method Update (line 148) | void Update() method ComputeSineCurve (line 188) | private List ComputeSineCurve(float time, float amplitude) FILE: csharp/Assets/Vaser/Gradient.cs class Gradient (line 6) | public class Gradient method Gradient (line 20) | public Gradient() method Gradient (line 25) | public Gradient(List stopss) method Gradient (line 30) | public Gradient(Color cc, float ww) type Stop (line 37) | public struct Stop method Stop (line 44) | public Stop(float tt, Color cc) method Stop (line 52) | public Stop(float tt, float ww) method Apply (line 61) | public void Apply(List C, List W, List L, int lim... method ColorBetween (line 171) | public static Color ColorBetween(Color A, Color B, float t) FILE: csharp/Assets/Vaser/Polybezier.cs class Polybezier (line 6) | public class Polybezier class Opt (line 10) | public class Opt method Polybezier (line 15) | public Polybezier(List P, Color cc, float ww, Opt opt) method Polybezier (line 21) | public Polybezier(List P, Gradient grad, Opt opt) method Render (line 48) | public Polyline Render(Polyline.Opt opt) class Buffer (line 53) | public class Buffer method Buffer (line 61) | public Buffer() method Gradient (line 71) | public void Gradient(Gradient grad) method Render (line 76) | public Polyline Render(Polyline.Opt opt) method AddPoint (line 86) | public void AddPoint(float x, float y) method AddPoint (line 91) | public void AddPoint(double x, double y) method AddPoint (line 96) | public void AddPoint(Vector2 V) method AddPoints (line 101) | public void AddPoints(List points) method AddVertex (line 109) | private bool AddVertex(Vector2 V, Color cc, float ww) method RecursiveBezier (line 196) | private void RecursiveBezier( method Curve4Div (line 408) | private void Curve4Div( FILE: csharp/Assets/Vaser/Polyline.cs class Polyline (line 6) | public class Polyline class Opt (line 10) | public class Opt class Inopt (line 36) | public class Inopt method ShallowCopy (line 47) | public Inopt ShallowCopy() method Polyline (line 53) | public Polyline() method Polyline (line 58) | public Polyline( method Polyline (line 65) | public Polyline( method Polyline (line 74) | public Polyline( method GetMesh (line 149) | public Mesh GetMesh() method Append (line 159) | public void Append(Polyline polyline) type StPolyline (line 164) | private struct StPolyline class StAnchor (line 190) | private class StAnchor method PolyPointInter (line 201) | private static void PolyPointInter( method PolylineApprox (line 227) | private static void PolylineApprox( method PolylineExact (line 302) | private static void PolylineExact( method PolylineRange (line 367) | private static void PolylineRange( method DrawTriangles (line 393) | private static void DrawTriangles(VertexArrayHolder triangles, VertexA... method DrawDigit (line 423) | private static void DrawDigit(VertexArrayHolder holder, Vector2 pp, fl... method DetermineTr (line 486) | private static void DetermineTr(float w, ref float t, ref float R, flo... method MakeTrc (line 519) | private static void MakeTrc( method Segment (line 545) | private static void Segment(StAnchor SA, Opt opt, bool capFirst, bool ... method SegmentLate (line 630) | private static void SegmentLate( method Anchor (line 737) | private static void Anchor(StAnchor SA, Opt opt, bool capFirst, bool c... method AnchorLate (line 971) | private static void AnchorLate( method VectorsToArc (line 1046) | private static void VectorsToArc( method GetPljRoundDangle (line 1160) | private static float GetPljRoundDangle(float t, float r, float scale) FILE: csharp/Assets/Vaser/Vec2Ext.cs class Vec2Ext (line 5) | public static class Vec2Ext method Length (line 7) | public static float Length(this Vector2 a) method SignedArea (line 11) | public static float SignedArea(Vector2 P1, Vector2 P2, Vector2 P3) method Dot (line 15) | public static void Dot(Vector2 a, Vector2 b, ref Vector2 o) //dot prod... method Opposite (line 20) | public static void Opposite(ref Vector2 a) method Normalize (line 25) | public static float Normalize(ref Vector2 a) method Perpen (line 35) | public static void Perpen(ref Vector2 a) //perpendicular: anti-clockwi... method FollowSigns (line 41) | public static void FollowSigns(ref Vector2 a, Vector2 b) method Negligible (line 48) | public static bool Negligible(float M) method Negligible (line 53) | public static bool Negligible(double M) method Negligible (line 58) | public static bool Negligible(this Vector2 a) method IsZero (line 62) | public static bool IsZero(this Vector2 a) method Intersecting (line 66) | public static bool Intersecting(Vector2 A, Vector2 B, Vector2 C, Vecto... method OppositeQuadrant (line 70) | public static bool OppositeQuadrant(Vector2 P1, Vector2 P2) method AnchorOutward (line 92) | public static bool AnchorOutward(ref Vector2 V, Vector2 b, Vector2 c, ... method Intersect (line 107) | public static int Intersect( method Octant (line 159) | public static int Octant(this Vector2 a) FILE: csharp/Assets/Vaser/VertexArrayHolder.cs class VertexArrayHolder (line 6) | public class VertexArrayHolder method GetCount (line 22) | public int GetCount() method SetGlDrawMode (line 27) | public void SetGlDrawMode(int gl_draw_mode) method Push (line 32) | public int Push(Vector2 P, Color cc, float fade0=0) method PushF (line 47) | public int PushF(Vector2 P, Color C) method Push3 (line 53) | public void Push3( method Push4 (line 63) | public void Push4( method Dot (line 73) | public void Dot(Vector2 P, float size) method Push (line 86) | public void Push(VertexArrayHolder hold) method Get (line 109) | public Vector2 Get(int i) method GetColor (line 117) | public Color GetColor(int b) method GetRelativeEnd (line 122) | public Vector2 GetRelativeEnd(int di = -1) method RepeatLastPush (line 132) | public void RepeatLastPush() method Jump (line 138) | public void Jump() //to make a jump in triangle strip by degenerated t... method GetVertices (line 147) | public List GetVertices() method GetTriangles (line 152) | public List GetTriangles() method GetUVs (line 165) | public List GetUVs() method GetColors (line 305) | public List GetColors()