19 #define BLF_MAX_FONT 32
27 unsigned int blf_hash(
unsigned int val);
76 struct FontBLF *font,
const char *
str,
size_t str_len,
int width,
int *r_width);
78 struct FontBLF *font,
const char *
str,
size_t str_len,
int width,
int *r_width);
114 bool (*user_fn)(
const char *
str,
116 const struct rcti *glyph_step_bounds,
118 const struct rcti *glyph_bounds,
119 const int glyph_bearing[2],
147 # ifdef FT_FREETYPE_H
148 extern FT_Error FT_New_Face__win32_compat(FT_Library
library,
149 const char *pathname,
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei width
void blf_font_draw_buffer(struct FontBLF *font, const char *str, size_t str_len, struct ResultBLF *r_info)
void blf_draw_buffer__start(struct FontBLF *font)
char * blf_display_name(struct FontBLF *font)
void blf_font_draw(struct FontBLF *font, const char *str, size_t str_len, struct ResultBLF *r_info)
void blf_batch_draw(void)
int blf_font_draw_mono(struct FontBLF *font, const char *str, size_t str_len, int cwidth)
char * blf_dir_metrics_search(const char *filepath)
int blf_font_count_missing_chars(struct FontBLF *font, const char *str, size_t str_len, int *r_tot_chars)
struct GlyphCacheBLF * blf_glyph_cache_acquire(struct FontBLF *font)
bool blf_font_size(struct FontBLF *font, float size, unsigned int dpi)
void blf_font_boundbox(struct FontBLF *font, const char *str, size_t str_len, struct rcti *r_box, struct ResultBLF *r_info)
void blf_glyph_free(struct GlyphBLF *g)
int blf_font_descender(struct FontBLF *font)
int blf_font_height_max(struct FontBLF *font)
void blf_glyph_draw(struct FontBLF *font, struct GlyphCacheBLF *gc, struct GlyphBLF *g, int x, int y)
struct FontBLF * blf_font_new_from_mem(const char *name, const unsigned char *mem, int mem_size)
void blf_glyph_cache_clear(struct FontBLF *font)
float blf_font_width(struct FontBLF *font, const char *str, size_t str_len, struct ResultBLF *r_info)
int blf_font_ascender(struct FontBLF *font)
void blf_glyph_cache_release(struct FontBLF *font)
struct FontBLF * blf_font_new(const char *name, const char *filepath)
void blf_font_draw_buffer__wrap(struct FontBLF *font, const char *str, size_t str_len, struct ResultBLF *r_info)
bool blf_font_id_is_valid(int fontid)
void blf_batch_draw_begin(struct FontBLF *font)
void blf_font_boundbox__wrap(struct FontBLF *font, const char *str, size_t str_len, struct rcti *r_box, struct ResultBLF *r_info)
unsigned int blf_next_p2(unsigned int x)
char * blf_dir_search(const char *file)
void blf_font_boundbox_foreach_glyph(struct FontBLF *font, const char *str, size_t str_len, bool(*user_fn)(const char *str, size_t str_step_ofs, const struct rcti *glyph_step_bounds, int glyph_advance_x, const struct rcti *glyph_bounds, const int glyph_bearing[2], void *user_data), void *user_data, struct ResultBLF *r_info)
void blf_font_width_and_height(struct FontBLF *font, const char *str, size_t str_len, float *r_width, float *r_height, struct ResultBLF *r_info)
struct FontBLF * global_font[BLF_MAX_FONT]
void blf_font_free(struct FontBLF *font)
float blf_font_height(struct FontBLF *font, const char *str, size_t str_len, struct ResultBLF *r_info)
size_t blf_font_width_to_strlen(struct FontBLF *font, const char *str, size_t str_len, int width, int *r_width)
size_t blf_font_width_to_rstrlen(struct FontBLF *font, const char *str, size_t str_len, int width, int *r_width)
int blf_font_width_max(struct FontBLF *font)
void blf_font_draw__wrap(struct FontBLF *font, const char *str, size_t str_len, struct ResultBLF *r_info)
float blf_font_fixed_width(struct FontBLF *font)
void blf_draw_buffer__end(void)
unsigned int blf_hash(unsigned int val)
struct GlyphBLF * blf_glyph_ensure(struct FontBLF *font, struct GlyphCacheBLF *gc, uint charcode)
void blf_font_attach_from_mem(struct FontBLF *font, const unsigned char *mem, int mem_size)
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
static const pxr::TfToken g("g", pxr::TfToken::Immortal)
static FT_Library library