THPDFPage Translate / Scale / Rotate | ด้านบน |
|
ตัวหุ้มที่สะดวกสำหรับ Concat เพื่ออัปเดตเมทริกซ์การแปลงปัจจุบัน Delphi syntax: procedure Translate(X, Y: Single); procedure Scale(SX, SY: Single); procedure Rotate(Angle: Extended); ใช้ GStateSave และ GStateRestore รอบๆ การแปลงชั่วคราว เพื่อให้การวาดในภายหลังไม่เปลี่ยนแปลง |