w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

cairo-path-fixed-private.h File Reference
Include dependency graph for cairo-path-fixed-private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _cairo_path_buf
 
struct  _cairo_path_buf_fixed
 
struct  _cairo_path_fixed
 
struct  _cairo_path_fixed_iter
 

Macros

#define WATCH_PATH   0
 
#define CAIRO_PATH_BUF_SIZE
 
#define cairo_path_head(path__)   (&(path__)->buf.base)
 
#define cairo_path_tail(path__)   cairo_path_buf_prev (cairo_path_head (path__))
 
#define cairo_path_buf_next(pos__)    cairo_list_entry ((pos__)->link.next, cairo_path_buf_t, link)
 
#define cairo_path_buf_prev(pos__)    cairo_list_entry ((pos__)->link.prev, cairo_path_buf_t, link)
 
#define cairo_path_foreach_buf_start(pos__, path__)    pos__ = cairo_path_head (path__); do
 
#define cairo_path_foreach_buf_end(pos__, path__)    while ((pos__ = cairo_path_buf_next (pos__)) != cairo_path_head (path__))
 

Typedefs

typedef char cairo_path_op_t
 
typedef struct _cairo_path_buf cairo_path_buf_t
 
typedef struct _cairo_path_buf_fixed cairo_path_buf_fixed_t
 
typedef struct _cairo_path_fixed_iter cairo_path_fixed_iter_t
 

Enumerations

enum  cairo_path_op {
  CAIRO_PATH_OP_MOVE_TO = 0 , CAIRO_PATH_OP_LINE_TO = 1 , CAIRO_PATH_OP_CURVE_TO = 2 , CAIRO_PATH_OP_CLOSE_PATH = 3 ,
  CAIRO_PATH_OP_MOVE_TO = 0 , CAIRO_PATH_OP_LINE_TO = 1 , CAIRO_PATH_OP_CURVE_TO = 2 , CAIRO_PATH_OP_CLOSE_PATH = 3 ,
  CAIRO_PATH_OP_MOVE_TO = 0 , CAIRO_PATH_OP_LINE_TO = 1 , CAIRO_PATH_OP_CURVE_TO = 2 , CAIRO_PATH_OP_CLOSE_PATH = 3
}
 

Functions

void _cairo_path_fixed_translate (cairo_path_fixed_t *path, cairo_fixed_t offx, cairo_fixed_t offy)
 
cairo_status_t _cairo_path_fixed_append (cairo_path_fixed_t *path, const cairo_path_fixed_t *other, cairo_fixed_t tx, cairo_fixed_t ty)
 
unsigned long _cairo_path_fixed_hash (const cairo_path_fixed_t *path)
 
unsigned long _cairo_path_fixed_size (const cairo_path_fixed_t *path)
 
cairo_bool_t _cairo_path_fixed_equal (const cairo_path_fixed_t *a, const cairo_path_fixed_t *b)
 
void _cairo_path_fixed_iter_init (cairo_path_fixed_iter_t *iter, const cairo_path_fixed_t *path)
 
cairo_bool_t _cairo_path_fixed_iter_is_fill_box (cairo_path_fixed_iter_t *_iter, cairo_box_t *box)
 
cairo_bool_t _cairo_path_fixed_iter_at_end (const cairo_path_fixed_iter_t *iter)
 
static cairo_bool_t _cairo_path_fixed_fill_is_empty (const cairo_path_fixed_t *path)
 
static cairo_bool_t _cairo_path_fixed_fill_is_rectilinear (const cairo_path_fixed_t *path)
 
static cairo_bool_t _cairo_path_fixed_stroke_is_rectilinear (const cairo_path_fixed_t *path)
 
static cairo_bool_t _cairo_path_fixed_fill_maybe_region (const cairo_path_fixed_t *path)
 
cairo_bool_t _cairo_path_fixed_is_stroke_box (const cairo_path_fixed_t *path, cairo_box_t *box)
 
cairo_bool_t _cairo_path_fixed_is_simple_quad (const cairo_path_fixed_t *path)
 

Macro Definition Documentation

◆ cairo_path_buf_next

