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

Method is_bit_set

src/laybasic/laybasic/layLineStyles.cc:170–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170bool
171LineStyleInfo::is_bit_set (unsigned int n) const
172{
173 return (pattern () [(n / 32) % pattern_stride ()] & (1 << (n % 32))) != 0;
174}
175
176#if defined(HAVE_QT)
177QBitmap

Callers

nothing calls this directly

Calls 2

patternFunction · 0.70
pattern_strideFunction · 0.70

Tested by

no test coverage detected