gschem

o_cue.c File Reference

#include <config.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "gschem.h"
Include dependency graph for o_cue.c:

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.

Here is the call graph for this function:

static void o_cue_set_color ( GSCHEM_TOPLEVEL w_current,
int  color 
) [static]

Definition at line 76 of file o_cue.c.

Here is the call graph for this function:

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_currentThe GSCHEM_TOPLEVEL object
[in]xThe X coordinate of the cue (world units)
[in]yThe Y coordinate of the cue (world units)
[in]bus_involvedIf a bus forms part of the connection (TRUE/FALSE)

Definition at line 101 of file o_cue.c.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

void o_cue_draw_single ( GSCHEM_TOPLEVEL w_current,
OBJECT *  object 
)
Todo:
Finish function documentation!!!
Function Description

Definition at line 272 of file o_cue.c.

Here is the call graph for this function:

void o_cue_draw_list ( GSCHEM_TOPLEVEL w_current,
GList *  object_list 
)
Todo:
Finish function documentation!!!
Function Description

Definition at line 298 of file o_cue.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines