Show / Hide Table of Contents

Class r3dRender

Inheritance
System.Object
r3dRender
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FlatPMSDK
Assembly: FlatPMSDK.dll
Syntax
public static class r3dRender

Methods

CLoadImage(Graphics, Byte[])

Declaration
public static SharpDX.Direct2D1.Bitmap CLoadImage(this Graphics gfx, byte[] res)
Parameters
Type Name Description
Graphics gfx
System.Byte[] res
Returns
Type Description
SharpDX.Direct2D1.Bitmap

CreateBitmap(Graphics, Byte[])

Create Alpha supported Bitmap

Declaration
public static SharpDX.Direct2D1.Bitmap CreateBitmap(this Graphics gfx, byte[] res)
Parameters
Type Name Description
Graphics gfx
System.Byte[] res
Returns
Type Description
SharpDX.Direct2D1.Bitmap

CreateFont(Graphics, SharpDX.DirectWrite.FontCollection, String, Single, Boolean, Boolean, Boolean)

Declaration
public static Font CreateFont(this Graphics gfx, SharpDX.DirectWrite.FontCollection CurrentFontCollection, string fontFamilyName, float size, bool bold = false, bool italic = false, bool wordWrapping = false)
Parameters
Type Name Description
Graphics gfx

gfx dev

SharpDX.DirectWrite.FontCollection CurrentFontCollection

font collection

System.String fontFamilyName

The name of the font family.

System.Single size

The size of this Font.

System.Boolean bold

A Boolean value indicating whether this Font is bold.

System.Boolean italic

A Boolean value indicating whether this Font is italic.

System.Boolean wordWrapping

A Boolean value indicating whether this Font uses word wrapping.

Returns
Type Description
Font

DrawBitmap(Graphics, SharpDX.Direct2D1.Bitmap, SharpDX.Mathematics.Interop.RawRectangleF, Single)

Draws Bitmap On the scene.

Declaration
public static void DrawBitmap(this Graphics gfx, SharpDX.Direct2D1.Bitmap bitmap, SharpDX.Mathematics.Interop.RawRectangleF rec, float opa = 1F)
Parameters
Type Name Description
Graphics gfx
SharpDX.Direct2D1.Bitmap bitmap
SharpDX.Mathematics.Interop.RawRectangleF rec
System.Single opa
Back to top Generated by DocFX