MCPcopy Create free account
hub / github.com/YACReader/yacreader / drawText

Method drawText

custom_widgets/yacreader_titled_toolbar.cpp:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18void DropShadowLabel::drawText(QPainter *painter,
19 QPoint offset)
20{
21 Q_ASSERT(painter != 0);
22
23 // Draw shadow.
24 painter->setPen(QPen(textColor));
25 painter->drawText(rect().translated(offset),
26 alignment(), text());
27}
28void DropShadowLabel::drawTextEffect(QPainter *painter,
29 QPoint offset)
30{

Callers 2

drawTextEffectMethod · 0.80
paintEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected