Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

idcnt-restricted.h File Reference

Go to the source code of this file.

Functions

void _IdCntFree (PCONTOUR *BOTH)
int _IdCntInsertPoint (PCONTOUR_USHORT *, int, int, int)
int _IdCntAddPoint (PCONTOUR_USHORT *, int, int)
int _IdCntDrawPolygonOffset (PCONTOUR_USHORT, int, int, PPIMAGE_UCHAR, int, int, int)
 Draws a polygon or polyline (depending on the closed parameter) on an image out of a CNT_USHORT with a given origin.

int _IdCntAddPointsOfSegment (PCONTOUR_USHORT *, int, int, int, int)
int _IdCntInsertPointsOfSegment (PCONTOUR_USHORT *, int, int, int)
int _IdCntConnexPts (PCONTOUR_USHORT *, int)
int _IdCntClean (PCONTOUR_USHORT *)
int _IdCntCleanFromStart (PCONTOUR_USHORT *, int)
int _IdCntAddPointG (PCONTOUR *, double, double)


Function Documentation

int _IdCntAddPoint PCONTOUR_USHORT ,
int  ,
int 
 

Definition at line 86 of file cntutil.c.

References IdCntDimX, IdCntModifLongueur(), IdCntSetX, IdCntSetY, and IdCntUsedNbX.

int _IdCntAddPointG PCONTOUR ,
double  ,
double 
 

int _IdCntAddPointsOfSegment PCONTOUR_USHORT ,
int  ,
int  ,
int  ,
int 
 

Definition at line 461 of file imadrawline.c.

References IdCntAddPoint, IDERR_INVALID_NUMBER, IDERR_POINTER_IS_NULL, IdErrno, IdErrPrintf(), and x.

int _IdCntClean PCONTOUR_USHORT  ) 
 

Definition at line 173 of file cntcdg.c.

References IdCntGetX, IdCntGetY, IdCntSetUsedNbX, IdCntSetX, IdCntSetY, and IdCntUsedNbX.

int _IdCntCleanFromStart PCONTOUR_USHORT ,
int 
 

Definition at line 230 of file cntcdg.c.

References IdCntGetX, IdCntGetY, IdCntSetUsedNbX, IdCntSetX, IdCntSetY, and IdCntUsedNbX.

int _IdCntConnexPts PCONTOUR_USHORT ,
int 
 

Definition at line 289 of file cntcdg.c.

References CNT_USHORT, IdCntAddPoint, IdCntAddPointsOfSegment, IdCntAlloc(), IdCntClean, IdCntFree, IdCntGetX, IdCntGetY, and IdCntUsedNbX.

int _IdCntDrawPolygonOffset PCONTOUR_USHORT  contour,
int  ox,
int  oy,
PPIMAGE_UCHAR  image,
int  code,
int  closed,
int  greylevel
 

Draws a polygon or polyline (depending on the closed parameter) on an image out of a CNT_USHORT with a given origin.

Parameters:
contour Pointer to source contour.
ox Offset along the X axis.
oy Offset along the Y axis.
image Pointer to destination image.
code Type of drawing : 0 means direct drawing, 1 means AND, 2 for OR and 3 for XOR (refer to IdImaDrawLine).
closed 0 for a polyline, 1 for a polygone (closes the polyline by drawing an additional line starting at last point of contour and ending at first point)
greylevel Grey level of the line to draw.
Returns:
0 on failure, 1 on success.

Definition at line 57 of file cntfill.c.

References code, IdCntGetX, IdCntGetY, IdCntUsedNbX, IdImaDrawLine(), and image.

Referenced by IdCntDrawPolygon(), IdCntDrawPolygonOffset(), IdCntDrawPolyLine(), and IdCntDrawPolyLineOffset().

void _IdCntFree PCONTOUR BOTH  ) 
 

Definition at line 72 of file cntallo.c.

References _IdCntPrivate.

int _IdCntInsertPoint PCONTOUR_USHORT ,
int  ,
int  ,
int 
 

Definition at line 145 of file cntutil.c.

References CNT, IdCntAddPoint, IdCntDimX, IdCntGetUsedNbX, IdCntGetX, IdCntGetY, IdCntModifLongueur(), IdCntSetUsedNbX, IdCntSetX, IdCntSetY, IdCntUsedNbX, IDERR_INVALID_NUMBER, IDERR_POINTER_IS_NULL, IDERR_WRONG_TYPE, IdErrno, IdErrPrintf(), and IdLibidoType.

int _IdCntInsertPointsOfSegment PCONTOUR_USHORT ,
int  ,
int  ,
int 
 

Definition at line 559 of file imadrawline.c.

References IdCntAddPoint, IdCntDimX, IdCntGetX, IdCntGetY, IdCntModifLongueur(), IdCntSetUsedNbX, IdCntUsedNbX, IDERR_INVALID_NUMBER, IDERR_POINTER_IS_NULL, IdErrno, IdErrPrintf(), IdSizeOfType, PCONTOUR, and x.


Generated on Wed Oct 19 09:28:35 2005 for SIMRI3D by doxygen 1.3.7