|
| void | draw_cairo_line_to (cairo_t *cairoTarget, gdouble x, gdouble y, gboolean adjustByHalf, gboolean pixelOutput) |
| |
| void | draw_cairo_move_to (cairo_t *cairoTarget, gdouble x, gdouble y, gboolean oddWidth, gboolean pixelOutput) |
| |
| void | draw_cairo_translate_adjust (cairo_t *cairoTarget, gdouble x, gdouble y, gboolean pixelOutput) |
| |
| static gboolean | draw_net_is_in_selection_buffer_remove (gerbv_net_t *net, gerbv_selection_info_t *selectionInfo, gboolean remove) |
| |
| static void | gerbv_draw_circle (cairo_t *cairoTarget, gdouble diameter) |
| |
| static void | gerbv_draw_rectangle (cairo_t *cairoTarget, gdouble width, gdouble height, gboolean pixelOutput) |
| |
| static void | gerbv_draw_oblong (cairo_t *cairoTarget, gdouble width, gdouble height) |
| |
| static void | draw_cairo_cross (cairo_t *cairoTarget, gdouble xc, gdouble yc, gdouble r) |
| |
| static void | draw_render_block_nets (cairo_t *cairoTarget, gerbv_image_t *image, gerbv_net_t *block_netlist, gerbv_net_t *flash_net, enum draw_mode drawMode, gerbv_selection_info_t *selectionInfo, gboolean pixelOutput, gdouble pixelWidth, gdouble lineWidth, cairo_operator_t drawOperatorClear, cairo_operator_t drawOperatorDark) |
| |
Cairo rendering functions and the related selection calculating functions.
Definition in file draw.c.
| static void draw_render_block_nets |
( |
cairo_t * |
cairoTarget, |
|
|
gerbv_image_t * |
image, |
|
|
gerbv_net_t * |
block_netlist, |
|
|
gerbv_net_t * |
flash_net, |
|
|
enum draw_mode |
drawMode, |
|
|
gerbv_selection_info_t * |
selectionInfo, |
|
|
gboolean |
pixelOutput, |
|
|
gdouble |
pixelWidth, |
|
|
gdouble |
lineWidth, |
|
|
cairo_operator_t |
drawOperatorClear, |
|
|
cairo_operator_t |
drawOperatorDark |
|
) |
| |
|
static |
Render all nets within a block aperture's net list.
Handles linear draws, arc strokes, rectangle draw strokes, polygon regions (PAREA), and flash sub-types (circle, rect, oval, polygon, macro, and nested blocks via recursion).
- Parameters
-
| cairoTarget | Cairo context to render into. |
| image | The Gerber image (for aperture table lookup). |
| block_netlist | Head of the block's net list (iteration starts at ->next). |
| flash_net | The outer flash net (used by draw_stroke/draw_fill for selection tracking). |
| drawMode | Current draw mode (normal / selections / etc.). |
| selectionInfo | Selection state for highlight rendering. |
| pixelOutput | TRUE when rendering to a pixel surface. |
| pixelWidth | Width of one pixel in user coordinates. |
| lineWidth | Default line width from enclosing scope. |
| drawOperatorClear | Cairo operator for clear polarity primitives. |
| drawOperatorDark | Cairo operator for dark polarity primitives. |
Definition at line 950 of file draw.c.
References GERBV_INTERPOLATION_PAREA_START, gerbv_net::interpolation, and gerbv_net::next.