gschem

gschem_cairo.c File Reference

#include <config.h>
#include <cairo.h>
#include <math.h>
#include "gschem.h"
Include dependency graph for gschem_cairo.c:

Go to the source code of this file.

Functions

static int screen_width (GSCHEM_TOPLEVEL *w_current, int w_width)
void gschem_cairo_line (GSCHEM_TOPLEVEL *w_current, int line_end, int w_line_width, int w_x1, int w_y1, int w_x2, int w_y2)
void gschem_cairo_box (GSCHEM_TOPLEVEL *w_current, int line_width, int x1, int y1, int x2, int y2)
void gschem_cairo_center_box (GSCHEM_TOPLEVEL *w_current, int center_width, int line_width, int x, int y, int half_width, int half_height)
static void do_arc (cairo_t *cr, double x, double y, double radius, int start_angle, int end_angle)
void gschem_cairo_arc (GSCHEM_TOPLEVEL *w_current, int width, int x, int y, int radius, int start_angle, int end_angle)
void gschem_cairo_center_arc (GSCHEM_TOPLEVEL *w_current, int center_width, int line_width, int x, int y, int radius, int start_angle, int end_angle)
void gschem_cairo_stroke (GSCHEM_TOPLEVEL *w_current, int line_type, int line_end, int wwidth, int wlength, int wspace)
void gschem_cairo_set_source_color (GSCHEM_TOPLEVEL *w_current, COLOR *color)

Function Documentation

static int screen_width ( GSCHEM_TOPLEVEL w_current,
int  w_width 
) [inline, static]

Definition at line 34 of file gschem_cairo.c.

Here is the call graph for this function:

void gschem_cairo_line ( GSCHEM_TOPLEVEL w_current,
int  line_end,
int  w_line_width,
int  w_x1,
int  w_y1,
int  w_x2,
int  w_y2 
)

Definition at line 43 of file gschem_cairo.c.

Here is the call graph for this function:

void gschem_cairo_box ( GSCHEM_TOPLEVEL w_current,
int  line_width,
int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 101 of file gschem_cairo.c.

Here is the call graph for this function:

void gschem_cairo_center_box ( GSCHEM_TOPLEVEL w_current,
int  center_width,
int  line_width,
int  x,
int  y,
int  half_width,
int  half_height 
)

Definition at line 128 of file gschem_cairo.c.

Here is the call graph for this function:

static void do_arc ( cairo_t *  cr,
double  x,
double  y,
double  radius,
int  start_angle,
int  end_angle 
) [inline, static]

Definition at line 195 of file gschem_cairo.c.

void gschem_cairo_arc ( GSCHEM_TOPLEVEL w_current,
int  width,
int  x,
int  y,
int  radius,
int  start_angle,
int  end_angle 
)

Definition at line 209 of file gschem_cairo.c.

Here is the call graph for this function:

void gschem_cairo_center_arc ( GSCHEM_TOPLEVEL w_current,
int  center_width,
int  line_width,
int  x,
int  y,
int  radius,
int  start_angle,
int  end_angle 
)

Definition at line 241 of file gschem_cairo.c.

Here is the call graph for this function:

void gschem_cairo_stroke ( GSCHEM_TOPLEVEL w_current,
int  line_type,
int  line_end,
int  wwidth,
int  wlength,
int  wspace 
)

Definition at line 284 of file gschem_cairo.c.

Here is the call graph for this function:

void gschem_cairo_set_source_color ( GSCHEM_TOPLEVEL w_current,
COLOR *  color 
)

Definition at line 392 of file gschem_cairo.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines