Changeset 107 in Sophya for trunk/SophyaPI/PI/sc_sample.cc
- Timestamp:
- May 22, 1998, 6:04:01 PM (27 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/sc_sample.cc
r72 r107 1 #include <stdlib.h>2 #include <stdio.h>3 #include <string>4 5 1 #include "sc_sample.h" 6 2 … … 12 8 13 9 { 14 PI ScFuncDrawer * mfd;15 mfd = new PI ScFuncDrawer(f);10 PIFuncDrawer * mfd; 11 mfd = new PIFuncDrawer(f); 16 12 SetLimits(-3,3,-4,4); 17 13 AddScDrawer(mfd); … … 26 22 27 23 void 28 ScSample::DrawSelf(PIGraphicUC* g , float, float, float, float)24 ScSample::DrawSelf(PIGraphicUC* g) 29 25 { 30 26 PIGrCoord x[5] = {-2, -1., 1., 1.7, 2.2}; … … 36 32 g->DrawMarkers(x, y, 5); 37 33 g->SelForeground(PI_Magenta); 38 printf(" +DBG+ ScSample::DrawSelf - Marker(%g) \n", 0.3);39 34 g->SelMarkerSz(0.3, PI_FCircleMarker); 40 35 for(i=0; i<5; i++)
Note:
See TracChangeset
for help on using the changeset viewer.