MCPcopy Create free account
hub / github.com/Robotips/uConfig / DrawText

Method DrawText

src/kicad/model/drawtext.cpp:21–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#include "drawtext.h"
20
21DrawText::DrawText(const QString &text, const QPoint &pos)
22{
23 _direction = DirectionHorizontal;
24 _textSize = 50;
25 _textStyle = TextNormal;
26 _visible = true;
27 _textHJustify = TextHLeft;
28 _textVJustify = TextVCenter;
29 setPos(pos);
30 setText(text);
31}
32
33Draw *DrawText::clone() const
34{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected