internal static Vector2 TransformPoint(ref DRect r, Vector2 p) { return(new Vector2((float)(r.width * p.x + r.x), (float)(r.height * p.y + r.y))); }
public static float TransformX(DRect r, double x) { return((float)(r.width * x + r.x)); }