VR-Vantage
Loading...
Searching...
No Matches
imstb_rectpack.h File Reference

Go to the source code of this file.

Classes

struct  stbrp_rect
struct  stbrp_node
struct  stbrp_context

Macros

#define STB_RECT_PACK_VERSION   1
#define STBRP_DEF   extern

Enumerations

enum  { STBRP_HEURISTIC_Skyline_default =0 , STBRP_HEURISTIC_Skyline_BL_sortHeight = STBRP_HEURISTIC_Skyline_default , STBRP_HEURISTIC_Skyline_BF_sortHeight }

Functions

STBRP_DEF int stbrp_pack_rects (stbrp_context *context, stbrp_rect *rects, int num_rects)
STBRP_DEF void stbrp_init_target (stbrp_context *context, int width, int height, stbrp_node *nodes, int num_nodes)
STBRP_DEF void stbrp_setup_allow_out_of_mem (stbrp_context *context, int allow_out_of_mem)
STBRP_DEF void stbrp_setup_heuristic (stbrp_context *context, int heuristic)

Macro Definition Documentation

◆ STB_RECT_PACK_VERSION

#define STB_RECT_PACK_VERSION   1

◆ STBRP_DEF

#define STBRP_DEF   extern

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
STBRP_HEURISTIC_Skyline_default 
STBRP_HEURISTIC_Skyline_BL_sortHeight 
STBRP_HEURISTIC_Skyline_BF_sortHeight 

Function Documentation

◆ stbrp_pack_rects()

STBRP_DEF int stbrp_pack_rects ( stbrp_context * context,
stbrp_rect * rects,
int num_rects )

References STBRP_DEF.

◆ stbrp_init_target()

STBRP_DEF void stbrp_init_target ( stbrp_context * context,
int width,
int height,
stbrp_node * nodes,
int num_nodes )

References STBRP_DEF.

◆ stbrp_setup_allow_out_of_mem()

STBRP_DEF void stbrp_setup_allow_out_of_mem ( stbrp_context * context,
int allow_out_of_mem )

References STBRP_DEF.

◆ stbrp_setup_heuristic()

STBRP_DEF void stbrp_setup_heuristic ( stbrp_context * context,
int heuristic )

References STBRP_DEF.