KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KICAD_DIFF::DOCUMENT_POLYGON Struct Reference

Closed polygon outline from a source document. More...

#include <diff_scene.h>

Public Attributes

std::vector< VECTOR2Ioutline
 
bool filled = false
 
int lineWidth = 0
 
KIGFX::COLOR4D color
 
LSET layers
 

Detailed Description

Closed polygon outline from a source document.

When filled is true the interior is shaded with color; otherwise only the outline is stroked at lineWidth. Outline points are expected to be in order — first/last connect implicitly.

Definition at line 132 of file diff_scene.h.

Member Data Documentation

◆ color

KIGFX::COLOR4D KICAD_DIFF::DOCUMENT_POLYGON::color

Definition at line 137 of file diff_scene.h.

Referenced by BOOST_AUTO_TEST_CASE(), and KICAD_DIFF::MakeBBoxOutline().

◆ filled

bool KICAD_DIFF::DOCUMENT_POLYGON::filled = false

Definition at line 135 of file diff_scene.h.

Referenced by BOOST_AUTO_TEST_CASE(), and KICAD_DIFF::MakeBBoxOutline().

◆ layers

◆ lineWidth

◆ outline


The documentation for this struct was generated from the following file: