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
gdip_rend.cpp File Reference
#include <windows.h>
#include "gdip_priv.h"
#include "GdiplusMem.h"
#include "GdiplusEnums.h"
#include "GdiplusTypes.h"
#include "GdiplusInit.h"
#include "GdiplusPixelFormats.h"
#include "GdiplusColor.h"
#include "GdiplusMetaHeader.h"
#include "GdiplusImaging.h"
#include "GdiplusColorMatrix.h"
#include "GdiplusGpStubs.h"
#include "GdiplusFlat.h"
+ Include dependency graph for gdip_rend.cpp:

Data Structures

struct  _graphics
 

Macros

#define GPGRAPH()   struct _graphics *_graph = (struct _graphics *)_this;
 
#define GDIP_PIXEL_MODE   PixelOffsetModeHighQuality
 

Functions

GpPath * gdip_create_path (GF_Path *_this)
 
static GF_SURFACE gdip_new_surface (GF_Raster2D *, Bool center_coords)
 
static void gdip_delete_surface (GF_SURFACE _this)
 
static GF_Err gdip_attach_surface_to_device (GF_SURFACE _this, void *os_handle, u32 width, u32 height)
 
static GF_Err gdip_attach_surface_to_texture (GF_SURFACE _this, GF_STENCIL sten)
 
static GF_Err gdip_attach_surface_to_buffer (GF_SURFACE _this, char *pixels, u32 width, u32 height, s32 pitch_x, s32 pitch_y, GF_PixelFormat pixelFormat)
 
static void gdip_detach_surface (GF_SURFACE _this)
 
static GF_Err gdip_surface_set_raster_level (GF_SURFACE _this, GF_RasterLevel RasterSetting)
 
static GF_Err gdip_surface_set_matrix (GF_SURFACE _this, GF_Matrix2D *mat)
 
static GF_Err gdip_surface_set_clipper (GF_SURFACE _this, GF_IRect *rc)
 
static GpBrush * gdip_get_brush (struct _stencil *_sten)
 
static GpPath * gdip_setup_path (struct _graphics *_this, GF_Path *path)
 
static GF_Err gdip_surface_set_path (GF_SURFACE _this, GF_Path *path)
 
static GF_Err gdip_surface_fill (GF_SURFACE _this, GF_STENCIL stencil)
 
static GF_Err gdip_surface_flush (GF_SURFACE _this)
 
static GF_Err gdip_surface_clear (GF_SURFACE _this, GF_IRect *rc, u32 color)
 
void gdip_init_driver_surface (GF_Raster2D *driver)
 
GF_Raster2Dgdip_LoadRenderer ()
 
void gdip_ShutdownRenderer (GF_Raster2D *driver)
 

Data Structure Documentation

struct _graphics
+ Collaboration diagram for _graphics:
Data Fields
GpGraphics * graph
GpMatrix * mat
GpPath * clip
GpPath * current
u32 w
u32 h
Bool center_coords
GpBitmap * pBitmap

Macro Definition Documentation

#define GPGRAPH ( )    struct _graphics *_graph = (struct _graphics *)_this;
#define GDIP_PIXEL_MODE   PixelOffsetModeHighQuality

Function Documentation

GpPath* gdip_create_path ( GF_Path _this)

+ Here is the caller graph for this function:

static GF_SURFACE gdip_new_surface ( GF_Raster2D ,
Bool  center_coords 
)
static

+ Here is the caller graph for this function:

static void gdip_delete_surface ( GF_SURFACE  _this)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gdip_attach_surface_to_device ( GF_SURFACE  _this,
void *  os_handle,
u32  width,
u32  height 
)
static

+ Here is the caller graph for this function:

static GF_Err gdip_attach_surface_to_texture ( GF_SURFACE  _this,
GF_STENCIL  sten 
)
static

+ Here is the caller graph for this function:

static GF_Err gdip_attach_surface_to_buffer ( GF_SURFACE  _this,
char *  pixels,
u32  width,
u32  height,
s32  pitch_x,
s32  pitch_y,
GF_PixelFormat  pixelFormat 
)
static

+ Here is the caller graph for this function:

static void gdip_detach_surface ( GF_SURFACE  _this)
static

+ Here is the caller graph for this function:

static GF_Err gdip_surface_set_raster_level ( GF_SURFACE  _this,
GF_RasterLevel  RasterSetting 
)
static

+ Here is the caller graph for this function:

static GF_Err gdip_surface_set_matrix ( GF_SURFACE  _this,
GF_Matrix2D mat 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gdip_surface_set_clipper ( GF_SURFACE  _this,
GF_IRect rc 
)
static

+ Here is the caller graph for this function:

static GpBrush* gdip_get_brush ( struct _stencil _sten)
static
static GpPath* gdip_setup_path ( struct _graphics _this,
GF_Path path 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gdip_surface_set_path ( GF_SURFACE  _this,
GF_Path path 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gdip_surface_fill ( GF_SURFACE  _this,
GF_STENCIL  stencil 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gdip_surface_flush ( GF_SURFACE  _this)
static

+ Here is the caller graph for this function:

static GF_Err gdip_surface_clear ( GF_SURFACE  _this,
GF_IRect rc,
u32  color 
)
static

+ Here is the caller graph for this function:

void gdip_init_driver_surface ( GF_Raster2D driver)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Raster2D* gdip_LoadRenderer ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gdip_ShutdownRenderer ( GF_Raster2D driver)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: