IDrawingSpecifics Interface

Provides platform specific fields and methods related to graphics drawing.

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.4.0.0
C#
public interface IDrawingSpecifics

Properties

DpiScreen Screen DPI.
GenericMonospace Generic monospace font.
GenericSansSerif Generic Sans Serif font.
GenericSerif Generic Serif font.

Methods

BitmapFromNativeImage<T> Create IBitmap object from the image in platform specific format.
CloneBitmap Copies a Bitmap to the another object.
CreateBitmap Creates Bitmap object of the specified size.
GraphicsFromBitmap Create Defines methods for a native system drawing surface encapsulation. object from the source bitmap.
GraphicsFromNativeCanvas<T> Create IGraphics object from the platform specific canvas object.
LoadFontFamily Loads font family by the specified file name.

See Also