Updated DrawString to modify the pen position in the DrawData parameter
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9381 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -180,7 +180,9 @@ public:
|
|||||||
void GetMode(display_mode *mode);
|
void GetMode(display_mode *mode);
|
||||||
|
|
||||||
// Font-related calls
|
// Font-related calls
|
||||||
void DrawString(const char *string, const int32 &length, const BPoint &pt, const DrawData *d);
|
|
||||||
|
// DrawData is NOT const because this call updates the pen position in the passed DrawData
|
||||||
|
void DrawString(const char *string, const int32 &length, const BPoint &pt, DrawData *d);
|
||||||
void DrawString(const char *string, const int32 &length, const BPoint &pt, const RGBColor &color, escapement_delta *delta=NULL);
|
void DrawString(const char *string, const int32 &length, const BPoint &pt, const RGBColor &color, escapement_delta *delta=NULL);
|
||||||
|
|
||||||
float StringWidth(const char *string, int32 length, const DrawData *d);
|
float StringWidth(const char *string, int32 length, const DrawData *d);
|
||||||
|
|||||||
Reference in New Issue
Block a user