Improved the DrawString() method that takes offsets per glyph by making the

client provide the array size. Added version that doesn't take a string length
for convenience.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35866 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2010-03-15 15:08:07 +00:00
parent 77e5acc0d9
commit a9daf3d911
3 changed files with 21 additions and 7 deletions
+5 -1
View File
@@ -433,8 +433,12 @@ public:
void DrawString(const char* string, int32 length,
BPoint location,
escapement_delta* delta = 0L);
void DrawString(const char* string,
const BPoint* locations,
int32 locationCount);
void DrawString(const char* string, int32 length,
const BPoint* locations);
const BPoint* locations,
int32 locationCount);
virtual void SetFont(const BFont* font,
uint32 mask = B_FONT_ALL);