PixelFarm.Agg.VertexStore.AddCloseFigure C# (CSharp) Method

AddCloseFigure() public method

public AddCloseFigure ( ) : void
return void
        public void AddCloseFigure()
        {
            AddVertex(0, 0, VertexCmd.CloseAndEndFigure);
        }
        public void AddStop()

Usage Example

示例#1
0
 static Affine BuildImageBoundsPath(int srcW, int srcH,
                                    VertexStore drawImageRectPath, AffinePlan[] affPlans)
 {
     drawImageRectPath.Clear();
     drawImageRectPath.AddMoveTo(0, 0);
     drawImageRectPath.AddLineTo(srcW, 0);
     drawImageRectPath.AddLineTo(srcW, srcH);
     drawImageRectPath.AddLineTo(0, srcH);
     drawImageRectPath.AddCloseFigure();
     return(Affine.NewMatix(affPlans));
 }
All Usage Examples Of PixelFarm.Agg.VertexStore::AddCloseFigure