~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/blender/blenkernel/BKE_font.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * blenlib/BKE_vfont.h (mar-2001 nzc)
3
 
 *      
4
 
 * $Id: BKE_font.h 26841 2010-02-12 13:34:04Z campbellbarton $ 
5
 
 *
 
1
/*
6
2
 * ***** BEGIN GPL LICENSE BLOCK *****
7
3
 *
8
4
 * This program is free software; you can redistribute it and/or
28
24
 *
29
25
 * ***** END GPL LICENSE BLOCK *****
30
26
 */
31
 
#ifndef BKE_VFONT_H
32
 
#define BKE_VFONT_H
 
27
#ifndef __BKE_FONT_H__
 
28
#define __BKE_FONT_H__
 
29
 
 
30
/** \file BKE_font.h
 
31
 *  \ingroup bke
 
32
 */
33
33
 
34
34
#ifdef __cplusplus
35
35
extern "C" {
44
44
struct objfnt;
45
45
struct TmpFont;
46
46
struct CharInfo;
 
47
struct Main;
47
48
 
48
49
struct chartrans {
49
50
        float xof, yof;
75
76
void free_vfont(struct VFont *sc); 
76
77
void free_ttfont(void);
77
78
struct VFont *get_builtin_font(void);
78
 
struct VFont *load_vfont(char *name);
 
79
struct VFont *load_vfont(struct Main *bmain, const char *name);
79
80
struct TmpFont *vfont_find_tmpfont(struct VFont *vfont);
80
81
 
81
 
struct chartrans *BKE_text_to_curve(struct Scene *scene, struct Object *ob, int mode);
 
82
struct chartrans *BKE_text_to_curve(struct Main *bmain, struct Scene *scene, struct Object *ob, int mode);
82
83
 
83
84
int BKE_font_getselection(struct Object *ob, int *start, int *end);
84
85
 
85
 
void chtoutf8(unsigned long c, char *o);
86
 
void wcs2utf8s(char *dst, wchar_t *src);
87
 
int wcsleninu8(wchar_t *src);
88
 
int utf8towchar(wchar_t *w, char *c);
89
 
 
90
86
#ifdef __cplusplus
91
87
}
92
88
#endif