Blender  V2.59
Functions
blf_util.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "blf_internal.h"

Go to the source code of this file.

Functions

unsigned int blf_next_p2 (unsigned int x)
unsigned int blf_hash (unsigned int val)
int blf_utf8_next (unsigned char *buf, int *iindex)

Detailed Description

Definition in file blf_util.c.


Function Documentation

unsigned int blf_hash ( unsigned int  val)

Definition at line 52 of file blf_util.c.

References simple_enum_gen::val.

Referenced by blf_glyph_add(), and blf_glyph_search().

unsigned int blf_next_p2 ( unsigned int  x)

Definition at line 40 of file blf_util.c.

Referenced by blf_glyph_cache_texture().

int blf_utf8_next ( unsigned char *  buf,
int *  iindex 
)

Definition at line 75 of file blf_util.c.

References simple_enum_gen::d.

Referenced by blf_font_boundbox(), blf_font_buffer(), and blf_font_draw().