[wadalabfont-kit] / jis2prim / BitmapFont.cc  

Annotation of /jis2prim/BitmapFont.cc

Parent Directory | Revision Log

Revision: 1.1 - (view) (download) (as text)

1 : ktanaka 1.1 #include "BitmapFont.h"
2 :     ostream& operator<<(ostream &os,const BitmapFont &bf){
3 :     os << "width= " << bf.getWidth() <<",height=" << bf.getHeight() <<"\n";
4 :     for(int y=0;y<bf.getHeight();y++){
5 :     for(int x=0;x<bf.getWidth();x++){
6 :     if(bf.get(x,y)) cout << '@';
7 :     else cout << '.';
8 :     }
9 :     cout << "\n";
10 :     }
11 :     return cout;
12 :     }

ktanaka

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help