MCPcopy Create free account
hub / github.com/KLayout/klayout / TextInfo

Method TextInfo

src/laybasic/laybasic/layTextInfo.cc:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30{
31
32TextInfo::TextInfo (const LayoutViewBase *view)
33 : m_default_text_size (view->default_text_size ()),
34 m_default_font (db::Font (view->text_font ())),
35 m_apply_text_trans_mode (view->apply_text_trans_mode ()),
36 m_resolution (view->canvas ()->font_resolution ()),
37 m_point_mode (view->text_point_mode ())
38{
39 // .. nothing yet ..
40}
41
42db::DBox
43TextInfo::bbox (const db::DText &text, const db::DCplxTrans &vp_trans) const

Callers

nothing calls this directly

Calls 6

default_text_sizeMethod · 0.80
apply_text_trans_modeMethod · 0.80
text_point_modeMethod · 0.80
FontEnum · 0.50
text_fontMethod · 0.45
font_resolutionMethod · 0.45

Tested by

no test coverage detected