Files Class List
cyHairFile.h File Reference

Detailed Description

A class for the HAIR file type.

Author
Cem Yuksel
#include <stdio.h>
#include <math.h>
#include <string.h>

Classes

class  HairFile
 
struct  HairFile::Header
 

Macros

#define CY_HAIR_FILE_ERROR_CANT_OPEN_FILE   -1
 
#define CY_HAIR_FILE_ERROR_CANT_READ_HEADER   -2
 
#define CY_HAIR_FILE_ERROR_WRONG_SIGNATURE   -3
 
#define CY_HAIR_FILE_ERROR_READING_SEGMENTS   -4
 
#define CY_HAIR_FILE_ERROR_READING_POINTS   -5
 
#define CY_HAIR_FILE_ERROR_READING_THICKNESS   -6
 
#define CY_HAIR_FILE_ERROR_READING_TRANSPARENCY   -7
 
#define CY_HAIR_FILE_ERROR_READING_COLORS   -8
 

Typedefs

typedef cy::HairFile cyHairFile
 

Macro Definition Documentation

§ CY_HAIR_FILE_ERROR_CANT_OPEN_FILE

#define CY_HAIR_FILE_ERROR_CANT_OPEN_FILE   -1

Error code cannot open file.

§ CY_HAIR_FILE_ERROR_CANT_READ_HEADER

#define CY_HAIR_FILE_ERROR_CANT_READ_HEADER   -2

Error code cannot read header.

§ CY_HAIR_FILE_ERROR_WRONG_SIGNATURE

#define CY_HAIR_FILE_ERROR_WRONG_SIGNATURE   -3

Error code wrong signature.

§ CY_HAIR_FILE_ERROR_READING_SEGMENTS

#define CY_HAIR_FILE_ERROR_READING_SEGMENTS   -4

Error code failed reading segments.

§ CY_HAIR_FILE_ERROR_READING_POINTS

#define CY_HAIR_FILE_ERROR_READING_POINTS   -5

Error code failed reading points.

§ CY_HAIR_FILE_ERROR_READING_THICKNESS

#define CY_HAIR_FILE_ERROR_READING_THICKNESS   -6

Error code failed reading thickness.

§ CY_HAIR_FILE_ERROR_READING_TRANSPARENCY

#define CY_HAIR_FILE_ERROR_READING_TRANSPARENCY   -7

Error code failed reading transparency.

§ CY_HAIR_FILE_ERROR_READING_COLORS

#define CY_HAIR_FILE_ERROR_READING_COLORS   -8

Error code failed reading colors.

Typedef Documentation

§ cyHairFile

HAIR file class.