Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qhaikubuffer.h
Go to the documentation of this file.
1
// Copyright (C) 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Tobias Koenig <tobias.koenig@kdab.com>
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
QHAIKUBUFFER_H
5
#
define
QHAIKUBUFFER_H
6
7
#
include
<
QtGui
/
QImage
>
8
9
class
BBitmap;
10
11
QT_BEGIN_NAMESPACE
12
13
class
QHaikuBuffer
14
{
15
public
:
16
QHaikuBuffer();
17
QHaikuBuffer(BBitmap *buffer);
18
19
BBitmap* nativeBuffer()
const
;
20
const
QImage *image()
const
;
21
QImage *image();
22
23
QRect rect()
const
;
24
25
private
:
26
BBitmap *m_buffer;
27
QImage m_image;
28
};
29
30
QT_END_NAMESPACE
31
32
#
endif
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtbase
src
plugins
platforms
haiku
qhaikubuffer.h
Generated on
for Qt by
1.14.0