* Extended the BView drawing API by a DrawString() version that takes an array
of locations, one for each glyph. * Added a test for the new functionality. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35865 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -423,16 +423,18 @@ public:
|
||||
|
||||
void DrawChar(char aChar);
|
||||
void DrawChar(char aChar, BPoint location);
|
||||
void DrawString(const char* aString,
|
||||
void DrawString(const char* string,
|
||||
escapement_delta* delta = NULL);
|
||||
void DrawString(const char* aString,
|
||||
void DrawString(const char* string,
|
||||
BPoint location,
|
||||
escapement_delta* delta = NULL);
|
||||
void DrawString(const char* aString, int32 length,
|
||||
void DrawString(const char* string, int32 length,
|
||||
escapement_delta* delta = NULL);
|
||||
void DrawString(const char* aString, int32 length,
|
||||
void DrawString(const char* string, int32 length,
|
||||
BPoint location,
|
||||
escapement_delta* delta = 0L);
|
||||
void DrawString(const char* string, int32 length,
|
||||
const BPoint* locations);
|
||||
|
||||
virtual void SetFont(const BFont* font,
|
||||
uint32 mask = B_FONT_ALL);
|
||||
|
||||
@@ -254,6 +254,7 @@ enum {
|
||||
|
||||
AS_DRAW_STRING,
|
||||
AS_DRAW_STRING_WITH_DELTA,
|
||||
AS_DRAW_STRING_WITH_OFFSETS,
|
||||
|
||||
AS_SYNC,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user