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
GF_Raster2D Struct Reference

#include <raster2d.h>

+ Collaboration diagram for GF_Raster2D:

Data Fields

u32 InterfaceType
 
const char * module_name
 
const char * author_name
 
void * HPLUG
 
GF_STENCIL(* stencil_new )(struct _raster2d_interface *, GF_StencilType type)
 
void(* stencil_delete )(GF_STENCIL _this)
 
GF_Err(* stencil_set_matrix )(GF_STENCIL _this, GF_Matrix2D *mat)
 
GF_Err(* stencil_set_brush_color )(GF_STENCIL _this, GF_Color c)
 
GF_Err(* stencil_set_gradient_mode )(GF_STENCIL _this, GF_GradientMode mode)
 
GF_Err(* stencil_set_linear_gradient )(GF_STENCIL _this, Fixed start_x, Fixed start_y, Fixed end_x, Fixed end_y)
 
GF_Err(* stencil_set_radial_gradient )(GF_STENCIL _this, Fixed cx, Fixed cy, Fixed fx, Fixed fy, Fixed x_radius, Fixed y_radius)
 
GF_Err(* stencil_set_gradient_interpolation )(GF_STENCIL _this, Fixed *pos, GF_Color *col, u32 count)
 
GF_Err(* stencil_set_vertex_path )(GF_STENCIL _this, GF_Path *path)
 
GF_Err(* stencil_set_vertex_center )(GF_STENCIL _this, Fixed cx, Fixed cy, u32 color)
 
GF_Err(* stencil_set_vertex_colors )(GF_STENCIL _this, u32 *colors, u32 nbCol)
 
GF_Err(* stencil_set_alpha )(GF_STENCIL _this, u8 alpha)
 
GF_Err(* stencil_set_texture )(GF_STENCIL _this, char *pixels, u32 width, u32 height, u32 stride, GF_PixelFormat pixelFormat, GF_PixelFormat destination_format_hint, Bool no_copy)
 
GF_Err(* stencil_create_texture )(GF_STENCIL _this, u32 width, u32 height, GF_PixelFormat pixelFormat)
 
void(* stencil_texture_modified )(GF_STENCIL _this)
 
GF_Err(* stencil_set_tiling )(GF_STENCIL _this, GF_TextureTiling mode)
 
GF_Err(* stencil_set_filter )(GF_STENCIL _this, GF_TextureFilter filter_mode)
 
GF_Err(* stencil_set_color_matrix )(GF_STENCIL _this, GF_ColorMatrix *cmat)
 
GF_SURFACE(* surface_new )(struct _raster2d_interface *, Bool center_coords)
 
void(* surface_delete )(GF_SURFACE _this)
 
GF_Err(* surface_attach_to_device )(GF_SURFACE _this, void *os_handle, u32 width, u32 height)
 
GF_Err(* surface_attach_to_texture )(GF_SURFACE _this, GF_STENCIL sten)
 
GF_Err(* surface_attach_to_buffer )(GF_SURFACE _this, char *pixels, u32 width, u32 height, s32 pitch_x, s32 pitch_y, GF_PixelFormat pixelFormat)
 
GF_Err(* surface_attach_to_callbacks )(GF_SURFACE _this, GF_RasterCallback *callbacks, u32 width, u32 height)
 
void(* surface_detach )(GF_SURFACE _this)
 
GF_Err(* surface_set_raster_level )(GF_SURFACE _this, GF_RasterLevel RasterSetting)
 
GF_Err(* surface_set_matrix )(GF_SURFACE _this, GF_Matrix2D *mat)
 
GF_Err(* surface_set_clipper )(GF_SURFACE _this, GF_IRect *rc)
 
GF_Err(* surface_set_path )(GF_SURFACE _this, GF_Path *path)
 
GF_Err(* surface_fill )(GF_SURFACE _this, GF_STENCIL stencil)
 
GF_Err(* surface_flush )(GF_SURFACE _this)
 
GF_Err(* surface_clear )(GF_SURFACE _this, GF_IRect *rc, GF_Color col)
 
void * internal
 

Field Documentation

u32 GF_Raster2D::InterfaceType
const char* GF_Raster2D::module_name
const char* GF_Raster2D::author_name
void* GF_Raster2D::HPLUG
GF_STENCIL(* GF_Raster2D::stencil_new)(struct _raster2d_interface *, GF_StencilType type)
void(* GF_Raster2D::stencil_delete)(GF_STENCIL _this)
GF_Err(* GF_Raster2D::stencil_set_matrix)(GF_STENCIL _this, GF_Matrix2D *mat)
GF_Err(* GF_Raster2D::stencil_set_brush_color)(GF_STENCIL _this, GF_Color c)
GF_Err(* GF_Raster2D::stencil_set_gradient_mode)(GF_STENCIL _this, GF_GradientMode mode)
GF_Err(* GF_Raster2D::stencil_set_linear_gradient)(GF_STENCIL _this, Fixed start_x, Fixed start_y, Fixed end_x, Fixed end_y)
GF_Err(* GF_Raster2D::stencil_set_radial_gradient)(GF_STENCIL _this, Fixed cx, Fixed cy, Fixed fx, Fixed fy, Fixed x_radius, Fixed y_radius)
GF_Err(* GF_Raster2D::stencil_set_gradient_interpolation)(GF_STENCIL _this, Fixed *pos, GF_Color *col, u32 count)
GF_Err(* GF_Raster2D::stencil_set_vertex_path)(GF_STENCIL _this, GF_Path *path)
GF_Err(* GF_Raster2D::stencil_set_vertex_center)(GF_STENCIL _this, Fixed cx, Fixed cy, u32 color)
GF_Err(* GF_Raster2D::stencil_set_vertex_colors)(GF_STENCIL _this, u32 *colors, u32 nbCol)
GF_Err(* GF_Raster2D::stencil_set_alpha)(GF_STENCIL _this, u8 alpha)
GF_Err(* GF_Raster2D::stencil_set_texture)(GF_STENCIL _this, char *pixels, u32 width, u32 height, u32 stride, GF_PixelFormat pixelFormat, GF_PixelFormat destination_format_hint, Bool no_copy)
GF_Err(* GF_Raster2D::stencil_create_texture)(GF_STENCIL _this, u32 width, u32 height, GF_PixelFormat pixelFormat)
void(* GF_Raster2D::stencil_texture_modified)(GF_STENCIL _this)
GF_Err(* GF_Raster2D::stencil_set_tiling)(GF_STENCIL _this, GF_TextureTiling mode)
GF_Err(* GF_Raster2D::stencil_set_filter)(GF_STENCIL _this, GF_TextureFilter filter_mode)
GF_Err(* GF_Raster2D::stencil_set_color_matrix)(GF_STENCIL _this, GF_ColorMatrix *cmat)
GF_SURFACE(* GF_Raster2D::surface_new)(struct _raster2d_interface *, Bool center_coords)
void(* GF_Raster2D::surface_delete)(GF_SURFACE _this)
GF_Err(* GF_Raster2D::surface_attach_to_device)(GF_SURFACE _this, void *os_handle, u32 width, u32 height)
GF_Err(* GF_Raster2D::surface_attach_to_texture)(GF_SURFACE _this, GF_STENCIL sten)
GF_Err(* GF_Raster2D::surface_attach_to_buffer)(GF_SURFACE _this, char *pixels, u32 width, u32 height, s32 pitch_x, s32 pitch_y, GF_PixelFormat pixelFormat)
GF_Err(* GF_Raster2D::surface_attach_to_callbacks)(GF_SURFACE _this, GF_RasterCallback *callbacks, u32 width, u32 height)
void(* GF_Raster2D::surface_detach)(GF_SURFACE _this)
GF_Err(* GF_Raster2D::surface_set_raster_level)(GF_SURFACE _this, GF_RasterLevel RasterSetting)
GF_Err(* GF_Raster2D::surface_set_matrix)(GF_SURFACE _this, GF_Matrix2D *mat)
GF_Err(* GF_Raster2D::surface_set_clipper)(GF_SURFACE _this, GF_IRect *rc)
GF_Err(* GF_Raster2D::surface_set_path)(GF_SURFACE _this, GF_Path *path)
GF_Err(* GF_Raster2D::surface_fill)(GF_SURFACE _this, GF_STENCIL stencil)
GF_Err(* GF_Raster2D::surface_flush)(GF_SURFACE _this)
GF_Err(* GF_Raster2D::surface_clear)(GF_SURFACE _this, GF_IRect *rc, GF_Color col)
void* GF_Raster2D::internal

The documentation for this struct was generated from the following file: