THPDFPage Translate / Scale / Rotate

למעלה

Convenience wrappers around Concat for updating the current transformation matrix.

Delphi syntax:

procedure Translate(X, Y: Single);

procedure Scale(SX, SY: Single);

procedure Rotate(Angle: Extended);

השתמש ב-GStateSave וב-GStateRestore סביב transforms זמניים כדי שציור מאוחר יותר יישאר ללא שינוי