Delegate Global.ResizeGraphicsDeviceManagerDelegate
Resizes the GraphicsDeviceManager by the specified font size.
Namespace: SadConsole.Host
Assembly: SadConsole.Host.MonoGame.dll
Syntax
public delegate void Global.ResizeGraphicsDeviceManagerDelegate(Point fontSize, int width, int height, int additionalWidth, int additionalHeight)
Parameters
Type | Name | Description |
---|---|---|
Point | fontSize | The size of the font to base the final values on. |
int | width | The count of glyphs along the X-axis. |
int | height | The count of glyphs along the Y-axis. |
int | additionalWidth | Additional pixel width to add to the resize. |
int | additionalHeight | Additional pixel height to add to the resize. |
Constructors
ResizeGraphicsDeviceManagerDelegate(object, nint)
Declaration
public ResizeGraphicsDeviceManagerDelegate(object @object, nint method)
Parameters
Type | Name | Description |
---|---|---|
object | object | |
nint | method |
Methods
BeginInvoke(Point, int, int, int, int, AsyncCallback, object)
Declaration
public virtual IAsyncResult BeginInvoke(Point fontSize, int width, int height, int additionalWidth, int additionalHeight, AsyncCallback callback, object @object)
Parameters
Type | Name | Description |
---|---|---|
Point | fontSize | |
int | width | |
int | height | |
int | additionalWidth | |
int | additionalHeight | |
AsyncCallback | callback | |
object | object |
Returns
Type | Description |
---|---|
IAsyncResult |
EndInvoke(IAsyncResult)
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type | Name | Description |
---|---|---|
IAsyncResult | result |
Invoke(Point, int, int, int, int)
Declaration
public virtual void Invoke(Point fontSize, int width, int height, int additionalWidth, int additionalHeight)
Parameters
Type | Name | Description |
---|---|---|
Point | fontSize | |
int | width | |
int | height | |
int | additionalWidth | |
int | additionalHeight |