コード例 #1
0
ファイル: Glyphs.cs プロジェクト: ernado-legacy/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();
        }
コード例 #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
ファイル: Glyphs.cs プロジェクト: ernado-legacy/Owl
 public PathGlyph(GlyphConfig config)
 {
     Config = config;
     Figure = new UnclosedPathFigure();
 }
コード例 #4
0
ファイル: Glyphs.cs プロジェクト: ernado/Owl
 public PathGlyph(GlyphConfig config)
 {
     Config = config;
     Figure = new UnclosedPathFigure();
 }