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

Function safe_transformed_box

src/laybasic/laybasic/layRedrawThreadWorker.cc:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34// -------------------------------------------------------------
35
36static inline db::Box safe_transformed_box (const db::Box &box, const db::ICplxTrans &t)
37{
38 db::DBox db = db::CplxTrans (t) * box;
39 db &= db::DBox (db::Box::world ());
40 return db::Box (db);
41}
42
43static bool
44has_zero_bit (const lay::Bitmap *bitmap, unsigned int ixmin, unsigned int iymin, unsigned int ixmax, unsigned int iymax)

Callers 4

draw_boxes_implMethod · 0.85
draw_text_layerMethod · 0.85
draw_layer_wo_cacheMethod · 0.85

Calls 2

worldFunction · 0.85
BoxClass · 0.50

Tested by

no test coverage detected