Changeset 1591 in Sophya


Ignore:
Timestamp:
Jul 23, 2001, 5:40:12 PM (24 years ago)
Author:
ansari
Message:

Ajout impression ScreenResolution ds pitgr.cc - Reza 23/7/2001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/Tests/pitgr.cc

    r1449 r1591  
    399399
    400400PITApp* app = new PITApp(narg, arg);
    401 int sx,sy;
     401int sx,sy,sxmm,symm,resx,resy;
    402402PIApplicationPrefCompSize(sx, sy);
    403403printf("##### pit-main() PrefCompSize= %d %d ##### \n", sx, sy);
    404404PIApplicationScreenSize(sx, sy);
    405 printf("##### pit-main() ScreenSize= %d %d ##### \n", sx, sy);
     405printf("##### pit-main() ScreenSize (pixels) = %d %d ##### \n", sx, sy);
     406PIApplicationScreenSizeMM(sxmm, symm);
     407printf("##### pit-main() ScreenSize (mm) = %d %d ##### \n", sxmm, symm);
     408PIApplicationScreenResolution(resx, resy);
     409printf("##### pit-main() ScreenResolution (pixel/cm) = %d %d ##### \n", resx, resy);
    406410PIColorMap* cmap = new PIColorMap(CMAP_GREY32);
    407411printf("##### pit-main() NbTotColors=%d Already Allocated= %d ##### \n",
Note: See TracChangeset for help on using the changeset viewer.