DrawRotatedImage

影像處理、頁面版面

描述

類似 DrawImage 函式,但影像可以任意角度旋轉。注意錨點是影像的左下角,不像 DrawImage 函式用左上角

語法

Delphi

Function TPDFlib.DrawRotatedImage(Left, Bottom, Width, Height, Angle: Double): Integer;

ActiveX

Function PDFlib::DrawRotatedImage(Left As Double, Bottom As Double, Width As Double, Height As Double, Angle As Double) As Long

DLL

int DLDrawRotatedImage(int InstanceID, double Left, double Bottom, double Width, double Height, double Angle);

參數

Left錨點的水平座標
Bottom錨點的垂直座標
WidthThe width of the image
HeightThe height of the image
Angle旋轉影像的角度,自基準線起以度為單位、逆時針量測,繞著錨點(影像左下角)

傳回值

0尚未選取影像
1影像繪製成功