18 #include "fpointarray.h"
29 void updateWorldMatrix(
void);
36 QColor backgroundColor;
37 Qt::BGMode backgroundMode;
44 QTransform worldMatrix;
49 void setWindowOrg(
double x,
double y);
50 void setWindowExt(
double x,
double y);
51 void setViewportOrg(
double x,
double y);
52 void setViewportExt(
double x,
double y);
67 QFont font(
void) {
return current().font; }
68 QPoint position(
void) {
return current().position; }
69 QPen pen(
void) {
return current().pen; }
70 QBrush brush(
void) {
return current().brush; }
71 QColor backgroundColor(
void) {
return current().backgroundColor; }
72 Qt::BGMode backgroundMode(
void) {
return current().backgroundMode; }
73 QColor textColor(
void) {
return current().textColor; }
74 int textAlign(
void) {
return current().textAlign; }
75 int textCharSet(
void) {
return current().textCharset; }
76 double textRotation(
void) {
return current().textRotation; }
77 bool windingFill(
void) {
return current().windingFill; }
79 QTransform& worldMatrix (
void) {
return current().worldMatrix; }
80 void setFont (
const QFont& font) { current().font = font; }
81 void setPosition (
const QPoint& pos) { current().position = pos; }
82 void setPen (
const QPen& pen) { current().pen = pen; }
83 void setBrush (
const QBrush& brush) { current().brush = brush; }
84 void setBackgroundColor (
const QColor& color) { current().backgroundColor = color; }
85 void setBackgroundMode (
const Qt::BGMode& mode) { current().backgroundMode = mode; }
86 void setTextColor (
const QColor& color) { current().textColor = color; }
87 void setTextAlign (
int align) { current().textAlign = align; }
88 void setTextCharset(
int align) { current().textCharset = align; }
89 void setTextRotation (
double rot) { current().textRotation = rot; }
90 void setWindingFill (
const bool winding) { current().windingFill = winding; }
91 void setPath (
const FPointArray& path) { current().path = path; }
92 void setWorldMatrix (
const QTransform& matrix) { current().worldMatrix = matrix; }
95 void setWindowOrg(
double x,
double y) { current().setWindowOrg(x, y); }
96 void setWindowExt(
double x,
double y) { current().setWindowExt(x, y); }
97 void setViewportOrg(
double x,
double y) { current().setViewportOrg(x, y); }
98 void setViewportExt(
double x,
double y) { current().setViewportExt(x, y); }
101 void translate (
double x,
double y) { current().worldMatrix.translate(x, y); }
102 void scale (
double x,
double y) { current().worldMatrix.scale(x, y); }
103 void rotate (
double deg) { current().worldMatrix.rotate(deg); }
Definition: wmfcontext.h:20
Definition: wmfcontext.h:55
Definition: fpointarray.h:42