More API fixes and tweaks, mostly to get BFont::GetHeight working

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10805 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2005-01-17 20:05:36 +00:00
parent 3f8d6d562d
commit 9a2b128aea
3 changed files with 23 additions and 4 deletions
+4 -2
View File
@@ -47,7 +47,7 @@ public:
float Shear(void) const { return fshear; }
float Rotation(void) const { return frotation; }
float Size(void) const { return fsize; }
uint32 Face(void) const { return fface; }
uint16 Face(void) const { return fface; }
uint32 CountGlyphs(void);
int32 CountTuned(void);
font_file_format FileFormat(void);
@@ -73,6 +73,8 @@ public:
const char *GetStyle(void) const;
const char *GetFamily(void) const;
const char *GetPath(void) const { return fstyle->GetPath(); }
uint16 StyleID(void) const { return fstyle->GetID(); }
uint16 FamilyID(void) const { return fstyle->Family()->GetID(); }
BRect BoundingBox(void);
void Height(font_height *fh);
@@ -88,7 +90,7 @@ protected:
BRect fbounds;
uint32 fflags;
uint32 fspacing;
uint32 fface;
uint16 fface;
font_direction fdirection;
uint8 ftruncate;
uint32 fencoding;