MCPcopy Create free account
hub / github.com/XRay3D/GERBER_X3 / createPolygon

Method createPolygon

file_plugins/gerber/gbrparser.cpp:612–622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

610}
611
612Paths Parser::createPolygon()
613{
614 if (Area(m_path) > 0.0) {
615 if (m_state.imgPolarity() == Negative)
616 ReversePath(m_path);
617 } else {
618 if (m_state.imgPolarity() == Positive)
619 ReversePath(m_path);
620 }
621 return { m_path };
622}
623
624bool Parser::parseAperture(const QString& gLine)
625{

Callers

nothing calls this directly

Calls 2

AreaFunction · 0.50
imgPolarityMethod · 0.45

Tested by

no test coverage detected