
Public Member Functions | |
| abstract int | StringDisplayWidth (string text) |
| Measures the width of the given string. | |
| abstract int | StringDisplayHeight (string text) |
| Measures the height of the given string. | |
| abstract Size | StringDisplaySize (string text) |
| Measures the size of the given string. | |
| abstract void | DrawText (int destX, int destY, string text) |
| Draws the specified string at the specified location. | |
| abstract void | DrawText (double destX, double destY, string text) |
| Draws the specified string at the specified location. | |
| abstract void | DrawText (Point destPt, string text) |
| Draws the specified string at the specified location. | |
| abstract void | DrawText (PointF destPt, string text) |
| Draws the specified string at the specified location. | |
| virtual void | SetScale (double x, double y) |
| Sets ScaleWidth and ScaleHeight. | |
| virtual void | GetScale (out double x, out double y) |
| Gets ScaleWidth and ScaleHeight. | |
| abstract void | Dispose () |
| Disposes of unmanaged resources. | |
Properties | |
| virtual int | FontHeight [get] |
| Gets the height of a single line of text. | |
| virtual OriginAlignment | DisplayAlignment [get, set] |
| Sets how to interpret the point given to DrawText methods. | |
| virtual Color | Color [get, set] |
| Sets the color of the text to be drawn. | |
| virtual double | Alpha [get, set] |
| Sets the alpha value of the text to be drawn. | |
| double | ScaleWidth [get, set] |
| Gets or sets the amount the width is scaled when the text is drawn. 1.0 is no scaling. | |
| double | ScaleHeight [get, set] |
| Gets or sets the amount the height is scaled when the text is drawn. 1.0 is no scaling. | |
| abstract void AgateLib.ImplementationBase.FontSurfaceImpl.Dispose | ( | ) | [pure virtual] |
| abstract void AgateLib.ImplementationBase.FontSurfaceImpl.DrawText | ( | PointF | destPt, | |
| string | text | |||
| ) | [pure virtual] |
Draws the specified string at the specified location.
| destPt | ||
| text |
Implemented in AgateLib.BitmapFont.BitmapFontImpl.
| abstract void AgateLib.ImplementationBase.FontSurfaceImpl.DrawText | ( | Point | destPt, | |
| string | text | |||
| ) | [pure virtual] |
Draws the specified string at the specified location.
| destPt | ||
| text |
Implemented in AgateLib.BitmapFont.BitmapFontImpl.
| abstract void AgateLib.ImplementationBase.FontSurfaceImpl.DrawText | ( | double | destX, | |
| double | destY, | |||
| string | text | |||
| ) | [pure virtual] |
Draws the specified string at the specified location.
| destX | ||
| destY | ||
| text |
Implemented in AgateLib.BitmapFont.BitmapFontImpl.
| abstract void AgateLib.ImplementationBase.FontSurfaceImpl.DrawText | ( | int | destX, | |
| int | destY, | |||
| string | text | |||
| ) | [pure virtual] |
Draws the specified string at the specified location.
| destX | ||
| destY | ||
| text |
Implemented in AgateLib.BitmapFont.BitmapFontImpl.
| virtual void AgateLib.ImplementationBase.FontSurfaceImpl.GetScale | ( | out double | x, | |
| out double | y | |||
| ) | [virtual] |
Gets ScaleWidth and ScaleHeight.
| x | ||
| y |
| virtual void AgateLib.ImplementationBase.FontSurfaceImpl.SetScale | ( | double | x, | |
| double | y | |||
| ) | [virtual] |
Sets ScaleWidth and ScaleHeight.
| x | ||
| y |
| abstract int AgateLib.ImplementationBase.FontSurfaceImpl.StringDisplayHeight | ( | string | text | ) | [pure virtual] |
Measures the height of the given string.
| text |
Implemented in AgateLib.BitmapFont.BitmapFontImpl.
| abstract Size AgateLib.ImplementationBase.FontSurfaceImpl.StringDisplaySize | ( | string | text | ) | [pure virtual] |
Measures the size of the given string.
| text |
Implemented in AgateLib.BitmapFont.BitmapFontImpl.
| abstract int AgateLib.ImplementationBase.FontSurfaceImpl.StringDisplayWidth | ( | string | text | ) | [pure virtual] |
Measures the width of the given string.
| text |
Implemented in AgateLib.BitmapFont.BitmapFontImpl.
virtual double AgateLib.ImplementationBase.FontSurfaceImpl.Alpha [get, set] |
Sets the alpha value of the text to be drawn.
virtual Color AgateLib.ImplementationBase.FontSurfaceImpl.Color [get, set] |
virtual OriginAlignment AgateLib.ImplementationBase.FontSurfaceImpl.DisplayAlignment [get, set] |
Sets how to interpret the point given to DrawText methods.
virtual int AgateLib.ImplementationBase.FontSurfaceImpl.FontHeight [get] |
double AgateLib.ImplementationBase.FontSurfaceImpl.ScaleHeight [get, set] |
Gets or sets the amount the height is scaled when the text is drawn. 1.0 is no scaling.
double AgateLib.ImplementationBase.FontSurfaceImpl.ScaleWidth [get, set] |
Gets or sets the amount the width is scaled when the text is drawn. 1.0 is no scaling.
|
AgateLib Awesome Game and Tool Engine Library |
|