Added a StringWidth method variant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12569 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -43,6 +43,7 @@ class DrawData;
|
||||
class RGBColor;
|
||||
class ServerBitmap;
|
||||
class ServerCursor;
|
||||
class ServerFont;
|
||||
|
||||
/*!
|
||||
\brief Data structure for passing cursor information to hardware drivers.
|
||||
@@ -257,6 +258,10 @@ class DisplayDriver {
|
||||
int32 length,
|
||||
const DrawData *d) = 0;
|
||||
|
||||
virtual float StringWidth( const char *string,
|
||||
int32 length,
|
||||
const ServerFont &font) = 0;
|
||||
|
||||
virtual float StringHeight( const char *string,
|
||||
int32 length,
|
||||
const DrawData *d) = 0;
|
||||
|
||||
Reference in New Issue
Block a user