MCPcopy Create free account
hub / github.com/KDE/okular / SmoothPathEngine

Method SmoothPathEngine

part/annotationtools.cpp:96–104  ·  view source on GitHub ↗

SmoothPathEngine */

Source from the content-addressed store, hash-verified

94
95/** SmoothPathEngine */
96SmoothPathEngine::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
106QRect SmoothPathEngine::event(EventType type, Button button, Modifiers /*modifiers*/, double nX, double nY, double xScale, double yScale, const Okular::Page * /*page*/)
107{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected