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 RGBColor;
|
||||||
class ServerBitmap;
|
class ServerBitmap;
|
||||||
class ServerCursor;
|
class ServerCursor;
|
||||||
|
class ServerFont;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\brief Data structure for passing cursor information to hardware drivers.
|
\brief Data structure for passing cursor information to hardware drivers.
|
||||||
@@ -257,6 +258,10 @@ class DisplayDriver {
|
|||||||
int32 length,
|
int32 length,
|
||||||
const DrawData *d) = 0;
|
const DrawData *d) = 0;
|
||||||
|
|
||||||
|
virtual float StringWidth( const char *string,
|
||||||
|
int32 length,
|
||||||
|
const ServerFont &font) = 0;
|
||||||
|
|
||||||
virtual float StringHeight( const char *string,
|
virtual float StringHeight( const char *string,
|
||||||
int32 length,
|
int32 length,
|
||||||
const DrawData *d) = 0;
|
const DrawData *d) = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user