KiCad PCB EDA Suite
GERBER_LAYER Class Reference

#include <class_gerber_file_image.h>

Public Member Functions

 GERBER_LAYER ()
 
 ~GERBER_LAYER ()
 

Public Attributes

wxString m_LayerName
 
bool m_LayerNegative
 
wxRealPoint m_StepForRepeat
 
int m_XRepeatCount
 
int m_YRepeatCount
 
bool m_StepForRepeatMetric
 

Private Member Functions

void ResetDefaultValues ()
 

Friends

class GERBER_FILE_IMAGE
 

Detailed Description

Definition at line 69 of file class_gerber_file_image.h.

Constructor & Destructor Documentation

GERBER_LAYER::GERBER_LAYER ( )

Definition at line 70 of file class_gerber_file_image.cpp.

References ResetDefaultValues().

71 {
73 }
GERBER_LAYER::~GERBER_LAYER ( )

Definition at line 76 of file class_gerber_file_image.cpp.

77 {
78 }

Member Function Documentation

void GERBER_LAYER::ResetDefaultValues ( )
private

Definition at line 81 of file class_gerber_file_image.cpp.

References m_LayerName, m_LayerNegative, m_StepForRepeat, m_StepForRepeatMetric, m_XRepeatCount, and m_YRepeatCount.

Referenced by GERBER_LAYER(), and GERBER_FILE_IMAGE::ResetDefaultValues().

82 {
83  m_LayerName = wxT( "no name" ); // Layer name from the LN command
84  m_LayerNegative = false; // true = Negative Layer
85  m_StepForRepeat.x = m_StepForRepeat.y = 0; // X and Y offsets for Step and Repeat command
86  m_XRepeatCount = 1; // The repeat count on X axis
87  m_YRepeatCount = 1; // The repeat count on Y axis
88  m_StepForRepeatMetric = false; // false = Inches, true = metric
89 }
wxRealPoint m_StepForRepeat

Friends And Related Function Documentation

friend class GERBER_FILE_IMAGE
friend

Definition at line 71 of file class_gerber_file_image.h.

Member Data Documentation

wxString GERBER_LAYER::m_LayerName
bool GERBER_LAYER::m_LayerNegative
wxRealPoint GERBER_LAYER::m_StepForRepeat
bool GERBER_LAYER::m_StepForRepeatMetric
int GERBER_LAYER::m_XRepeatCount
int GERBER_LAYER::m_YRepeatCount

The documentation for this class was generated from the following files: