Skip to main content

GraphicsCache Constructors

Provides methods to paint on drawing surfaces in GDI+ and DirectX modes (see DirectX hardware acceleration). Provides storage for pens, fonts and brushes.

Name Parameters Description
GraphicsCache(DXPaintEventArgs, ScaleHelper) e, scaleDPI This value is assigned to the GraphicsCache.PaintArgs property.
GraphicsCache(DXPaintEventArgs, XPaint, ScaleHelper) e, paint, scaleDPI This value is assigned to the GraphicsCache.PaintArgs property.
GraphicsCache(DXPaintEventArgs, XPaint) e, paint Initializes a new instance of the GraphicsCache class
GraphicsCache(DXPaintEventArgs) e Initializes a new instance of the GraphicsCache class.
GraphicsCache(Graphics, ScaleHelper) g, scaleDPI This value is assigned to the GraphicsCache.PaintArgs property.
GraphicsCache(Graphics) g Creates an instance of the GraphicsCache class.
GraphicsCache(PaintEventArgs, ScaleHelper) e, scaleDPI Initializes a new instance of the GraphicsCache class with the specified settings.
GraphicsCache(PaintEventArgs, XPaint) e, paint Creates an instance of the GraphicsCache class.
GraphicsCache(PaintEventArgs) e Initializes a new instance of the GraphicsCache class.
See Also