SIL.FieldWorks.SharpViews.LayoutTransform.LayoutTransform C# (CSharp) Method

LayoutTransform() public method

This constructor makes a transform suitable for a box whose top left is dx below and dy to the right of the top left of the whole view area, and which will be laid out as if for a device resolution of dpiX pixels per inch horizontally and dpiY vertically.
public LayoutTransform ( int dx, int dy, int dpiX, int dpiY ) : System
dx int
dy int
dpiX int
dpiY int
return System
		public LayoutTransform(int dx, int dy, int dpiX, int dpiY)
		{
			XOffset = dx;
			YOffset = dy;
			DpiX = dpiX;
			DpiY = dpiY;
		}