public LeaderTextGraphicState(DataFragment fragment)
     : base(fragment)
 {
     m_AttachPoint = new GePoint();
     m_InternalPoints = new FRList<GePoint>();
     m_Text = new RichString(PtApp.ActiveDocument.GetFontManager());
 }
 public UmlTimeLineGraphicState(DataFragment fragment)
     : base(fragment)
 {
     m_Height = 40.0;
     m_Length = 200.0;
     m_BasePoint = new GePoint(50.0, 20.0, 0.0);
     m_Direction = UnitVector.kXAxis;
 }
        protected SymbolConstraint m_Instance; // input

        #endregion Fields

        #region Constructors

        public SymbolGeometryConstraint(DataFragment fragment, 
            SymbolConstraint instance // input
            )
            : base(fragment)
        {
            Debug.Assert(instance != null);

            m_Instance = instance;
        }
Ejemplo n.º 4
0
        public FRDatabase()
        {
            m_FontManager = new FontManager();

            m_DataScheme = new PtDataScheme();

            m_InstanceList = new FRList<SymbolConstraint>();

            m_Fragment = new DataFragment();
        }
Ejemplo n.º 5
0
 public LineState(DataFragment fragment)
     : base(fragment)
 {
     m_Line = new GeLine(new GePoint(), UnitVector.kXAxis);
 }
Ejemplo n.º 6
0
 public CircleInstance(DataFragment fragment, PointState pointState)
     : base(fragment, new CircleGraphicState(fragment))
 {
     m_dRadius = 1;
     m_DepCenterPoint = pointState;
 }
        private PointState m_PointState; // output

        #endregion Fields

        #region Constructors

        public SymbolPointConstraint(DataFragment fragment, 
            SymbolConstraint instance, // input
            int index)
            : base(fragment, instance)
        {
            m_PointIndex = index;
            m_PointState = new PointState(fragment);
        }
Ejemplo n.º 8
0
 public ExtrusionInstance(DataFragment fragment)
     : base(fragment, new ExtrusionGraphicState(fragment))
 {
 }
Ejemplo n.º 9
0
 public CircleGraphicState(DataFragment fragment)
     : base(fragment)
 {
     m_CenterPoint = new GePoint();
     m_dRadius = 10;
 }
Ejemplo n.º 10
0
        protected SymbolGraphicState m_SymbolState; // output

        #endregion Fields

        #region Constructors

        public SymbolConstraint(DataFragment fragment, SymbolGraphicState symbolState)
            : base(fragment)
        {
            m_SymbolState = symbolState;
        }
Ejemplo n.º 11
0
 public void SetFragment(DataFragment fragment)
 {
     m_Fragment = fragment;
 }
Ejemplo n.º 12
0
 public Node(DataFragment fragment)
 {
     m_Fragment = fragment;
     if (m_Fragment != null)
         m_Fragment.AddNode(this);
 }
        private int m_StartPointIndex; // input

        #endregion Fields

        #region Constructors

        public SymbolLineConstraint(DataFragment fragment, SymbolConstraint instance, int StartIndex, int EndIndex)
            : base(fragment, instance)
        {
            m_StartPointIndex = StartIndex;
            m_EndPointIndex = EndIndex;
            m_LineState = new LineState(fragment);
        }
 public SymbolPointConstraint(DataFragment fragment,
     SymbolConstraint instance, // input
     int index,
     PointState pointState // output
     )
     : base(fragment, instance)
 {
     m_PointIndex = index;
     m_PointState = pointState;
 }
Ejemplo n.º 15
0
 public TextGraphicState(DataFragment fragment)
     : base(fragment)
 {
     m_String = new RichString(PtApp.ActiveDocument.GetFontManager());
 }
Ejemplo n.º 16
0
 public State(DataFragment fragment)
     : base(fragment)
 {
 }
Ejemplo n.º 17
0
 public PolyLineGraphicState(DataFragment fragment)
     : base(fragment)
 {
     m_Points = new FRList<GePoint>();
 }
Ejemplo n.º 18
0
 public UmlTimeLineConstraint(DataFragment fragment)
     : base(fragment, new UmlTimeLineGraphicState(fragment))
 {
 }
Ejemplo n.º 19
0
 public ExtrusionGraphicState(DataFragment fragment)
     : base(fragment)
 {
 }
Ejemplo n.º 20
0
 public PointState(DataFragment fragment)
     : base(fragment)
 {
     m_Point = new GePoint(0, 0, 0);
 }
Ejemplo n.º 21
0
 public Constraint(DataFragment fragment)
     : base(fragment)
 {
 }