zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SDL_shape_internals.h File Reference
#include "SDL_config.h"
#include "SDL_rect.h"
#include "SDL_shape.h"
#include "SDL_surface.h"
#include "begin_code.h"
#include "close_code.h"

Go to the source code of this file.

Classes

struct  SDL_QuadTreeChildren
 
struct  SDL_ShapeTree
 
union  SDL_ShapeUnion
 

Typedefs

typedef void(* SDL_TraversalFunction )(SDL_ShapeTree *, void *)
 

Enumerations

enum  SDL_ShapeKind { QuadShape, TransparentShape, OpaqueShape }
 

Functions

void SDL_CalculateShapeBitmap (SDL_WindowShapeMode mode, SDL_Surface *shape, Uint8 *bitmap, Uint8 ppb)
 
SDL_ShapeTreeSDL_CalculateShapeTree (SDL_WindowShapeMode mode, SDL_Surface *shape)
 
void SDL_FreeShapeTree (SDL_ShapeTree **shape_tree)
 
void SDL_TraverseShapeTree (SDL_ShapeTree *tree, SDL_TraversalFunction function, void *closure)
 

Typedef Documentation

typedef void(* SDL_TraversalFunction)(SDL_ShapeTree *, void *)

Definition at line 54 of file SDL_shape_internals.h.

Enumeration Type Documentation

Enumerator
QuadShape 
TransparentShape 
OpaqueShape 

Definition at line 47 of file SDL_shape_internals.h.

Function Documentation

void SDL_FreeShapeTree ( SDL_ShapeTree **  shape_tree)

Definition at line 223 of file SDL_shape.c.

References NULL, QuadShape, SDL_free(), and SDL_FreeShapeTree().

Referenced by SDL_FreeShapeTree().