SIL.FieldWorks.SharpViews.PaintTransform.ConvertToPaint C# (CSharp) Method

ConvertToPaint() static private method

Currently not used: given a point in destination coordinates and two rectangles such as are returned by SourceRect and DestRect, generate the point (ToPaintX(source.X), ToPaintY(source.Y)) that would be returned by a transformation represented by that transformation. (not yet used or tested)
static private ConvertToPaint ( Point source, Rect srcRect, Rect dstRect ) : Point
source Point
srcRect Rect
dstRect Rect
return Point
		internal static Point ConvertToPaint(Point source, Rect srcRect, Rect dstRect)
		{
			return FromSourceAndDest(srcRect, dstRect).ToPaint(source);
		}

Same methods

PaintTransform::ConvertToPaint ( Rect source, Rect srcRect, Rect dstRect ) : Rect