public static Matrix4D GetBoundsToScreenTransform( Bounds2D bounds, int width, int height) { return(Transformation4D.GetBoundsToScreenTransform(bounds, width, height, 0)); }
public static Matrix4D GetBoundsToScreenTransform( Point2D min, Point2D max, int width, int height) { return(Transformation4D.GetBoundsToScreenTransform(min, max, width, height, 0)); }
public static Matrix4D GetBoundsToScreenTransform( Point2D min, Point2D max, int width, int height, int margin) { return(Transformation4D.GetBoundsToScreenTransform(min.X, min.Y, max.X, max.Y, width, height, margin)); }
public static Matrix4D GetBoundsToScreenTransform( double minX, double minY, double maxX, double maxY, int width, int height) { return(Transformation4D.GetBoundsToScreenTransform(minX, minY, maxX, maxY, width, height, 0)); }
public static Matrix4D GetBoundsToScreenTransform( Bounds2D bounds, int width, int height, int margin) { if (!bounds.Initialized) { return(Matrix4D.Identity); } return(Transformation4D.GetBoundsToScreenTransform(bounds.Min, bounds.Max, width, height, margin)); }