Lines Matching refs:SDL_ShapeTree

126 static SDL_ShapeTree*
135 SDL_ShapeTree* result = (SDL_ShapeTree*)SDL_malloc(sizeof(SDL_ShapeTree)); in RecursivelyCalculateShapeTree()
184 …result->data.children.upleft = (struct SDL_ShapeTree *)RecursivelyCalculateShapeTree(mode,mask,nex… in RecursivelyCalculateShapeTree()
188 …result->data.children.upright = (struct SDL_ShapeTree *)RecursivelyCalculateShapeTree(mode,mask,ne… in RecursivelyCalculateShapeTree()
194 …result->data.children.downleft = (struct SDL_ShapeTree *)RecursivelyCalculateShapeTree(mode,mask,n… in RecursivelyCalculateShapeTree()
198 …result->data.children.downright = (struct SDL_ShapeTree *)RecursivelyCalculateShapeTree(mode,mask,… in RecursivelyCalculateShapeTree()
212 SDL_ShapeTree*
216 SDL_ShapeTree* result = NULL; in SDL_CalculateShapeTree()
232 SDL_TraverseShapeTree(SDL_ShapeTree *tree,SDL_TraversalFunction function,void* closure) in SDL_TraverseShapeTree()
236 SDL_TraverseShapeTree((SDL_ShapeTree *)tree->data.children.upleft,function,closure); in SDL_TraverseShapeTree()
237 SDL_TraverseShapeTree((SDL_ShapeTree *)tree->data.children.upright,function,closure); in SDL_TraverseShapeTree()
238 SDL_TraverseShapeTree((SDL_ShapeTree *)tree->data.children.downleft,function,closure); in SDL_TraverseShapeTree()
239 SDL_TraverseShapeTree((SDL_ShapeTree *)tree->data.children.downright,function,closure); in SDL_TraverseShapeTree()
246 SDL_FreeShapeTree(SDL_ShapeTree** shape_tree) in SDL_FreeShapeTree()
249 SDL_FreeShapeTree((SDL_ShapeTree **)(char*)&(*shape_tree)->data.children.upleft); in SDL_FreeShapeTree()
250 SDL_FreeShapeTree((SDL_ShapeTree **)(char*)&(*shape_tree)->data.children.upright); in SDL_FreeShapeTree()
251 SDL_FreeShapeTree((SDL_ShapeTree **)(char*)&(*shape_tree)->data.children.downleft); in SDL_FreeShapeTree()
252 SDL_FreeShapeTree((SDL_ShapeTree **)(char*)&(*shape_tree)->data.children.downright); in SDL_FreeShapeTree()