Pcbnew plot functions: code cleanup, coding policy fixes and minor enhancements

This commit is contained in:
jean-pierre charras
2010-12-11 19:40:39 +01:00
parent dd5386db37
commit e9f557e65a
23 changed files with 317 additions and 316 deletions
+4 -5
View File
@@ -21,13 +21,12 @@
* @param aOffset = plot offset
* @param aScale = coordinate scale (scale coefficient for coordinates)
*/
void GERBER_PLOTTER::set_viewport( wxPoint offset,
double aScale, int orient )
void GERBER_PLOTTER::set_viewport( wxPoint aOffset, double aScale, bool aMirror )
{
wxASSERT( !output_file );
wxASSERT( orient == 0 );
plot_orient_options = 0;
plot_offset = offset;
wxASSERT( aMirror == false );
plotMirror = false;
plot_offset = aOffset;
wxASSERT( aScale == 1 );
plot_scale = 1;
device_scale = 1;