Changeset 1846 in Sophya for trunk/SophyaPI/PI/psfile.h


Ignore:
Timestamp:
Dec 31, 2001, 5:18:54 PM (24 years ago)
Author:
ansari
Message:

Correction/amelioration trace de string pour sortie postscript - Reza 31/12/2001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/psfile.h

    r1592 r1846  
    7272public:
    7373    /* Definition de la resolution coordonnees user par defaut (point/cm) */
    74     static void SetDefaultUserResolution(int resx, int resy);
    75     static void GetDefaultUserResolution(int & resx, int & resy);
     74    static void SetUserCoordResolution(float resx, float resy);
     75    static float GetUserCoordResolution(float & resx, float & resy);
     76    static float PSCoordResolution();
    7677
    7778    /* Production fichier eps */
     
    8081    PSFile (const char * FileName, PIOrientation orientation,
    8182            PIPaperSize paperSize= PI_A4,
    82             double marginX = 5.0, double marginY = 5.0 ) ;
     83            double marginX = 3.0, double marginY = 3.0 ) ;
    8384
    8485    virtual      ~PSFile();
     
    170171        int BlocCounter;
    171172        double Dx,Dy;              /* Sommet SE (unites utilisateur) */
     173        float FontScaleFactor;    /* Facteur d'echelle pour les fontes */
    172174        PIOrientation orientation;
    173175        long  begin, end, tmp;    /* Offsets dans le fichier */
     
    207209
    208210  /* resolution coordonnees user (point/cm - pixels/cm) */
    209     static int  def_user_resol_X, def_user_resol_Y;
     211    static float  def_user_resol_X, def_user_resol_Y;
     212    static float  def_user_resolution;
     213  /* resolution coordonnees PostScript (point/cm - pixels/cm) */
     214    static float  postscript_resolution;
    210215} ;
    211216
Note: See TracChangeset for help on using the changeset viewer.