SmoothPathEngine */
| 94 | |
| 95 | /** SmoothPathEngine */ |
| 96 | SmoothPathEngine::SmoothPathEngine(const QDomElement &engineElement) |
| 97 | : AnnotatorEngine(engineElement) |
| 98 | , compositionMode(QPainter::CompositionMode_SourceOver) |
| 99 | { |
| 100 | // parse engine specific attributes |
| 101 | if (engineElement.attribute(QStringLiteral("compositionMode"), QStringLiteral("sourceOver")) == QLatin1String("clear")) { |
| 102 | compositionMode = QPainter::CompositionMode_Clear; |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | QRect SmoothPathEngine::event(EventType type, Button button, Modifiers /*modifiers*/, double nX, double nY, double xScale, double yScale, const Okular::Page * /*page*/) |
| 107 | { |
nothing calls this directly
no outgoing calls
no test coverage detected