![]() |
Qt 6.x
The Qt SDK
|
#include <QtCore/qrect.h>
#include <QtCore/qsize.h>
#include <QtCore/qpoint.h>
#include <QtGui/qcolor.h>
#include <QtGui/qtransform.h>
#include <d2d1_1helper.h>
Go to the source code of this file.
Functions | |
QT_BEGIN_NAMESPACE D2D1_RECT_U | to_d2d_rect_u (const QRect &qrect) |
D2D1_RECT_F | to_d2d_rect_f (const QRectF &qrect) |
D2D1_SIZE_U | to_d2d_size_u (const QSizeF &qsize) |
D2D1_SIZE_U | to_d2d_size_u (const QSize &qsize) |
D2D1_POINT_2F | to_d2d_point_2f (const QPointF &qpoint) |
D2D1::ColorF | to_d2d_color_f (const QColor &c) |
D2D1_MATRIX_3X2_F | to_d2d_matrix_3x2_f (const QTransform &transform) |
|
inline |
Definition at line 52 of file qwindowsdirect2dhelpers.h.
Referenced by QWindowsDirect2DBitmap::fill(), qGradientStopsToD2DStops(), and QWindowsDirect2DPaintEnginePrivate::to_d2d_brush().
|
inline |
Definition at line 57 of file qwindowsdirect2dhelpers.h.
Referenced by QWindowsDirect2DPaintEnginePrivate::to_d2d_brush(), transformFromLine(), and QWindowsDirect2DPaintEnginePrivate::updateTransform().
|
inline |
Definition at line 47 of file qwindowsdirect2dhelpers.h.
References QPointF::x(), and QPointF::y().
Referenced by QWindowsDirect2DPaintEngine::drawEllipse(), QWindowsDirect2DPaintEngine::drawEllipse(), QWindowsDirect2DPaintEngine::drawTextItem(), QWindowsDirect2DPaintEnginePrivate::stroke(), and QWindowsDirect2DPaintEnginePrivate::to_d2d_brush().
|
inline |
Definition at line 29 of file qwindowsdirect2dhelpers.h.
References QRectF::height(), QRectF::width(), QRectF::x(), and QRectF::y().
Referenced by QWindowsDirect2DPaintEngine::begin(), QWindowsDirect2DPaintEngine::drawPixmap(), QWindowsDirect2DPaintEngine::drawRects(), QWindowsDirect2DPaintEngine::drawRects(), QWindowsDirect2DPaintEngine::fillRect(), and QWindowsDirect2DWindow::flush().
|
inline |
Definition at line 24 of file qwindowsdirect2dhelpers.h.
References QRect::height(), QRect::width(), QRect::x(), and QRect::y().
Referenced by QWindowsDirect2DPaintEngine::drawPixmap().
|
inline |
Definition at line 41 of file qwindowsdirect2dhelpers.h.
References QSize::height(), and QSize::width().
|
inline |
Definition at line 34 of file qwindowsdirect2dhelpers.h.
References QSizeF::height(), qRound(), and QSizeF::width().