Skip to content

Global.ResizeGraphicsDeviceManagerDelegate Delegate

Resizes the GraphicsDeviceManager by the specified font size.

C#
public delegate void Global.ResizeGraphicsDeviceManagerDelegate(Point fontSize, int width, int height, int additionalWidth, int additionalHeight)

fontSize Microsoft.Xna.Framework.Point
The size of the font to base the final values on.

width int
The count of glyphs along the X-axis.

height int
The count of glyphs along the Y-axis.

additionalWidth int
Additional pixel width to add to the resize.

additionalHeight int
Additional pixel height to add to the resize.

ResizeGraphicsDeviceManagerDelegate(object, nint)

Section titled “ResizeGraphicsDeviceManagerDelegate(object, nint)”
C#
public ResizeGraphicsDeviceManagerDelegate(object @object, nint method)

object object

method nint

C#
public virtual void Invoke(Point fontSize, int width, int height, int additionalWidth, int additionalHeight)

fontSize Microsoft.Xna.Framework.Point

width int

height int

additionalWidth int

additionalHeight int

BeginInvoke(Point, int, int, int, int, AsyncCallback, object)

Section titled “BeginInvoke(Point, int, int, int, int, AsyncCallback, object)”
C#
public virtual IAsyncResult BeginInvoke(Point fontSize, int width, int height, int additionalWidth, int additionalHeight, AsyncCallback callback, object @object)

fontSize Microsoft.Xna.Framework.Point

width int

height int

additionalWidth int

additionalHeight int

callback AsyncCallback

object object

IAsyncResult

C#
public virtual void EndInvoke(IAsyncResult result)

result IAsyncResult