public void TransformRect(float a, float b, float c, float d, float e, float f) { float x = llx * a + lly * c + e; float y = llx * b + lly * d + f; llx = x; lly = y; x = urx * a + ury * c + e; y = urx * b + ury * d + f; urx = x; ury = y; }