Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qrasterizer_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
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 QRASTERIZER_P_H
5#define QRASTERIZER_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGui/private/qtguiglobal_p.h>
19#include "QtGui/qpainter.h"
20
21#include <private/qdrawhelper_p.h>
22#include <private/qrasterdefs_p.h>
23
25
26struct QSpanData;
27class QRasterBuffer;
29
30class
32{
33public:
36
37 void setAntialiased(bool antialiased);
38 void setClipRect(const QRect &clipRect);
39
40 void initialize(ProcessSpans blend, void *data);
41
42 void rasterize(const QT_FT_Outline *outline, Qt::FillRule fillRule);
43 void rasterize(const QPainterPath &path, Qt::FillRule fillRule);
44
45 // width should be in units of |a-b|
46 void rasterizeLine(const QPointF &a, const QPointF &b, qreal width, bool squareCap = false);
47
48private:
50};
51
53
54#endif
\inmodule QtGui
\inmodule QtCore\reentrant
Definition qpoint.h:217
\inmodule QtCore\reentrant
Definition qrect.h:30
Combined button and popup list for selecting options.
static bool initialize()
Definition qctf.cpp:94
QT_FT_SpanFunc ProcessSpans
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLint GLsizei width
GLsizei const GLchar *const * path
double qreal
Definition qtypes.h:187