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

Method draw

src/laybasic/laybasic/layBitmapRenderer.cc:77–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void
78BitmapRenderer::draw (const db::DBox &box, const std::string &text, db::Font font, db::HAlign halign, db::VAlign valign, db::DFTrans trans,
79 lay::CanvasPlane * /*fill*/, lay::CanvasPlane * /*frame*/, lay::CanvasPlane * /*vertices*/, lay::CanvasPlane *texts)
80{
81 clear ();
82 insert (box, text, font, halign, valign, trans);
83 if (texts) {
84 render_texts (*texts);
85 }
86}
87
88void
89BitmapRenderer::insert (const db::Box &b, const db::CplxTrans &t)

Callers

nothing calls this directly

Calls 15

text_transMethod · 0.80
yMethod · 0.80
pixelMethod · 0.80
text_sizeMethod · 0.80
text_halignMethod · 0.80
text_valignMethod · 0.80
text_stringMethod · 0.80
is_pointMethod · 0.80
centerMethod · 0.80
lower_rightMethod · 0.80
upper_leftMethod · 0.80
dxMethod · 0.80

Tested by

no test coverage detected