Click or drag to resize
DigitalRuneRenderContextClone Method
Creates a new RenderContext that is a clone of the current instance.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public RenderContext Clone()

Return Value

Type: RenderContext
A new RenderContext that is a clone of the current instance.
Remarks

See class documentation of RenderContext (section "Cloning") for more information.

Notes to Inheritors: The method Clone calls CreateInstanceCore which is responsible for creating a new instance of the RenderContext derived class and CloneCore(RenderContext) to create a copy of the current instance. Classes that derive from RenderContext need to implement CreateInstanceCore and CloneCore(RenderContext).

See Also