MCPcopy Create free account
hub / github.com/GeoDaCenter/geoda / AddText

Method AddText

ogl/basic.cpp:1555–1567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1553}
1554
1555void wxShape::AddText(const wxString& string)
1556{
1557 wxNode *node = m_regions.GetFirst();
1558 if (!node)
1559 return;
1560 wxShapeRegion *region = (wxShapeRegion *)node->GetData();
1561 region->ClearText();
1562 wxShapeTextLine *new_line =
1563 new wxShapeTextLine(0.0, 0.0, string);
1564 region->GetFormattedText().Append(new_line);
1565
1566 m_formatted = false;
1567}
1568
1569void wxShape::SetSize(double x, double y, bool WXUNUSED(recursive))
1570{

Callers

nothing calls this directly

Calls 2

AppendMethod · 0.80
ClearTextMethod · 0.45

Tested by

no test coverage detected