dtkmultimedia
DTK Multimedia module
载入中...
搜索中...
未找到
Dtk::Multimedia::DScreenShot类 参考

DScreenShot类提供截图相关接口. 更多...

#include <dscreenshot.h>

类 Dtk::Multimedia::DScreenShot 继承关系图:

Public 成员函数

 DScreenShot (QObject *parent=nullptr)
 
QPixmap fullScreenShot ()
 获取全屏截图.
 
QPixmap screenShot (const QPoint point, const QSize size)
 获取指定位置区域截图.
 

Protected 属性

QScopedPointer< DScreenShotPrivate > d_ptr
 

详细描述

DScreenShot类提供截图相关接口.

成员函数说明

◆ fullScreenShot()

QPixmap DScreenShot::fullScreenShot ( )

获取全屏截图.

返回
截图图片数据.

◆ screenShot()

QPixmap DScreenShot::screenShot ( const QPoint  point,
const QSize  size 
)

获取指定位置区域截图.

参数
[in]point开始截图坐标.
[in]size截图大小.
返回
截图图片数据.

该类的文档由以下文件生成: