2011-10-17 20:01:27 +00:00
|
|
|
/*
|
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2007 Jean-Pierre Charras, jaen-pierre.charras@gipsa-lab.inpg.com
|
|
|
|
* Copyright (C) 1992-2011 KiCad Developers, see AUTHORS.txt for contributors.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, you may find one here:
|
|
|
|
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
* or you may search the http://www.gnu.org website for the version 2 license,
|
|
|
|
* or you may write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file gerbview/pcbplot.h
|
|
|
|
*/
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
#ifndef PCBPLOT_H
|
|
|
|
#define PCBPLOT_H
|
|
|
|
|
2009-01-13 19:18:54 +00:00
|
|
|
/* Shared Config keys for plot and print */
|
2009-04-05 20:49:15 +00:00
|
|
|
#define OPTKEY_LAYERBASE wxT( "PlotLayer_%d" )
|
2009-01-13 19:18:54 +00:00
|
|
|
#define OPTKEY_PRINT_X_FINESCALE_ADJ wxT( "PrintXFineScaleAdj" )
|
|
|
|
#define OPTKEY_PRINT_Y_FINESCALE_ADJ wxT( "PrintYFineScaleAdj" )
|
|
|
|
#define OPTKEY_PRINT_SCALE wxT( "PrintScale" )
|
2010-01-01 13:30:39 +00:00
|
|
|
#define OPTKEY_PRINT_PAGE_FRAME wxT( "PrintPageFrame" )
|
|
|
|
#define OPTKEY_PRINT_MONOCHROME_MODE wxT( "PrintMonochrome" )
|
2009-01-13 19:18:54 +00:00
|
|
|
|
2009-06-28 16:50:42 +00:00
|
|
|
/* Plot Options : */
|
2009-11-09 14:00:22 +00:00
|
|
|
struct PCB_Plot_Options
|
|
|
|
{
|
2009-06-28 16:50:42 +00:00
|
|
|
bool Exclude_Edges_Pcb;
|
|
|
|
int PlotLine_Width;
|
|
|
|
bool Plot_Frame_Ref; // True to plot/print frame references
|
|
|
|
int Plot_Mode;
|
|
|
|
bool Plot_Set_MIROIR;
|
|
|
|
bool Sel_Rotate_Window;
|
2009-11-09 14:00:22 +00:00
|
|
|
int HPGL_Pen_Num;
|
2009-06-28 16:50:42 +00:00
|
|
|
int HPGL_Pen_Speed;
|
|
|
|
int HPGL_Pen_Diam;
|
|
|
|
int HPGL_Pen_Recouvrement;
|
2011-10-17 20:01:27 +00:00
|
|
|
bool HPGL_Org_Centre; // true if, HPGL originally the center of the node
|
2009-06-28 16:50:42 +00:00
|
|
|
int PlotPSColorOpt; // True for color Postscript output
|
2009-11-09 14:00:22 +00:00
|
|
|
bool Plot_PS_Negative; // True to create a negative board ps plot
|
2009-06-28 16:50:42 +00:00
|
|
|
|
|
|
|
/* id for plot format (see enum PlotFormat in plot_common.h) */
|
|
|
|
int PlotFormat;
|
|
|
|
int PlotOrient;
|
|
|
|
int PlotScaleOpt;
|
|
|
|
int DrillShapeOpt;
|
2010-01-01 13:30:39 +00:00
|
|
|
double Scale;
|
|
|
|
double ScaleAdjX;
|
|
|
|
double ScaleAdjY;
|
2009-06-28 16:50:42 +00:00
|
|
|
};
|
|
|
|
extern PCB_Plot_Options g_pcb_plot_options;
|
|
|
|
|
2009-04-05 20:49:15 +00:00
|
|
|
#endif // ifndef PCBPLOT_H
|