GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
svg_geometry.c File Reference
#include "visual_manager.h"
#include "nodes_stacks.h"
+ Include dependency graph for svg_geometry.c:

Functions

Bool svg_drawable_is_over (Drawable *drawable, Fixed x, Fixed y, DrawAspect2D *asp, GF_TraverseState *tr_state, GF_Rect *glyph_rc)
 
void svg_clone_use_stack (GF_Compositor *compositor, GF_TraverseState *tr_state)
 
void svg_drawable_3d_pick (Drawable *drawable, GF_TraverseState *tr_state, DrawAspect2D *asp)
 
void svg_drawable_pick (GF_Node *node, Drawable *drawable, GF_TraverseState *tr_state)
 
static void svg_drawable_traverse (GF_Node *node, void *rs, Bool is_destroy, void(*rebuild_path)(GF_Node *, Drawable *, SVGAllAttributes *), Bool is_svg_rect, Bool is_svg_path)
 
static GF_Err svg_rect_add_arc (GF_Path *gp, Fixed end_x, Fixed end_y, Fixed cx, Fixed cy, Fixed rx, Fixed ry)
 
static void svg_rect_rebuild (GF_Node *node, Drawable *stack, SVGAllAttributes *atts)
 
static void svg_traverse_rect (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_rect (GF_Compositor *compositor, GF_Node *node)
 
static void svg_circle_rebuild (GF_Node *node, Drawable *stack, SVGAllAttributes *atts)
 
static void svg_traverse_circle (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_circle (GF_Compositor *compositor, GF_Node *node)
 
static void svg_ellipse_rebuild (GF_Node *node, Drawable *stack, SVGAllAttributes *atts)
 
static void svg_traverse_ellipse (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_ellipse (GF_Compositor *compositor, GF_Node *node)
 
static void svg_line_rebuild (GF_Node *node, Drawable *stack, SVGAllAttributes *atts)
 
static void svg_traverse_line (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_line (GF_Compositor *compositor, GF_Node *node)
 
static void svg_polyline_rebuild (GF_Node *node, Drawable *stack, SVGAllAttributes *atts)
 
static void svg_traverse_polyline (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_polyline (GF_Compositor *compositor, GF_Node *node)
 
static void svg_polygon_rebuild (GF_Node *node, Drawable *stack, SVGAllAttributes *atts)
 
static void svg_traverse_polygon (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_polygon (GF_Compositor *compositor, GF_Node *node)
 
static void svg_path_rebuild (GF_Node *node, Drawable *stack, SVGAllAttributes *atts)
 
static void svg_traverse_path (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_path (GF_Compositor *compositor, GF_Node *node)
 

Function Documentation

Bool svg_drawable_is_over ( Drawable *  drawable,
Fixed  x,
Fixed  y,
DrawAspect2D *  asp,
GF_TraverseState *  tr_state,
GF_Rect glyph_rc 
)

!watchout!! asp2D.width is 0 if stroke not visible due to painting properties - we must override this for picking

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void svg_clone_use_stack ( GF_Compositor *  compositor,
GF_TraverseState *  tr_state 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void svg_drawable_3d_pick ( Drawable *  drawable,
GF_TraverseState *  tr_state,
DrawAspect2D *  asp 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void svg_drawable_pick ( GF_Node node,
Drawable *  drawable,
GF_TraverseState *  tr_state 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_drawable_traverse ( GF_Node node,
void *  rs,
Bool  is_destroy,
void(*)(GF_Node *, Drawable *, SVGAllAttributes *)  rebuild_path,
Bool  is_svg_rect,
Bool  is_svg_path 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err svg_rect_add_arc ( GF_Path gp,
Fixed  end_x,
Fixed  end_y,
Fixed  cx,
Fixed  cy,
Fixed  rx,
Fixed  ry 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_rect_rebuild ( GF_Node node,
Drawable *  stack,
SVGAllAttributes *  atts 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_traverse_rect ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_svg_rect ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_circle_rebuild ( GF_Node node,
Drawable *  stack,
SVGAllAttributes *  atts 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_traverse_circle ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_svg_circle ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_ellipse_rebuild ( GF_Node node,
Drawable *  stack,
SVGAllAttributes *  atts 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_traverse_ellipse ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_svg_ellipse ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_line_rebuild ( GF_Node node,
Drawable *  stack,
SVGAllAttributes *  atts 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_traverse_line ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_svg_line ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_polyline_rebuild ( GF_Node node,
Drawable *  stack,
SVGAllAttributes *  atts 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_traverse_polyline ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_svg_polyline ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_polygon_rebuild ( GF_Node node,
Drawable *  stack,
SVGAllAttributes *  atts 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_traverse_polygon ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_svg_polygon ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_path_rebuild ( GF_Node node,
Drawable *  stack,
SVGAllAttributes *  atts 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void svg_traverse_path ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_svg_path ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: