public RenderTargetBitmapImpl(Cairo.ImageSurface surface) { Surface = surface; _renderTarget = new RenderTarget(Surface); }
public RenderTargetBitmapImpl( Cairo.ImageSurface surface) : base(surface) { }
/// <summary> /// Initializes a new instance of the <see cref="DrawingContext"/> class. /// </summary> /// <param name="surface">The target surface.</param> public DrawingContext(Cairo.Surface surface) { this.surface = surface; this.context = new Cairo.Context(surface); this.CurrentTransform = Matrix.Identity; }