|
◆ drawBitmap()
virtual bool GiCanvas::drawBitmap |
( |
const char * |
name, |
|
|
float |
xc, |
|
|
float |
yc, |
|
|
float |
w, |
|
|
float |
h, |
|
|
float |
angle |
|
) |
| |
|
pure virtual |
Draw a image whose center will at (xc, yc).
- 参数
-
name | The image's identify which is usually a filename without path. |
xc | The center X position of the image. |
yc | The center Y position of the image. |
w | Display width of the image. |
h | Display height of the image. |
angle | Rotate angle in radians, it's positive direction is CCW in the world coordinate system. |
- 返回
- true if successful
在 GiGdipCanvas, GiShapeAdapter, GiCanvasAdapter, GiRecordCanvas , 以及 GiSvgCanvas 内被实现.
|