示例#1
0
 public NvgState()
 {
     Xform   = new float[6];
     Scissor = new NvgScissor();
     Fill    = new NvgPaint();
     Stroke  = new NvgPaint();
 }
示例#2
0
        public NvgScissor Clone()
        {
            var newScissor = new NvgScissor();

            Array.Copy(Xform, newScissor.Xform, Xform.Length);
            Array.Copy(Extent, newScissor.Extent, Extent.Length);

            return(newScissor);
        }