MCPcopy Create free account
hub / github.com/easyw/kicadStepUpMod / isBrightBackground

Function isBrightBackground

dxf_parser/_importDXF.py:440–479  ·  view source on GitHub ↗

Check if the current viewport's background is a bright color. It considers the values of `BackgroundColor` for a solid background, or a combination of `BackgroundColor2` and `BackgroundColor3` for a gradient background from the parameter database. Returns ------- bool

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

readPreferencesFunction · 0.85
setDefPreferencesFunction · 0.85

Calls 1

addMethod · 0.80

Tested by

no test coverage detected