Eeschema Eagle Import: Fill rectangles in symbols

This commit is contained in:
Russell Oliver 2017-07-24 00:27:42 +10:00 committed by Maciej Suminski
parent bc23c55cec
commit 8f66e73749
1 changed files with 4 additions and 0 deletions

View File

@ -1332,6 +1332,10 @@ LIB_RECTANGLE* SCH_EAGLE_PLUGIN::loadSymbolRectangle( LIB_PART* aPart, wxXmlNode
rectangle->SetEnd( wxPoint( rect.x2 * EUNIT_TO_MIL, rect.y2 * EUNIT_TO_MIL ) ); rectangle->SetEnd( wxPoint( rect.x2 * EUNIT_TO_MIL, rect.y2 * EUNIT_TO_MIL ) );
// TODO: Manage rotation // TODO: Manage rotation
// Probaly using a transform.
// Eagle rectangles are filled by definition.
rectangle->SetFillMode(FILLED_SHAPE);
return rectangle.release(); return rectangle.release();
} }