WMFContext Class Reference
#include <wmfcontext.h>
Public Member Functions | |
| WMFContext (void) | |
| void | save (void) |
| void | restore (void) |
| void | reset (void) |
| WMFGraphicsState & | current (void) |
| QFont | font (void) |
| QPoint | position (void) |
| QPen | pen (void) |
| QBrush | brush (void) |
| QColor | backgroundColor (void) |
| Qt::BGMode | backgroundMode (void) |
| QColor | textColor (void) |
| int | textAlign (void) |
| int | textCharSet (void) |
| double | textRotation (void) |
| bool | windingFill (void) |
| FPointArray & | path (void) |
| QMatrix & | worldMatrix (void) |
| void | setFont (const QFont &font) |
| void | setPosition (const QPoint &pos) |
| void | setPen (const QPen &pen) |
| void | setBrush (const QBrush &brush) |
| void | setBackgroundColor (const QColor &color) |
| void | setBackgroundMode (const Qt::BGMode &mode) |
| void | setTextColor (const QColor &color) |
| void | setTextAlign (int align) |
| void | setTextCharset (int align) |
| void | setTextRotation (double rot) |
| void | setWindingFill (const bool winding) |
| void | setPath (const FPointArray &path) |
| void | setWorldMatrix (const QMatrix &matrix) |
| void | setWindowOrg (double x, double y) |
| void | setWindowExt (double x, double y) |
| void | setViewportOrg (double x, double y) |
| void | setViewportExt (double x, double y) |
| void | translate (double x, double y) |
| void | scale (double x, double y) |
| void | rotate (double deg) |
Detailed Description
Definition at line 55 of file wmfcontext.h.
Constructor & Destructor Documentation
| WMFContext::WMFContext | ( | void | ) |
Definition at line 61 of file wmfcontext.cpp.
Member Function Documentation
| void WMFContext::save | ( | void | ) |
Definition at line 66 of file wmfcontext.cpp.
Referenced by WMFImport::extTextOut(), and WMFImport::saveDC().
| void WMFContext::restore | ( | void | ) |
Definition at line 76 of file wmfcontext.cpp.
Referenced by WMFImport::extTextOut(), and WMFImport::restoreDC().
| void WMFContext::reset | ( | void | ) |
| WMFGraphicsState & WMFContext::current | ( | void | ) |
Definition at line 92 of file wmfcontext.cpp.
Referenced by backgroundColor(), backgroundMode(), brush(), font(), path(), pen(), position(), rotate(), scale(), setBackgroundColor(), setBackgroundMode(), setBrush(), setFont(), setPath(), setPen(), setPosition(), setTextAlign(), setTextCharset(), setTextColor(), setTextRotation(), setViewportExt(), setViewportOrg(), setWindingFill(), setWindowExt(), setWindowOrg(), setWorldMatrix(), textAlign(), textCharSet(), textColor(), textRotation(), translate(), windingFill(), and worldMatrix().
| QFont WMFContext::font | ( | void | ) | [inline] |
Definition at line 67 of file wmfcontext.h.
References current(), and WMFGraphicsState::font.
Referenced by WMFImport::extTextOut().
| QPoint WMFContext::position | ( | void | ) | [inline] |
Definition at line 68 of file wmfcontext.h.
References current(), and WMFGraphicsState::position.
Referenced by WMFImport::extTextOut(), and WMFImport::lineTo().
| QPen WMFContext::pen | ( | void | ) | [inline] |
Definition at line 69 of file wmfcontext.h.
References current(), and WMFGraphicsState::pen.
Referenced by WMFImport::arc(), WMFImport::chord(), WMFImport::ellipse(), WMFImport::finishCmdParsing(), WMFImport::lineTo(), WMFImport::pie(), WMFImport::polygon(), WMFImport::polyline(), WMFImport::rectangle(), and WMFImport::roundRect().
| QBrush WMFContext::brush | ( | void | ) | [inline] |
Definition at line 70 of file wmfcontext.h.
References WMFGraphicsState::brush, and current().
Referenced by WMFImport::chord(), WMFImport::ellipse(), WMFImport::pie(), WMFImport::polygon(), WMFImport::rectangle(), and WMFImport::roundRect().
| QColor WMFContext::backgroundColor | ( | void | ) | [inline] |
Definition at line 71 of file wmfcontext.h.
References WMFGraphicsState::backgroundColor, and current().
| Qt::BGMode WMFContext::backgroundMode | ( | void | ) | [inline] |
Definition at line 72 of file wmfcontext.h.
References WMFGraphicsState::backgroundMode, and current().
| QColor WMFContext::textColor | ( | void | ) | [inline] |
Definition at line 73 of file wmfcontext.h.
References current(), and WMFGraphicsState::textColor.
Referenced by WMFImport::extTextOut().
| int WMFContext::textAlign | ( | void | ) | [inline] |
Definition at line 74 of file wmfcontext.h.
References current(), and WMFGraphicsState::textAlign.
Referenced by WMFImport::extTextOut().
| int WMFContext::textCharSet | ( | void | ) | [inline] |
Definition at line 75 of file wmfcontext.h.
References current(), and WMFGraphicsState::textCharset.
Referenced by WMFImport::extTextOut().
| double WMFContext::textRotation | ( | void | ) | [inline] |
Definition at line 76 of file wmfcontext.h.
References current(), and WMFGraphicsState::textRotation.
Referenced by WMFImport::extTextOut().
| bool WMFContext::windingFill | ( | void | ) | [inline] |
Definition at line 77 of file wmfcontext.h.
References current(), and WMFGraphicsState::windingFill.
Referenced by WMFImport::polygon().
| FPointArray& WMFContext::path | ( | void | ) | [inline] |
| QMatrix& WMFContext::worldMatrix | ( | void | ) | [inline] |
Definition at line 79 of file wmfcontext.h.
References current(), and WMFGraphicsState::worldMatrix.
Referenced by WMFImport::extTextOut(), and WMFImport::finishCmdParsing().
| void WMFContext::setFont | ( | const QFont & | font | ) | [inline] |
Definition at line 80 of file wmfcontext.h.
References current(), and WMFGraphicsState::font.
Referenced by WmfObjFontHandle::apply().
| void WMFContext::setPosition | ( | const QPoint & | pos | ) | [inline] |
Definition at line 81 of file wmfcontext.h.
References current(), and WMFGraphicsState::position.
Referenced by WMFImport::lineTo(), and WMFImport::moveTo().
| void WMFContext::setPen | ( | const QPen & | pen | ) | [inline] |
Definition at line 82 of file wmfcontext.h.
References current(), and WMFGraphicsState::pen.
Referenced by WmfObjPenHandle::apply().
| void WMFContext::setBrush | ( | const QBrush & | brush | ) | [inline] |
Definition at line 83 of file wmfcontext.h.
References WMFGraphicsState::brush, and current().
Referenced by WmfObjPatternBrushHandle::apply(), and WmfObjBrushHandle::apply().
| void WMFContext::setBackgroundColor | ( | const QColor & | color | ) | [inline] |
Definition at line 84 of file wmfcontext.h.
References WMFGraphicsState::backgroundColor, and current().
Referenced by WMFImport::setBkColor().
| void WMFContext::setBackgroundMode | ( | const Qt::BGMode & | mode | ) | [inline] |
Definition at line 85 of file wmfcontext.h.
References WMFGraphicsState::backgroundMode, and current().
Referenced by WMFImport::setBkMode().
| void WMFContext::setTextColor | ( | const QColor & | color | ) | [inline] |
Definition at line 86 of file wmfcontext.h.
References current(), and WMFGraphicsState::textColor.
Referenced by WMFImport::setTextColor().
| void WMFContext::setTextAlign | ( | int | align | ) | [inline] |
Definition at line 87 of file wmfcontext.h.
References current(), and WMFGraphicsState::textAlign.
Referenced by WMFImport::setTextAlign().
| void WMFContext::setTextCharset | ( | int | align | ) | [inline] |
Definition at line 88 of file wmfcontext.h.
References current(), and WMFGraphicsState::textCharset.
Referenced by WmfObjFontHandle::apply().
| void WMFContext::setTextRotation | ( | double | rot | ) | [inline] |
Definition at line 89 of file wmfcontext.h.
References current(), and WMFGraphicsState::textRotation.
Referenced by WmfObjFontHandle::apply().
| void WMFContext::setWindingFill | ( | const bool | winding | ) | [inline] |
Definition at line 90 of file wmfcontext.h.
References current(), and WMFGraphicsState::windingFill.
Referenced by WMFImport::setPolyFillMode().
| void WMFContext::setPath | ( | const FPointArray & | path | ) | [inline] |
| void WMFContext::setWorldMatrix | ( | const QMatrix & | matrix | ) | [inline] |
Definition at line 92 of file wmfcontext.h.
References current(), and WMFGraphicsState::worldMatrix.
| void WMFContext::setWindowOrg | ( | double | x, | |
| double | y | |||
| ) | [inline] |
Definition at line 95 of file wmfcontext.h.
References current(), and WMFGraphicsState::setWindowOrg().
Referenced by WMFImport::parseWmfCommands(), and WMFImport::setWindowOrg().
| void WMFContext::setWindowExt | ( | double | x, | |
| double | y | |||
| ) | [inline] |
Definition at line 96 of file wmfcontext.h.
References current(), and WMFGraphicsState::setWindowExt().
Referenced by WMFImport::parseWmfCommands(), and WMFImport::setWindowExt().
| void WMFContext::setViewportOrg | ( | double | x, | |
| double | y | |||
| ) | [inline] |
Definition at line 97 of file wmfcontext.h.
References current(), and WMFGraphicsState::setViewportOrg().
Referenced by WMFImport::parseWmfCommands().
| void WMFContext::setViewportExt | ( | double | x, | |
| double | y | |||
| ) | [inline] |
Definition at line 98 of file wmfcontext.h.
References current(), and WMFGraphicsState::setViewportExt().
Referenced by WMFImport::parseWmfCommands().
| void WMFContext::translate | ( | double | x, | |
| double | y | |||
| ) | [inline] |
Definition at line 101 of file wmfcontext.h.
References current(), and WMFGraphicsState::worldMatrix.
Referenced by WMFImport::extTextOut().
| void WMFContext::scale | ( | double | x, | |
| double | y | |||
| ) | [inline] |
Definition at line 102 of file wmfcontext.h.
References current(), and WMFGraphicsState::worldMatrix.
Referenced by WMFImport::extTextOut().
| void WMFContext::rotate | ( | double | deg | ) | [inline] |
Definition at line 103 of file wmfcontext.h.
References current(), and WMFGraphicsState::worldMatrix.
Referenced by WMFImport::extTextOut().
The documentation for this class was generated from the following files:
