#include <config.h>
#include <cairo.h>
#include <math.h>
#include "gschem.h"
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] |
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 |
|
) |
| [inline, static] |
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 |
|
) |
| |