#ifndef __IMAGES_H__
#define __IMAGES_H__


#define WPGu2PSu(x) ( (float)(x)*71/(25.4*47.0) )
#define PSu2WPGu(x) ( (float)(x)*(25.4*47.0)/71.0 )
#define WPGu2mm(x) ( (float)(x)*71/(7.91*25.4*47.0) )


void StoreText2PS(string & PSData, string & Text, PS_State *PSS, WORD RotAngle,
		float UpRightX, float UpRightY, float LowLeftX, float LowLeftY,
		float FontSize);

class TconvertedPass1;
class AbstractTransformXY;
float *LoadPoints(TconvertedPass1 *cq, int n, FloatBBox &bbx, AbstractTransformXY *TRx=NULL,bool Precision=false);


void AddCharacterToContainer(TextContainer *pTextCont, WORD WchI, CpTranslator *PsNativeCP, CpTranslator *PsNativeSym, 
		TconvertedPass1 *cq, PS_State &PSS);

#endif // __IMAGES_H__