|
dtkmultimedia
DTK Multimedia module
|
DScreenShot类提供截图相关接口. 更多...
#include <dscreenshot.h>
Public 成员函数 | |
| DScreenShot (QObject *parent=nullptr) | |
| QPixmap | fullScreenShot () |
| 获取全屏截图. | |
| QPixmap | screenShot (const QPoint point, const QSize size) |
| 获取指定位置区域截图. | |
Protected 属性 | |
| QScopedPointer< DScreenShotPrivate > | d_ptr |
DScreenShot类提供截图相关接口.
| QPixmap DScreenShot::fullScreenShot | ( | ) |
获取全屏截图.
| QPixmap DScreenShot::screenShot | ( | const QPoint | point, |
| const QSize | size | ||
| ) |
获取指定位置区域截图.
| [in] | point | 开始截图坐标. |
| [in] | size | 截图大小. |