示例#1
0
 public ROIAuxLine(double hWinImagePartWidth, double hWinImagePartHeight, AuxLineType lineType)
 {
     NumHandles        = 1;             // one Control points of line
     activeHandleIdx   = 2;
     _AuxLineHandleXLD = new HXLDCont();
     _AuxLineHandleXLD.GenEmptyObj();
     _WinWidth  = hWinImagePartWidth;
     _WinHeight = hWinImagePartHeight;
     _LineType  = lineType;
 }
        private double _WinWidth, _WinHeight; //HWindow Width, Height

        #endregion Fields

        #region Constructors

        public ROIAuxLine(double hWinImagePartWidth, double hWinImagePartHeight, AuxLineType lineType)
        {
            NumHandles = 1;        // one Control points of line
            activeHandleIdx = 2;
            _AuxLineHandleXLD = new HXLDCont();
            _AuxLineHandleXLD.GenEmptyObj();
            _WinWidth = hWinImagePartWidth;
            _WinHeight = hWinImagePartHeight;
            _LineType = lineType;
        }