[wadalabfont-kit] / jis2prim / BitmapFont.cc  

View of /jis2prim/BitmapFont.cc

Parent Directory | Revision Log
Revision: 1.1 - (download) (as text) (annotate)
Thu Feb 21 11:57:39 2002 UTC (22 years, 4 months ago) by ktanaka
Branch: MAIN
*** empty log message ***
#include "BitmapFont.h"
ostream& operator<<(ostream &os,const BitmapFont &bf){
  os << "width= " << bf.getWidth()  <<",height=" << bf.getHeight() <<"\n";
  for(int y=0;y<bf.getHeight();y++){
    for(int x=0;x<bf.getWidth();x++){
      if(bf.get(x,y)) cout << '@';
      else cout << '.';
    }
    cout << "\n";
  }
  return cout;
}

ktanaka

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help