~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/blender/blenfont/intern/blf_internal.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
void blf_font_exit(void);
48
48
 
49
49
struct FontBLF *blf_font_new(const char *name, const char *filename);
50
 
struct FontBLF *blf_font_new_from_mem(const char *name, unsigned char *mem, int mem_size);
 
50
struct FontBLF *blf_font_new_from_mem(const char *name, const unsigned char *mem, int mem_size);
51
51
void blf_font_attach_from_mem(struct FontBLF *font, const unsigned char *mem, int mem_size);
52
52
 
53
53
void blf_font_size(struct FontBLF *font, int size, int dpi);
54
 
void blf_font_draw(struct FontBLF *font, const char *str, unsigned int len);
55
 
void blf_font_draw_ascii(struct FontBLF *font, const char *str, unsigned int len);
 
54
void blf_font_draw(struct FontBLF *font, const char *str, size_t len);
 
55
void blf_font_draw_ascii(struct FontBLF *font, const char *str, size_t len);
56
56
void blf_font_buffer(struct FontBLF *font, const char *str);
57
57
void blf_font_boundbox(struct FontBLF *font, const char *str, struct rctf *box);
58
58
void blf_font_width_and_height(struct FontBLF *font, const char *str, float *width, float *height);