예제 #1
0
 public LeaderTextInstance(DataFragment fragment, PointState attachPoint)
     : base(fragment, new LeaderTextGraphicState(fragment))
 {
     m_AttachPoint = attachPoint;
     m_InternalPoints = new FRList<GePoint>();
     m_Text = new RichString(PtApp.ActiveDocument.GetFontManager());
 }
예제 #2
0
 public CircleInstance(DataFragment fragment, PointState pointState)
     : base(fragment, new CircleGraphicState(fragment))
 {
     m_dRadius = 1;
     m_DepCenterPoint = pointState;
 }
예제 #3
0
 public void SetCenter(PointState pointState)
 {
     m_DepCenterPoint = pointState;
 }
 public SymbolPointConstraint(DataFragment fragment,
     SymbolConstraint instance, // input
     int index,
     PointState pointState // output
     )
     : base(fragment, instance)
 {
     m_PointIndex = index;
     m_PointState = 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);
        }