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

imadrawline.c File Reference

#include <string.h>
#include <stdlib.h>
#include "idcommon.h"
#include "idima.h"
#include "iderr.h"
#include "idprint.h"
#include "idcnt.h"

Go to the source code of this file.

Defines

#define SIGN(x)   ((x)<0?-1:((x)>0?1:0))

Functions

PPIMAGE_UCHAR IdImaDrawLine (PPIMAGE_UCHAR ims, int value, int code, int ox, int oy, int fx, int fy)
PPIMAGE_UCHAR IdImaDrawPolyLines (PPIMAGE_UCHAR imSource, int value, int modeTrace, int *ptx, int *pty, int nb, int closepoly)
PCONTOUR_USHORT IdCntPointsOfSegment (int ox, int oy, int fx, int fy)
int _IdCntAddPointsOfSegment (PCONTOUR_USHORT *cnt, int ox, int oy, int fx, int fy)
int _IdCntInsertPointsOfSegment (PCONTOUR_USHORT *cnt, int numPoint, int fx, int fy)


Define Documentation

#define SIGN  )     ((x)<0?-1:((x)>0?1:0))
 


Function Documentation

int _IdCntAddPointsOfSegment PCONTOUR_USHORT cnt,
int  ox,
int  oy,
int  fx,
int  fy
 

Definition at line 461 of file imadrawline.c.

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

int _IdCntInsertPointsOfSegment PCONTOUR_USHORT cnt,
int  numPoint,
int  fx,
int  fy
 

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.

PCONTOUR_USHORT IdCntPointsOfSegment int  ox,
int  oy,
int  fx,
int  fy
 

Definition at line 392 of file imadrawline.c.

References CNT_USHORT, IdCntAddPoint, IdCntAlloc(), IDERR_ALLOC_CNT, IDERR_INVALID_NUMBER, IdErrno, IdErrPrintf(), and x.

PPIMAGE_UCHAR IdImaDrawLine PPIMAGE_UCHAR  ims,
int  value,
int  code,
int  ox,
int  oy,
int  fx,
int  fy
 

Definition at line 214 of file imadrawline.c.

References code, IDERR_INVALID_NUMBER, IDERR_WRONG_TYPE, IdErrno, IdImaDimX(), IdImaDimY(), IdImaType(), IMA_UCHAR, and x.

Referenced by _IdCntDrawPolygonOffset(), IdImaDrawPolyLines(), and IdImaSignalToImage().

PPIMAGE_UCHAR IdImaDrawPolyLines PPIMAGE_UCHAR  imSource,
int  value,
int  modeTrace,
int *  ptx,
int *  pty,
int  nb,
int  closepoly
 

Definition at line 343 of file imadrawline.c.

References IdImaDrawLine().


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