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

Macros

#define ADAPTATION_SIZE   0
 

Functions

GF_Err visual_2d_init_raster (GF_VisualManager *visual)
 
void visual_2d_release_raster (GF_VisualManager *visual)
 
void visual_2d_clear_surface (GF_VisualManager *visual, GF_IRect *rc, u32 BackColor, u32 is_offscreen)
 
static void draw_clipper (GF_VisualManager *visual, struct _drawable_context *ctx)
 
void visual_2d_fill_path (GF_VisualManager *visual, DrawableContext *ctx, GF_EVGStencil *stencil, GF_TraverseState *tr_state, Bool is_erase)
 
static void visual_2d_set_options (GF_Compositor *compositor, GF_EVGSurface *rend, Bool forText, Bool no_antialias)
 
static void visual_2d_get_texture_transform (GF_Node *__appear, GF_TextureHandler *txh, GF_Matrix2D *mat, Bool line_texture, Fixed final_width, Fixed final_height)
 
static void visual_2d_draw_gradient (GF_VisualManager *visual, GF_Path *path, GF_TextureHandler *txh, struct _drawable_context *ctx, GF_TraverseState *tr_state, GF_Matrix2D *ext_mx, GF_Rect *orig_bounds)
 
void visual_2d_texture_path_text (GF_VisualManager *visual, DrawableContext *txt_ctx, GF_Path *path, GF_Rect *object_bounds, GF_TextureHandler *txh, GF_TraverseState *tr_state)
 
void visual_2d_flush_hybgl_canvas (GF_VisualManager *visual, GF_TextureHandler *txh, struct _drawable_context *ctx, GF_TraverseState *tr_state)
 
void visual_2d_texture_path_opengl_auto (GF_VisualManager *visual, GF_Path *path, GF_TextureHandler *txh, struct _drawable_context *ctx, GF_Rect *orig_bounds, GF_Matrix2D *ext_mx, GF_TraverseState *tr_state)
 
void visual_2d_texture_path_extended (GF_VisualManager *visual, GF_Path *path, GF_TextureHandler *txh, struct _drawable_context *ctx, GF_Rect *orig_bounds, GF_Matrix2D *ext_mx, GF_TraverseState *tr_state)
 
void visual_2d_texture_path (GF_VisualManager *visual, GF_Path *path, struct _drawable_context *ctx, GF_TraverseState *tr_state)
 
void visual_2d_draw_path_extended (GF_VisualManager *visual, GF_Path *path, DrawableContext *ctx, GF_EVGStencil *brush, GF_EVGStencil *pen, GF_TraverseState *tr_state, GF_Rect *orig_bounds, GF_Matrix2D *ext_mx, Bool is_erase)
 
void visual_2d_draw_path (GF_VisualManager *visual, GF_Path *path, DrawableContext *ctx, GF_EVGStencil *brush, GF_EVGStencil *pen, GF_TraverseState *tr_state)
 
void visual_2d_fill_rect (GF_VisualManager *visual, DrawableContext *ctx, GF_Rect *_rc, u32 color, u32 strike_color, GF_TraverseState *tr_state)
 

Macro Definition Documentation

◆ ADAPTATION_SIZE

#define ADAPTATION_SIZE   0

Function Documentation

◆ visual_2d_init_raster()

GF_Err visual_2d_init_raster ( GF_VisualManager *  visual)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_release_raster()

void visual_2d_release_raster ( GF_VisualManager *  visual)
+ Here is the caller graph for this function:

◆ visual_2d_clear_surface()

void visual_2d_clear_surface ( GF_VisualManager *  visual,
GF_IRect rc,
u32  BackColor,
u32  is_offscreen 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ draw_clipper()

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

◆ visual_2d_fill_path()

void visual_2d_fill_path ( GF_VisualManager *  visual,
DrawableContext *  ctx,
GF_EVGStencil *  stencil,
GF_TraverseState *  tr_state,
Bool  is_erase 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_set_options()

static void visual_2d_set_options ( GF_Compositor *  compositor,
GF_EVGSurface *  rend,
Bool  forText,
Bool  no_antialias 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_get_texture_transform()

static void visual_2d_get_texture_transform ( GF_Node __appear,
GF_TextureHandler txh,
GF_Matrix2D mat,
Bool  line_texture,
Fixed  final_width,
Fixed  final_height 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_draw_gradient()

static void visual_2d_draw_gradient ( GF_VisualManager *  visual,
GF_Path path,
GF_TextureHandler txh,
struct _drawable_context ctx,
GF_TraverseState *  tr_state,
GF_Matrix2D ext_mx,
GF_Rect orig_bounds 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_texture_path_text()

void visual_2d_texture_path_text ( GF_VisualManager *  visual,
DrawableContext *  txt_ctx,
GF_Path path,
GF_Rect object_bounds,
GF_TextureHandler txh,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_flush_hybgl_canvas()

void visual_2d_flush_hybgl_canvas ( GF_VisualManager *  visual,
GF_TextureHandler txh,
struct _drawable_context ctx,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_texture_path_opengl_auto()

void visual_2d_texture_path_opengl_auto ( GF_VisualManager *  visual,
GF_Path path,
GF_TextureHandler txh,
struct _drawable_context ctx,
GF_Rect orig_bounds,
GF_Matrix2D ext_mx,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_texture_path_extended()

void visual_2d_texture_path_extended ( GF_VisualManager *  visual,
GF_Path path,
GF_TextureHandler txh,
struct _drawable_context ctx,
GF_Rect orig_bounds,
GF_Matrix2D ext_mx,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_texture_path()

void visual_2d_texture_path ( GF_VisualManager *  visual,
GF_Path path,
struct _drawable_context ctx,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:

◆ visual_2d_draw_path_extended()

void visual_2d_draw_path_extended ( GF_VisualManager *  visual,
GF_Path path,
DrawableContext *  ctx,
GF_EVGStencil *  brush,
GF_EVGStencil *  pen,
GF_TraverseState *  tr_state,
GF_Rect orig_bounds,
GF_Matrix2D ext_mx,
Bool  is_erase 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_draw_path()

void visual_2d_draw_path ( GF_VisualManager *  visual,
GF_Path path,
DrawableContext *  ctx,
GF_EVGStencil *  brush,
GF_EVGStencil *  pen,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visual_2d_fill_rect()

void visual_2d_fill_rect ( GF_VisualManager *  visual,
DrawableContext *  ctx,
GF_Rect _rc,
u32  color,
u32  strike_color,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: