libgpac
Documentation of the core library of GPAC
drawable.c File Reference
#include "drawable.h"
#include "visual_manager.h"
#include "nodes_stacks.h"
+ Include dependency graph for drawable.c:

Functions

void drawable_draw (Drawable *drawable, GF_TraverseState *tr_state)
 
void call_drawable_draw (DrawableContext *ctx, GF_TraverseState *tr_state, Bool set_cyclic)
 
void vrml_drawable_pick (Drawable *drawable, GF_TraverseState *tr_state)
 
void drawable_init_ex (Drawable *tmp)
 
Drawable * drawable_new ()
 
void drawable_reset_bounds (Drawable *dr, GF_VisualManager *visual)
 
void drawable_del_ex (Drawable *dr, GF_Compositor *compositor, Bool no_free)
 
void drawable_del (Drawable *dr)
 
void drawable_node_del (GF_Node *node)
 
Drawable * drawable_stack_new (GF_Compositor *compositor, GF_Node *node)
 
static BoundInfodrawable_check_alloc_bounds (struct _drawable_context *ctx, GF_VisualManager *visual)
 
void drawable_reset_group_highlight (GF_TraverseState *tr_state, GF_Node *n)
 
void drawable_mark_modified (Drawable *drawable, GF_TraverseState *tr_state)
 
Bool drawable_flush_bounds (Drawable *drawable, GF_VisualManager *on_visual, u32 mode2d)
 
Bool drawable_has_same_bounds (struct _drawable_context *ctx, GF_VisualManager *visual)
 
Bool drawable_get_previous_bound (Drawable *drawable, GF_IRect *rc, GF_VisualManager *visual)
 
DrawableContext * NewDrawableContext ()
 
void DeleteDrawableContext (DrawableContext *ctx)
 
void drawctx_reset (DrawableContext *ctx)
 
void drawctx_update_info (DrawableContext *ctx, GF_VisualManager *visual)
 
static Bool drawable_lineprops_dirty (GF_Node *node)
 
u32 drawable_get_aspect_2d_mpeg4 (GF_Node *node, DrawAspect2D *asp, GF_TraverseState *tr_state)
 
static Bool check_transparent_skip (DrawableContext *ctx, Bool skipFill)
 
void drawable_check_texture_dirty (DrawableContext *ctx, Drawable *drawable, GF_TraverseState *tr_state)
 
DrawableContext * drawable_init_context_mpeg4 (Drawable *drawable, GF_TraverseState *tr_state)
 
static Bool drawable_finalize_end (struct _drawable_context *ctx, GF_TraverseState *tr_state)
 
void drawable_check_bounds (struct _drawable_context *ctx, GF_VisualManager *visual)
 
void drawable_compute_line_scale (GF_TraverseState *tr_state, DrawAspect2D *asp)
 
void drawable_finalize_sort_ex (DrawableContext *ctx, GF_TraverseState *tr_state, GF_Rect *orig_bounds, Bool skip_focus)
 
void drawable_finalize_sort (struct _drawable_context *ctx, GF_TraverseState *tr_state, GF_Rect *orig_bounds)
 
void drawable_check_focus_highlight (GF_Node *node, GF_TraverseState *tr_state, GF_Rect *orig_bounds)
 
void drawable_traverse_focus (GF_Node *node, void *rs, Bool is_destroy)
 
void delete_strikeinfo2d (StrikeInfo2D *info)
 
StrikeInfo2Ddrawable_get_strikeinfo (GF_Compositor *compositor, Drawable *drawable, DrawAspect2D *asp, GF_Node *appear, GF_Path *path, u32 svg_flags, GF_TraverseState *tr_state)
 
void drawable_reset_path_outline (Drawable *st)
 
void drawable_reset_path (Drawable *st)
 
static void DestroyLineProps (GF_Node *n, void *rs, Bool is_destroy)
 
void compositor_init_lineprops (GF_Compositor *compositor, GF_Node *node)
 
Bool drawable_get_aspect_2d_svg (GF_Node *node, DrawAspect2D *asp, GF_TraverseState *tr_state)
 
static Bool svg_appearance_flag_dirty (u32 flags)
 
DrawableContext * drawable_init_context_svg (Drawable *drawable, GF_TraverseState *tr_state, SVG_ClipPath *clip_path)
 

Function Documentation

◆ drawable_draw()

void drawable_draw ( Drawable *  drawable,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ call_drawable_draw()

void call_drawable_draw ( DrawableContext *  ctx,
GF_TraverseState *  tr_state,
Bool  set_cyclic 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vrml_drawable_pick()

void vrml_drawable_pick ( Drawable *  drawable,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_init_ex()

void drawable_init_ex ( Drawable *  tmp)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_new()

Drawable* drawable_new ( )
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_reset_bounds()

void drawable_reset_bounds ( Drawable *  dr,
GF_VisualManager *  visual 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_del_ex()

void drawable_del_ex ( Drawable *  dr,
GF_Compositor *  compositor,
Bool  no_free 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_del()

void drawable_del ( Drawable *  dr)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_node_del()

void drawable_node_del ( GF_Node node)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_stack_new()

Drawable* drawable_stack_new ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_check_alloc_bounds()

static BoundInfo* drawable_check_alloc_bounds ( struct _drawable_context ctx,
GF_VisualManager *  visual 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_reset_group_highlight()

void drawable_reset_group_highlight ( GF_TraverseState *  tr_state,
GF_Node n 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_mark_modified()

void drawable_mark_modified ( Drawable *  drawable,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_flush_bounds()

Bool drawable_flush_bounds ( Drawable *  drawable,
GF_VisualManager *  on_visual,
u32  mode2d 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_has_same_bounds()

Bool drawable_has_same_bounds ( struct _drawable_context ctx,
GF_VisualManager *  visual 
)
+ Here is the caller graph for this function:

◆ drawable_get_previous_bound()

Bool drawable_get_previous_bound ( Drawable *  drawable,
GF_IRect rc,
GF_VisualManager *  visual 
)
+ Here is the caller graph for this function:

◆ NewDrawableContext()

DrawableContext* NewDrawableContext ( )
+ Here is the caller graph for this function:

◆ DeleteDrawableContext()

void DeleteDrawableContext ( DrawableContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawctx_reset()

void drawctx_reset ( DrawableContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawctx_update_info()

void drawctx_update_info ( DrawableContext *  ctx,
GF_VisualManager *  visual 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_lineprops_dirty()

static Bool drawable_lineprops_dirty ( GF_Node node)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_get_aspect_2d_mpeg4()

u32 drawable_get_aspect_2d_mpeg4 ( GF_Node node,
DrawAspect2D *  asp,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_transparent_skip()

static Bool check_transparent_skip ( DrawableContext *  ctx,
Bool  skipFill 
)
static
+ Here is the caller graph for this function:

◆ drawable_check_texture_dirty()

void drawable_check_texture_dirty ( DrawableContext *  ctx,
Drawable *  drawable,
GF_TraverseState *  tr_state 
)
+ Here is the caller graph for this function:

◆ drawable_init_context_mpeg4()

DrawableContext* drawable_init_context_mpeg4 ( Drawable *  drawable,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_finalize_end()

static Bool drawable_finalize_end ( struct _drawable_context ctx,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_check_bounds()

void drawable_check_bounds ( struct _drawable_context ctx,
GF_VisualManager *  visual 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_compute_line_scale()

void drawable_compute_line_scale ( GF_TraverseState *  tr_state,
DrawAspect2D *  asp 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_finalize_sort_ex()

void drawable_finalize_sort_ex ( DrawableContext *  ctx,
GF_TraverseState *  tr_state,
GF_Rect orig_bounds,
Bool  skip_focus 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_finalize_sort()

void drawable_finalize_sort ( struct _drawable_context ctx,
GF_TraverseState *  tr_state,
GF_Rect orig_bounds 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_check_focus_highlight()

void drawable_check_focus_highlight ( GF_Node node,
GF_TraverseState *  tr_state,
GF_Rect orig_bounds 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_traverse_focus()

void drawable_traverse_focus ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ delete_strikeinfo2d()

void delete_strikeinfo2d ( StrikeInfo2D info)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_get_strikeinfo()

StrikeInfo2D* drawable_get_strikeinfo ( GF_Compositor *  compositor,
Drawable *  drawable,
DrawAspect2D *  asp,
GF_Node appear,
GF_Path path,
u32  svg_flags,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_reset_path_outline()

void drawable_reset_path_outline ( Drawable *  st)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_reset_path()

void drawable_reset_path ( Drawable *  st)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DestroyLineProps()

static void DestroyLineProps ( GF_Node n,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_lineprops()

void compositor_init_lineprops ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawable_get_aspect_2d_svg()

Bool drawable_get_aspect_2d_svg ( GF_Node node,
DrawAspect2D *  asp,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_appearance_flag_dirty()

static Bool svg_appearance_flag_dirty ( u32  flags)
static
+ Here is the caller graph for this function:

◆ drawable_init_context_svg()

DrawableContext* drawable_init_context_svg ( Drawable *  drawable,
GF_TraverseState *  tr_state,
SVG_ClipPath clip_path 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: