Changeset 1904 in Sophya for trunk/SophyaPI/PI/pigraphuc.cc


Ignore:
Timestamp:
Feb 18, 2002, 11:37:22 PM (24 years ago)
Author:
ansari
Message:

Introduction de la classe PIGraphicAtt - Separation en fichiers separes
des classes PIElDrawer, et PIYfXDrawer - Ajout de methodes GetFontSz
et GetFontSzPt a la classe PIFont - Extension de l'enum PIFontSize.

Reza - 18/02/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pigraphuc.cc

    r1899 r1904  
    4545//      Permet de modifier l'objet "PIGraphic" de départ et l'espace graphique correspondant.
    4646//
    47 // void  SelFontSz(PIGrCoord sz, PIFontAtt att=PI_RomanFont)
     47// void  SelFontSz(PIGrCoord sz)
    4848//      Sélection de fonte avec la taille exprimée en coordonnées utilisateur
     49// void  SelFontSz(PIGrCoord sz, PIFontAtt att)
     50//      Sélection de fonte avec la taille exprimée en coordonnées utilisateur, avec
     51//      Spécification d'attribut de fonte
    4952// void  SelMarkerSz(PIGrCoord msz, PIMarker mrk=PI_DotMarker)
    5053//      Sélection de marker avec la taille exprimée en coordonnées utilisateur
     
    802805
    803806/* --Methode-- */
     807void PIGraphicUC::SelFontSz(PIGrCoord sz)
     808{
     809  if (!mGrC) return;
     810  SelFontSz(sz, mGrC->GetFont().GetFontAtt());
     811}
     812
     813/* --Methode-- */
    804814void PIGraphicUC::SelFontSz(PIGrCoord sz, PIFontAtt att)
    805815{
Note: See TracChangeset for help on using the changeset viewer.