Loading pcbnew/pcb_painter.cpp +14 −11 Original line number Diff line number Diff line Loading @@ -235,7 +235,7 @@ bool PCB_PAINTER::Draw( const VIEW_ITEM* aItem, int aLayer ) break; case PCB_MODULE_T: draw( (MODULE*) item ); draw( (MODULE*) item, aLayer ); break; case PCB_ZONE_AREA_T: Loading Loading @@ -771,7 +771,9 @@ void PCB_PAINTER::draw( const TEXTE_MODULE* aText, int aLayer ) } void PCB_PAINTER::draw( const MODULE* aModule ) void PCB_PAINTER::draw( const MODULE* aModule, int aLayer ) { if( aLayer == ITEM_GAL_LAYER( ANCHOR_VISIBLE ) ) { const COLOR4D color = m_pcbSettings.GetColor( aModule, ITEM_GAL_LAYER( ANCHOR_VISIBLE ) ); Loading @@ -786,6 +788,7 @@ void PCB_PAINTER::draw( const MODULE* aModule ) m_gal->DrawLine( center - VECTOR2D( anchorSize, 0 ), center + VECTOR2D( anchorSize, 0 ) ); m_gal->DrawLine( center - VECTOR2D( 0, anchorSize ), center + VECTOR2D( 0, anchorSize ) ); } } void PCB_PAINTER::draw( const ZONE_CONTAINER* aZone ) Loading pcbnew/pcb_painter.h +1 −1 Original line number Diff line number Diff line Loading @@ -207,7 +207,7 @@ protected: void draw( const DRAWSEGMENT* aSegment, int aLayer ); void draw( const TEXTE_PCB* aText, int aLayer ); void draw( const TEXTE_MODULE* aText, int aLayer ); void draw( const MODULE* aModule ); void draw( const MODULE* aModule, int aLayer ); void draw( const ZONE_CONTAINER* aZone ); void draw( const DIMENSION* aDimension, int aLayer ); void draw( const PCB_TARGET* aTarget ); Loading Loading
pcbnew/pcb_painter.cpp +14 −11 Original line number Diff line number Diff line Loading @@ -235,7 +235,7 @@ bool PCB_PAINTER::Draw( const VIEW_ITEM* aItem, int aLayer ) break; case PCB_MODULE_T: draw( (MODULE*) item ); draw( (MODULE*) item, aLayer ); break; case PCB_ZONE_AREA_T: Loading Loading @@ -771,7 +771,9 @@ void PCB_PAINTER::draw( const TEXTE_MODULE* aText, int aLayer ) } void PCB_PAINTER::draw( const MODULE* aModule ) void PCB_PAINTER::draw( const MODULE* aModule, int aLayer ) { if( aLayer == ITEM_GAL_LAYER( ANCHOR_VISIBLE ) ) { const COLOR4D color = m_pcbSettings.GetColor( aModule, ITEM_GAL_LAYER( ANCHOR_VISIBLE ) ); Loading @@ -786,6 +788,7 @@ void PCB_PAINTER::draw( const MODULE* aModule ) m_gal->DrawLine( center - VECTOR2D( anchorSize, 0 ), center + VECTOR2D( anchorSize, 0 ) ); m_gal->DrawLine( center - VECTOR2D( 0, anchorSize ), center + VECTOR2D( 0, anchorSize ) ); } } void PCB_PAINTER::draw( const ZONE_CONTAINER* aZone ) Loading
pcbnew/pcb_painter.h +1 −1 Original line number Diff line number Diff line Loading @@ -207,7 +207,7 @@ protected: void draw( const DRAWSEGMENT* aSegment, int aLayer ); void draw( const TEXTE_PCB* aText, int aLayer ); void draw( const TEXTE_MODULE* aText, int aLayer ); void draw( const MODULE* aModule ); void draw( const MODULE* aModule, int aLayer ); void draw( const ZONE_CONTAINER* aZone ); void draw( const DIMENSION* aDimension, int aLayer ); void draw( const PCB_TARGET* aTarget ); Loading