pcb 4.1.1
An interactive printed circuit board layout editor.
|
Go to the source code of this file.
Functions | |
void | common_draw_pcb_line (hidGC gc, LineType *line) |
void | common_draw_pcb_arc (hidGC gc, ArcType *arc) |
void | common_gui_draw_pcb_polygon (hidGC gc, PolygonType *poly, const BoxType *clip_box) |
void | common_fill_pcb_polygon (hidGC gc, PolygonType *poly, const BoxType *clip_box) |
void | common_thindraw_pcb_polygon (hidGC gc, PolygonType *poly, const BoxType *clip_box) |
void | common_fill_pcb_pad (hidGC gc, PadType *pad, bool clear, bool mask) |
void | common_thindraw_pcb_pad (hidGC gc, PadType *pad, bool clear, bool mask) |
void | common_fill_pcb_pv (hidGC fg_gc, hidGC bg_gc, PinType *pv, bool drawHole, bool mask) |
void | common_thindraw_pcb_pv (hidGC fg_gc, hidGC bg_gc, PinType *pv, bool drawHole, bool mask) |
void | common_draw_helpers_init (HID_DRAW *graphics) |
void common_draw_helpers_init | ( | HID_DRAW * | graphics | ) |
Definition at line 691 of file draw_helpers.c.
References common_draw_pcb_arc(), common_draw_pcb_line(), common_draw_pcb_text(), common_fill_pcb_pad(), common_fill_pcb_polygon(), common_fill_pcb_pv(), common_thindraw_pcb_pad(), common_thindraw_pcb_polygon(), common_thindraw_pcb_pv(), hid_draw_st::draw_pcb_arc, hid_draw_st::draw_pcb_line, hid_draw_st::draw_pcb_polygon, hid_draw_st::draw_pcb_text, hid_draw_st::fill_pcb_pad, hid_draw_st::fill_pcb_polygon, hid_draw_st::fill_pcb_pv, hid_draw_st::thindraw_pcb_pad, hid_draw_st::thindraw_pcb_polygon, and hid_draw_st::thindraw_pcb_pv.
Referenced by hid_batch_init(), hid_eps_init(), hid_extents_init(), hid_gcode_init(), hid_gerber_init(), hid_gsvit_init(), hid_lesstif_init(), hid_nelma_init(), hid_png_init(), hid_ps_init(), and REGISTER_FLAGS().
Definition at line 25 of file draw_helpers.c.
References ArcType::Delta, hid_draw_st::draw_arc, hid_st::graphics, gui, ArcType::Height, PCB, hid_draw_st::set_line_cap, hid_draw_st::set_line_width, ArcType::StartAngle, TEST_FLAG, ArcType::Thickness, Trace_Cap, ArcType::Width, ArcType::X, and ArcType::Y.
Referenced by common_draw_helpers_init(), and gsvit_draw_pcb_arc().
Definition at line 11 of file draw_helpers.c.
References hid_draw_st::draw_line, hid_st::graphics, gui, PCB, hid_draw_st::set_line_cap, hid_draw_st::set_line_width, TEST_FLAG, and Trace_Cap.
Referenced by common_draw_helpers_init(), and gsvit_draw_pcb_line().
Definition at line 482 of file draw_helpers.c.
References common_get_pad_polygon(), hid_draw_st::draw_line, hid_draw_st::fill_circle, hid_draw_st::fill_polygon, hid_draw_st::fill_rect, hid_st::graphics, gui, pad_st::Mask, Round_Cap, hid_draw_st::set_line_cap, hid_draw_st::set_line_width, Square_Cap, TEST_FLAG, x, and y.
Referenced by common_draw_helpers_init(), and gsvit_fill_pcb_pad().
void common_fill_pcb_polygon | ( | hidGC | gc, |
PolygonType * | poly, | ||
const BoxType * | clip_box | ||
) |
Definition at line 283 of file draw_helpers.c.
References polygon_st::Clipped, ComputeNoHoles(), POLYAREA::f, fill_clipped_contour(), fill_contour(), fill_contour_cb(), PLINE::next, polygon_st::NoHoles, NoHolesPolygonDicer(), polygon_st::NoHolesValid, poly, should_compute_no_holes(), and TEST_FLAG.
Referenced by common_draw_helpers_init(), ghid_drawing_area_expose_cb(), and gsvit_fill_pcb_polygon().
Definition at line 596 of file draw_helpers.c.
References hid_draw_st::draw_arc, draw_octagon_poly(), pin_st::DrillingHole, hid_draw_st::fill_circle, hid_draw_st::fill_rect, hid_st::graphics, gui, pin_st::Mask, Round_Cap, hid_draw_st::set_line_cap, hid_draw_st::set_line_width, TEST_FLAG, pin_st::Thickness, pin_st::X, and pin_st::Y.
Referenced by common_draw_helpers_init(), and gsvit_fill_pcb_pv().
void common_gui_draw_pcb_polygon | ( | hidGC | gc, |
PolygonType * | poly, | ||
const BoxType * | clip_box | ||
) |
Definition at line 260 of file draw_helpers.c.
References polygon_st::Clipped, POLYAREA::f, hid_draw_st::fill_pcb_polygon, hid_st::graphics, gui, PCB, poly, TEST_FLAG, and hid_draw_st::thindraw_pcb_polygon.
Referenced by hid_lesstif_init(), and REGISTER_FLAGS().
Definition at line 359 of file draw_helpers.c.
References abs, hid_draw_st::draw_arc, hid_draw_st::draw_line, hid_st::graphics, gui, M_PI, pad_st::Mask, pixel_slop, Round_Cap, hid_draw_st::set_line_cap, hid_draw_st::set_line_width, SGN, and TEST_FLAG.
Referenced by common_draw_helpers_init().
void common_thindraw_pcb_polygon | ( | hidGC | gc, |
PolygonType * | poly, | ||
const BoxType * | clip_box | ||
) |
Definition at line 334 of file draw_helpers.c.
References polygon_st::Clipped, POLYAREA::contours, POLYAREA::f, poly, PolygonHoles(), TEST_FLAG, thindraw_contour(), and thindraw_hole_cb().
Referenced by common_draw_helpers_init(), and ghid_thindraw_pcb_polygon().
Definition at line 635 of file draw_helpers.c.
References hid_draw_st::draw_arc, hid_draw_st::draw_line, draw_octagon_poly(), pin_st::DrillingHole, hid_st::graphics, gui, pin_st::Mask, Round_Cap, hid_draw_st::set_line_cap, hid_draw_st::set_line_width, TEST_FLAG, pin_st::Thickness, pin_st::X, and pin_st::Y.
Referenced by common_draw_helpers_init().