Dicom.Imaging.Render.OverlayGraphic.Scale C# (CSharp) Method

Scale() public method

public Scale ( double scale ) : void
scale double
return void
        public void Scale(double scale)
        {
            if (Math.Abs(scale - _scale) <= Double.Epsilon)
                return;

            _scale = scale;
            _scaledData = null;
        }

Usage Example

コード例 #1
0
 public void AddOverlay(OverlayGraphic overlay)
 {
     _overlays.Add(overlay);
     overlay.Scale(_scaleFactor);
 }
All Usage Examples Of Dicom.Imaging.Render.OverlayGraphic::Scale