public NvgState() { Xform = new float[6]; Scissor = new NvgScissor(); Fill = new NvgPaint(); Stroke = new NvgPaint(); }
public NvgScissor Clone() { var newScissor = new NvgScissor(); Array.Copy(Xform, newScissor.Xform, Xform.Length); Array.Copy(Extent, newScissor.Extent, Extent.Length); return(newScissor); }