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

ConvertToPaint() static private method

Currently only used in testing: 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 ( Rect source, Rect srcRect, Rect dstRect ) : Rect
source Rect
srcRect Rect
dstRect Rect
return Rect
		internal static Rect ConvertToPaint(Rect source, Rect srcRect, Rect dstRect)
		{
			return FromSourceAndDest(srcRect, dstRect).ToPaint(source);
		}
		/// <summary>

Same methods

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