Example #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();
        }
Example #2
0
File: Glyphs.cs Project: 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();
        }
Example #3
0
 public PathGlyph(GlyphConfig config)
 {
     Config = config;
     Figure = new UnclosedPathFigure();
 }
Example #4
0
File: Glyphs.cs Project: ernado/Owl
 public PathGlyph(GlyphConfig config)
 {
     Config = config;
     Figure = new UnclosedPathFigure();
 }