示例#1
0
        public void StartCreatingIn(Point point)
        {
            Figure = new UnclosedPathFigure {
                Layout = ParentVectorRedactor.Layout
            };
            ParentVectorRedactor.Layout.AddFigure(Figure);
            (Figure as UnclosedPathFigure).AddPoint(point);
            (Figure as UnclosedPathFigure).AddPoint(point);
            (Figure as UnclosedPathFigure).UpdatePath();

            Invalidate();
        }
示例#2
0
文件: Glyphs.cs 项目: ernado/Owl
        public void StartCreatingIn(Point point)
        {
            Figure = new UnclosedPathFigure {Layout = ParentVectorRedactor.Layout};
            ParentVectorRedactor.Layout.AddFigure(Figure);
            (Figure as UnclosedPathFigure).AddPoint(point);
            (Figure as UnclosedPathFigure).AddPoint(point);
            (Figure as UnclosedPathFigure).UpdatePath();

            Invalidate();
        }
示例#3
0
 public PathGlyph(GlyphConfig config)
 {
     Config = config;
     Figure = new UnclosedPathFigure();
 }
示例#4
0
文件: Glyphs.cs 项目: ernado/Owl
 public PathGlyph(GlyphConfig config)
 {
     Config = config;
     Figure = new UnclosedPathFigure();
 }