LibVNCServer/LibVNCClient
Data Structures | Macros | Functions
rfbregion.c File Reference
#include <rfb/rfb.h>
#include <rfb/rfbregion.h>
+ Include dependency graph for rfbregion.c:

Go to the source code of this file.

Data Structures

struct  sraSpan
 
struct  sraSpanList
 

Macros

#define DEFSIZE   4
 
#define DEFSTEP   8
 

Functions

sraSpanListsraSpanListDup (const sraSpanList *src)
 
void sraSpanListDestroy (sraSpanList *list)
 
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)
 
sraRegionsraRgnBBox (const sraRegion *src)
 
rfbBool sraRgnPopRect (sraRegion *rgn, sraRect *rect, unsigned long flags)
 
unsigned long sraRgnCountRects (const sraRegion *rgn)
 
rfbBool sraRgnEmpty (const sraRegion *rgn)
 
sraRectangleIteratorsraRgnGetIterator (sraRegion *s)
 
sraRectangleIteratorsraRgnGetReverseIterator (sraRegion *s, rfbBool reverseX, rfbBool reverseY)
 
rfbBool sraRgnIteratorNext (sraRectangleIterator *i, sraRect *r)
 
void sraRgnReleaseIterator (sraRectangleIterator *i)
 
void sraRgnPrint (const sraRegion *rgn)
 
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)
 

Macro Definition Documentation

◆ DEFSIZE

#define DEFSIZE   4

◆ DEFSTEP

#define DEFSTEP   8

Function Documentation

◆ sraClipRect()

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

Definition at line 793 of file rfbregion.c.

◆ sraClipRect2()

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

Definition at line 813 of file rfbregion.c.

+ Here is the call graph for this function:

◆ sraRgnAnd()

rfbBool sraRgnAnd ( sraRegion dst,
const sraRegion src 
)

Definition at line 557 of file rfbregion.c.

◆ sraRgnBBox()

sraRegion* sraRgnBBox ( const sraRegion src)

Definition at line 591 of file rfbregion.c.

+ Here is the call graph for this function:

◆ sraRgnCountRects()

unsigned long sraRgnCountRects ( const sraRegion rgn)

Definition at line 676 of file rfbregion.c.

+ Here is the caller graph for this function:

◆ sraRgnCreate()

sraRegion* sraRgnCreate ( void  )

Definition at line 515 of file rfbregion.c.

+ Here is the caller graph for this function:

◆ sraRgnCreateRect()

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

Definition at line 520 of file rfbregion.c.

+ Here is the caller graph for this function:

◆ sraRgnCreateRgn()

sraRegion* sraRgnCreateRgn ( const sraRegion src)

Definition at line 540 of file rfbregion.c.

+ Here is the call graph for this function:

◆ sraRgnDestroy()

void sraRgnDestroy ( sraRegion rgn)

Definition at line 545 of file rfbregion.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sraRgnEmpty()

rfbBool sraRgnEmpty ( const sraRegion rgn)

Definition at line 682 of file rfbregion.c.

◆ sraRgnGetIterator()

sraRectangleIterator* sraRgnGetIterator ( sraRegion s)

Definition at line 687 of file rfbregion.c.

+ Here is the caller graph for this function:

◆ sraRgnGetReverseIterator()

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

Definition at line 715 of file rfbregion.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sraRgnIteratorNext()

rfbBool sraRgnIteratorNext ( sraRectangleIterator i,
sraRect r 
)

Definition at line 741 of file rfbregion.c.

+ Here is the caller graph for this function:

◆ sraRgnMakeEmpty()

void sraRgnMakeEmpty ( sraRegion rgn)

Definition at line 550 of file rfbregion.c.

◆ sraRgnOffset()

void sraRgnOffset ( sraRegion dst,
int  dx,
int  dy 
)

Definition at line 572 of file rfbregion.c.

◆ sraRgnOr()

void sraRgnOr ( sraRegion dst,
const sraRegion src 
)

Definition at line 562 of file rfbregion.c.

+ Here is the caller graph for this function:

◆ sraRgnPopRect()

rfbBool sraRgnPopRect ( sraRegion rgn,
sraRect rect,
unsigned long  flags 
)

Definition at line 624 of file rfbregion.c.

◆ sraRgnPrint()

void sraRgnPrint ( const sraRegion rgn)

Definition at line 788 of file rfbregion.c.

+ Here is the caller graph for this function:

◆ sraRgnReleaseIterator()

void sraRgnReleaseIterator ( sraRectangleIterator i)

Definition at line 781 of file rfbregion.c.

+ Here is the caller graph for this function:

◆ sraRgnSubtract()

rfbBool sraRgnSubtract ( sraRegion dst,
const sraRegion src 
)

Definition at line 567 of file rfbregion.c.

+ Here is the caller graph for this function:

◆ sraSpanListDestroy()

void sraSpanListDestroy ( sraSpanList list)

Definition at line 153 of file rfbregion.c.

+ Here is the caller graph for this function:

◆ sraSpanListDup()

sraSpanList * sraSpanListDup ( const sraSpanList src)

Definition at line 136 of file rfbregion.c.

+ Here is the caller graph for this function: