Data Structures | Typedefs | Functions
rfbregion.h File Reference

Go to the source code of this file.

Data Structures

struct  sraRect
struct  sraRectangleIterator


typedef struct sraRegion sraRegion


sraRegionsraRgnCreate (void)
sraRegionsraRgnCreateRect (int x1, int y1, int x2, int y2)
sraRegionsraRgnCreateRgn (const sraRegion *src)
void sraRgnDestroy (sraRegion *rgn)
void sraRgnMakeEmpty (sraRegion *rgn)
rfbBool sraRgnAnd (sraRegion *dst, const sraRegion *src)
void sraRgnOr (sraRegion *dst, const sraRegion *src)
rfbBool sraRgnSubtract (sraRegion *dst, const sraRegion *src)
void sraRgnOffset (sraRegion *dst, int dx, int dy)
rfbBool sraRgnPopRect (sraRegion *region, sraRect *rect, unsigned long flags)
unsigned long sraRgnCountRects (const sraRegion *rgn)
rfbBool sraRgnEmpty (const sraRegion *rgn)
sraRegionsraRgnBBox (const sraRegion *src)
sraRectangleIteratorsraRgnGetIterator (sraRegion *s)
sraRectangleIteratorsraRgnGetReverseIterator (sraRegion *s, rfbBool reverseX, rfbBool reverseY)
rfbBool sraRgnIteratorNext (sraRectangleIterator *i, sraRect *r)
void sraRgnReleaseIterator (sraRectangleIterator *i)
void sraRgnPrint (const sraRegion *s)
rfbBool sraClipRect (int *x, int *y, int *w, int *h, int cx, int cy, int cw, int ch)
rfbBool sraClipRect2 (int *x, int *y, int *x2, int *y2, int cx, int cy, int cx2, int cy2)

Typedef Documentation

◆ sraRegion

typedef struct sraRegion sraRegion

Definition at line 1 of file rfbregion.h.

Function Documentation

◆ sraClipRect()

rfbBool sraClipRect ( int *  x,
int *  y,
int *  w,
int *  h,
int  cx,
int  cy,
int  cw,
int  ch 

◆ sraClipRect2()

rfbBool sraClipRect2 ( int *  x,
int *  y,
int *  x2,
int *  y2,
int  cx,
int  cy,
int  cx2,
int  cy2 

◆ sraRgnAnd()

rfbBool sraRgnAnd ( sraRegion dst,
const sraRegion src 

◆ sraRgnBBox()

sraRegion* sraRgnBBox ( const sraRegion src)

◆ sraRgnCountRects()

unsigned long sraRgnCountRects ( const sraRegion rgn)

◆ sraRgnCreate()

sraRegion* sraRgnCreate ( void  )

◆ sraRgnCreateRect()

sraRegion* sraRgnCreateRect ( int  x1,
int  y1,
int  x2,
int  y2 

◆ sraRgnCreateRgn()

sraRegion* sraRgnCreateRgn ( const sraRegion src)

◆ sraRgnDestroy()

void sraRgnDestroy ( sraRegion rgn)

◆ sraRgnEmpty()

rfbBool sraRgnEmpty ( const sraRegion rgn)

◆ sraRgnGetIterator()

sraRectangleIterator* sraRgnGetIterator ( sraRegion s)

◆ sraRgnGetReverseIterator()

sraRectangleIterator* sraRgnGetReverseIterator ( sraRegion s,
rfbBool  reverseX,
rfbBool  reverseY 

◆ sraRgnIteratorNext()

rfbBool sraRgnIteratorNext ( sraRectangleIterator i,
sraRect r 

◆ sraRgnMakeEmpty()

void sraRgnMakeEmpty ( sraRegion rgn)

◆ sraRgnOffset()

void sraRgnOffset ( sraRegion dst,
int  dx,
int  dy 

◆ sraRgnOr()

void sraRgnOr ( sraRegion dst,
const sraRegion src 

◆ sraRgnPopRect()

rfbBool sraRgnPopRect ( sraRegion region,
sraRect rect,
unsigned long  flags 

◆ sraRgnPrint()

void sraRgnPrint ( const sraRegion s)

◆ sraRgnReleaseIterator()

void sraRgnReleaseIterator ( sraRectangleIterator i)

◆ sraRgnSubtract()

rfbBool sraRgnSubtract ( sraRegion dst,
const sraRegion src