#define cairo_path_buf_next (   pos__)     cairo_list_entry ((pos__)->link.next, cairo_path_buf_t, link)

Definition at line 65 of file cairo-path-fixed-private.h.

◆ cairo_path_buf_prev

#define cairo_path_buf_prev (   pos__)     cairo_list_entry ((pos__)->link.prev, cairo_path_buf_t, link)

Definition at line 67 of file cairo-path-fixed-private.h.

◆ CAIRO_PATH_BUF_SIZE

#define CAIRO_PATH_BUF_SIZE
Value:
((512 - sizeof (cairo_path_buf_t)) \
/ (2 * sizeof (cairo_point_t) + sizeof (cairo_path_op_t)))
struct _cairo_point cairo_point_t
char cairo_path_op_t
struct _cairo_path_buf cairo_path_buf_t

Definition at line 59 of file cairo-path-fixed-private.h.

◆ cairo_path_foreach_buf_end

#define cairo_path_foreach_buf_end (   pos__,
  path__ 
)     while ((pos__ = cairo_path_buf_next (pos__)) != cairo_path_head (path__))

Definition at line 72 of file cairo-path-fixed-private.h.

◆ cairo_path_foreach_buf_start

#define cairo_path_foreach_buf_start (   pos__,
  path__ 
)     pos__ = cairo_path_head (path__); do

Definition at line 70 of file cairo-path-fixed-private.h.

◆ cairo_path_head

#define cairo_path_head (   path__)    (&(path__)->buf.base)

Definition at line 62 of file cairo-path-fixed-private.h.

◆ cairo_path_tail

#define cairo_path_tail (   path__)    cairo_path_buf_prev (cairo_path_head (path__))

Definition at line 63 of file cairo-path-fixed-private.h.

◆ WATCH_PATH

#define WATCH_PATH   0

Definition at line 43 of file cairo-path-fixed-private.h.

Typedef Documentation

◆ cairo_path_buf_fixed_t

◆ cairo_path_buf_t

◆ cairo_path_fixed_iter_t

◆ cairo_path_op_t

typedef char cairo_path_op_t

Definition at line 56 of file cairo-path-fixed-private.h.

Enumeration Type Documentation

◆ cairo_path_op

Enumerator
CAIRO_PATH_OP_MOVE_TO 
CAIRO_PATH_OP_LINE_TO 
CAIRO_PATH_OP_CURVE_TO 
CAIRO_PATH_OP_CLOSE_PATH 
CAIRO_PATH_OP_MOVE_TO 
CAIRO_PATH_OP_LINE_TO 
CAIRO_PATH_OP_CURVE_TO 
CAIRO_PATH_OP_CLOSE_PATH 
CAIRO_PATH_OP_MOVE_TO 
CAIRO_PATH_OP_LINE_TO 
CAIRO_PATH_OP_CURVE_TO 
CAIRO_PATH_OP_CLOSE_PATH 

Definition at line 48 of file cairo-path-fixed-private.h.

Function Documentation

◆ _cairo_path_fixed_append()

◆ _cairo_path_fixed_equal()

◆ _cairo_path_fixed_fill_is_empty()

◆ _cairo_path_fixed_fill_is_rectilinear()

◆ _cairo_path_fixed_fill_maybe_region()

static cairo_bool_t _cairo_path_fixed_fill_maybe_region ( const cairo_path_fixed_t path)
inlinestatic

◆ _cairo_path_fixed_hash()

◆ _cairo_path_fixed_is_simple_quad()

◆ _cairo_path_fixed_is_stroke_box()

◆ _cairo_path_fixed_iter_at_end()

◆ _cairo_path_fixed_iter_init()

◆ _cairo_path_fixed_iter_is_fill_box()

◆ _cairo_path_fixed_size()

unsigned long _cairo_path_fixed_size ( const cairo_path_fixed_t path)

Definition at line 202 of file cairo-path-fixed.c.

References buf, cairo_path_foreach_buf_end, and cairo_path_foreach_buf_start.

◆ _cairo_path_fixed_stroke_is_rectilinear()

◆ _cairo_path_fixed_translate()