Lines Matching refs:innerRectangle
507 Rectangle innerRectangle = GetInsideViewport(); in GetImageViewport()
512 innerRectangle.Inflate(borderOffset, borderOffset); in GetImageViewport()
515 int x = !HScroll ? (innerRectangle.Width - fScaledImageWidth) / 2 : 0; in GetImageViewport()
516 int y = !VScroll ? (innerRectangle.Height - fScaledImageHeight) / 2 : 0; in GetImageViewport()
517 … int width = Math.Min(fScaledImageWidth - Math.Abs(AutoScrollPosition.X), innerRectangle.Width); in GetImageViewport()
518 … int height = Math.Min(fScaledImageHeight - Math.Abs(AutoScrollPosition.Y), innerRectangle.Height); in GetImageViewport()
520 … viewPort = new Rectangle(x + innerRectangle.Left, y + innerRectangle.Top, width, height); in GetImageViewport()
702 Rectangle innerRectangle = GetInsideViewport(); in ZoomToFit()
703 …tRatio = GfxHelper.ZoomToFit(fImage.Width, fImage.Height, innerRectangle.Width, innerRectangle.Hei… in ZoomToFit()
1019 Rectangle innerRectangle = GetInsideViewport(); in OnPaint()
1023 gfx.FillRectangle(brush, innerRectangle); in OnPaint()