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

Function dither_pattern

src/laybasic/laybasic/layLayerProperties.h:371–380  ·  view source on GitHub ↗

* @brief Get the dither pattern index * * This method may deliver an invalid dither pattern index if it is not set. */

Source from the content-addressed store, hash-verified

369 * This method may deliver an invalid dither pattern index if it is not set.
370 */
371 int dither_pattern (bool real) const
372 {
373 if (real) {
374 ensure_visual_realized ();
375 return m_dither_pattern_real;
376 } else {
377 refresh ();
378 return m_dither_pattern;
379 }
380 }
381
382 /**
383 * @brief Clear the dither pattern

Callers 10

icon_for_layerMethod · 0.85
merge_dither_patternMethod · 0.85
appendMethod · 0.85
eff_dither_patternFunction · 0.85
has_dither_patternFunction · 0.85
dither_pattern_locFunction · 0.85
paint_eventMethod · 0.85
image_with_optionsMethod · 0.85
screenshotMethod · 0.85

Calls 1

refreshFunction · 0.70

Tested by

no test coverage detected