ImageGlass.ImageBox.GetScaledRectangle C# (CSharp) Method

GetScaledRectangle() public method

Returns the source rectangle scaled according to the current zoom level
public GetScaledRectangle ( Point location, Size size ) : Rectangle
location Point The location of the source rectangle.
size System.Drawing.Size The size of the source rectangle.
return System.Drawing.Rectangle
        public Rectangle GetScaledRectangle(Point location, Size size)
        {
            return GetScaledRectangle(new Rectangle(location, size));
        }

Same methods

ImageBox::GetScaledRectangle ( Rectangle source ) : Rectangle
ImageBox::GetScaledRectangle ( int x, int y, int width, int height ) : Rectangle
ImageBox::GetScaledRectangle ( PointF location, SizeF size ) : RectangleF
ImageBox::GetScaledRectangle ( RectangleF source ) : RectangleF
ImageBox::GetScaledRectangle ( float x, float y, float width, float height ) : RectangleF
ImageBox