#include <config.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "gschem.h"
Go to the source code of this file.
Functions |
void | o_cue_redraw_all (GSCHEM_TOPLEVEL *w_current, GList *list, gboolean draw_selected) |
static void | o_cue_set_color (GSCHEM_TOPLEVEL *w_current, int color) |
| Set the color on the gc depending on the passed in color id.
|
static void | draw_junction_cue (GSCHEM_TOPLEVEL *w_current, int x, int y, int bus_involved) |
| Draws a circular junction cue.
|
void | o_cue_draw_lowlevel (GSCHEM_TOPLEVEL *w_current, OBJECT *object, int whichone) |
void | o_cue_draw_lowlevel_midpoints (GSCHEM_TOPLEVEL *w_current, OBJECT *object) |
void | o_cue_draw_single (GSCHEM_TOPLEVEL *w_current, OBJECT *object) |
void | o_cue_draw_list (GSCHEM_TOPLEVEL *w_current, GList *object_list) |
Function Documentation
void o_cue_redraw_all |
( |
GSCHEM_TOPLEVEL * |
w_current, |
|
|
GList * |
list, |
|
|
gboolean |
draw_selected |
|
) |
| |
- Todo:
- Finish function documentation!!!
- Function Description
Definition at line 37 of file o_cue.c.
static void o_cue_set_color |
( |
GSCHEM_TOPLEVEL * |
w_current, |
|
|
int |
color |
|
) |
| [static] |
static void draw_junction_cue |
( |
GSCHEM_TOPLEVEL * |
w_current, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
bus_involved |
|
) |
| [static] |
- Function Description
- Draws a cue at the given world coordinate, picking the size based on whether a bus forms a part of the connection.
The cue's drawn position is hinted to align with the widht a net or bus would be drawn on screen. This helps to keep the cue looking central when lines being hinted onto the pixel grid.
- Parameters:
-
[in] | w_current | The GSCHEM_TOPLEVEL object |
[in] | x | The X coordinate of the cue (world units) |
[in] | y | The Y coordinate of the cue (world units) |
[in] | bus_involved | If a bus forms part of the connection (TRUE/FALSE) |
Definition at line 101 of file o_cue.c.
void o_cue_draw_lowlevel |
( |
GSCHEM_TOPLEVEL * |
w_current, |
|
|
OBJECT * |
object, |
|
|
int |
whichone |
|
) |
| |
- Todo:
- Finish function documentation!!!
- Function Description
Definition at line 126 of file o_cue.c.
void o_cue_draw_lowlevel_midpoints |
( |
GSCHEM_TOPLEVEL * |
w_current, |
|
|
OBJECT * |
object |
|
) |
| |
- Todo:
- Finish function documentation!!!
- Function Description
Definition at line 249 of file o_cue.c.
- Todo:
- Finish function documentation!!!
- Function Description
Definition at line 272 of file o_cue.c.
- Todo:
- Finish function documentation!!!
- Function Description
Definition at line 298 of file o_cue.c.