pcb 4.1.1
An interactive printed circuit board layout editor.
|
Go to the source code of this file.
Functions | |
void | ps_hid_export_to_file (FILE *, HID_Attr_Val *) |
void | ps_start_file (FILE *) |
void | ps_calibrate_1 (double, double, int) |
void | hid_eps_init () |
void | ps_ps_init (HID *hid) |
void | ps_ps_graphics_init (HID_DRAW *graphics) |
Variables | |
HID | ps_hid |
void hid_eps_init | ( | ) |
Definition at line 657 of file eps.c.
References hid_st::calibrate, common_draw_helpers_init(), common_nogui_init(), hid_st::description, hid_draw_st::destroy_gc, hid_st::do_export, hid_draw_st::draw_arc, hid_draw_st::draw_line, hid_draw_st::draw_rect, eps_calibrate(), eps_destroy_gc(), eps_do_export(), eps_draw_arc(), eps_draw_line(), eps_draw_rect(), eps_fill_circle(), eps_fill_polygon(), eps_fill_rect(), eps_get_export_options(), eps_graphics, eps_make_gc(), eps_parse_arguments(), eps_set_color(), eps_set_crosshair(), eps_set_draw_xor(), eps_set_layer(), eps_set_line_cap(), eps_set_line_width(), eps_use_mask(), hid_st::exporter, hid_draw_st::fill_circle, hid_draw_st::fill_polygon, hid_draw_st::fill_rect, hid_st::get_export_options, hid_st::graphics, hid_register_hid(), hid_draw_st::make_gc, hid_st::name, hid_st::parse_arguments, hid_st::poly_after, hid_draw_st::set_color, hid_st::set_crosshair, hid_draw_st::set_draw_xor, hid_st::set_layer, hid_draw_st::set_line_cap, hid_draw_st::set_line_width, hid_st::struct_size, and hid_draw_st::use_mask.
Referenced by hid_ps_init().
void ps_calibrate_1 | ( | double | , |
double | , | ||
int | |||
) |
Definition at line 1439 of file ps.c.
References _, hid_st::attribute_dialog, c, calib_lines, HID_Attribute::default_val, global, guess(), gui, Message(), HID_Attr_Val::real_value, and HID_Attr_Val::str_value.
Referenced by lpr_calibrate(), and ps_calibrate().
void ps_hid_export_to_file | ( | FILE * | , |
HID_Attr_Val * | |||
) |
Definition at line 590 of file ps.c.
References LayerType::ArcN, BOTTOM_SIDE, CLEAR_FLAG, HID_Attr_Val::coord_value, PCBType::Data, PCBType::Flags, GetLayerGroupNumberByNumber(), GetLayerGroupNumberBySide(), global, MediaType::Height, hid_expose_callback(), HID_Attr_Val::int_value, DataType::Layer, layer, layer_stack_sort(), LayerStack, LayerType::LineN, MediaType::MarginX, MediaType::MarginY, max_copper_layer, PCBType::MaxHeight, PCBType::MaxWidth, MIN, LayerType::Name, PCB, LayerType::PolygonN, ps_hid, ps_set_layer(), ps_start_file(), HID_Attr_Val::real_value, LayerType::TextN, TOP_SIDE, use_gc(), and MediaType::Width.
Referenced by lpr_do_export(), and ps_do_export().
void ps_ps_graphics_init | ( | HID_DRAW * | graphics | ) |
Definition at line 1539 of file ps.c.
References hid_draw_st::destroy_gc, hid_draw_st::draw_arc, hid_draw_st::draw_line, hid_draw_st::draw_pcb_polygon, hid_draw_st::draw_rect, hid_draw_st::fill_circle, hid_draw_st::fill_polygon, hid_draw_st::fill_rect, hid_draw_st::make_gc, ps_destroy_gc(), ps_draw_arc(), ps_draw_line(), ps_draw_pcb_polygon(), ps_draw_rect(), ps_fill_circle(), ps_fill_polygon(), ps_fill_rect(), ps_make_gc(), ps_set_color(), ps_set_draw_faded(), ps_set_draw_xor(), ps_set_line_cap(), ps_set_line_width(), ps_use_mask(), hid_draw_st::set_color, hid_draw_st::set_draw_faded, hid_draw_st::set_draw_xor, hid_draw_st::set_line_cap, hid_draw_st::set_line_width, and hid_draw_st::use_mask.
Referenced by hid_ps_init().
void ps_ps_init | ( | HID * | hid | ) |
Definition at line 1529 of file ps.c.
References hid_st::calibrate, hid_st::do_export, hid_st::get_export_options, hid_st::parse_arguments, ps_calibrate(), ps_do_export(), ps_get_export_options(), ps_parse_arguments(), ps_set_crosshair(), ps_set_layer(), hid_st::set_crosshair, and hid_st::set_layer.
Referenced by hid_lpr_init(), and hid_ps_init().
void ps_start_file | ( | FILE * | ) |
Definition at line 434 of file ps.c.
References PCBType::Filename, global, MediaType::Height, MediaType::name, PCB, pcb_fprintf(), Progname, and MediaType::Width.
Referenced by ps_hid_export_to_file(), and ps_set_layer().
Definition at line 1526 of file ps.c.
Referenced by lpr_get_export_options(), ps_hid_export_to_file(), ps_make_gc(), and use_gc().