QCAD Application Framework
CAD Application Development and Automation.
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RPainterPathEngine.h
Go to the documentation of this file.
1
#ifndef RPAINTERPATHENGINE_H
2
#define RPAINTERPATHENGINE_H
3
4
#include <QPaintEngine>
5
//#include "private/qtextengine_p.h"
6
//#include "private/qfontengine_p.h"
7
8
#include "
RPainterPath.h
"
9
15
class
RPainterPathEngine
:
public
QPaintEngine {
16
public
:
17
RPainterPathEngine
();
18
virtual
~RPainterPathEngine
();
19
20
virtual
bool
begin
(QPaintDevice *device);
21
virtual
bool
end
();
22
23
virtual
void
updateState
(
const
QPaintEngineState &state);
24
25
//virtual void drawTextItem(const QPointF &p, const QTextItem &textItem);
26
27
virtual
void
drawPixmap
(
const
QRectF &r,
const
QPixmap &pm,
const
QRectF &sr);
28
29
virtual
QPaintEngine::Type
type
()
const
;
30
31
virtual
void
drawPath
(
const
QPainterPath& path);
32
33
QList<RPainterPath>
getPainterPaths
();
34
35
private
:
36
QList<RPainterPath>
paths
;
37
};
38
39
#endif
src
core
RPainterPathEngine.h
Generated on Tue Jun 26 2012 18:41:07 for QCAD Application Framework by
1.8.1.1