Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs
pixregionint.h File Reference
#include "pixman.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pixman_region16_data
struct  pixman_region16
struct  pixman_region16_point

Defines

#define PIXREGION_NIL(reg)   ((reg)->data && !(reg)->data->numRects)
#define PIXREGION_NAR(reg)   ((reg)->data == &pixman_brokendata)
#define PIXREGION_NUM_RECTS(reg)   ((reg)->data ? (reg)->data->numRects : 1)
#define PIXREGION_SIZE(reg)   ((reg)->data ? (reg)->data->size : 0)
#define PIXREGION_RECTS(reg)
#define PIXREGION_BOXPTR(reg)   ((pixman_box16_t *)((reg)->data + 1))
#define PIXREGION_BOX(reg, i)   (&PIXREGION_BOXPTR(reg)[i])
#define PIXREGION_TOP(reg)   PIXREGION_BOX(reg, (reg)->data->numRects)
#define PIXREGION_END(reg)   PIXREGION_BOX(reg, (reg)->data->numRects - 1)
#define PIXREGION_SZOF(n)   (sizeof(pixman_region16_data_t) + ((n) * sizeof(pixman_box16_t)))

Typedefs

typedef struct pixman_region16_data pixman_region16_data_t
typedef struct
pixman_region16_point 
pixman_region16_point_t

Class Documentation

struct pixman_region16_data

Definition at line 54 of file pixregionint.h.

Class Members
long numRects
long size
struct pixman_region16

Definition at line 61 of file pixregionint.h.

Collaboration diagram for pixman_region16:
Class Members
pixman_region16_data_t * data
pixman_box16_t extents
struct pixman_region16_point

Definition at line 66 of file pixregionint.h.

Collaboration diagram for pixman_region16_point:
Class Members
int x
int y

Define Documentation

#define PIXREGION_BOX (   reg,
  i 
)    (&PIXREGION_BOXPTR(reg)[i])

Definition at line 78 of file pixregionint.h.

#define PIXREGION_BOXPTR (   reg)    ((pixman_box16_t *)((reg)->data + 1))

Definition at line 77 of file pixregionint.h.

#define PIXREGION_END (   reg)    PIXREGION_BOX(reg, (reg)->data->numRects - 1)

Definition at line 80 of file pixregionint.h.

#define PIXREGION_NAR (   reg)    ((reg)->data == &pixman_brokendata)

Definition at line 72 of file pixregionint.h.

#define PIXREGION_NIL (   reg)    ((reg)->data && !(reg)->data->numRects)

Definition at line 70 of file pixregionint.h.

#define PIXREGION_NUM_RECTS (   reg)    ((reg)->data ? (reg)->data->numRects : 1)

Definition at line 73 of file pixregionint.h.

#define PIXREGION_RECTS (   reg)
Value:
((reg)->data ? (pixman_box16_t *)((reg)->data + 1) \
                                    : &(reg)->extents)

Definition at line 75 of file pixregionint.h.

#define PIXREGION_SIZE (   reg)    ((reg)->data ? (reg)->data->size : 0)

Definition at line 74 of file pixregionint.h.

#define PIXREGION_SZOF (   n)    (sizeof(pixman_region16_data_t) + ((n) * sizeof(pixman_box16_t)))

Definition at line 81 of file pixregionint.h.

#define PIXREGION_TOP (   reg)    PIXREGION_BOX(reg, (reg)->data->numRects)

Definition at line 79 of file pixregionint.h.


Typedef Documentation