예제 #1
0
파일: BDFGlyph.cs 프로젝트: Orvid/Cosmos
 public BDFParser.Rectangle getBbx(BDFParser.Rectangle rec)
 {
     rec.x = bbx.x;
     rec.y = bbx.y;
     rec.width = bbx.width;
     rec.height = bbx.height;
     return rec;
 }
예제 #2
0
        public static BDFFontContainer CreateFont(Stream r)
        {
            BDFParser parser = new BDFParser(r);

            return(parser.CreateFont());
        }
예제 #3
0
파일: BDFGlyph.cs 프로젝트: Orvid/Cosmos
 public void setBbx(BDFParser.Rectangle bbx)
 {
     this.bbx = bbx;
 }
예제 #4
0
 public void setVersion(BDFParser.Version version)
 {
     this.version = version;
 }
예제 #5
0
 public void setResolution(BDFParser.Dimension resolution)
 {
     this.resolution = resolution;
 }
예제 #6
0
 public void setBoundingBox(BDFParser.Rectangle boundingBox)
 {
     this.boundingBox = boundingBox;
 }
예제 #7
0
 public static BDFFontContainer CreateFont(Stream r)
 {
     BDFParser parser = new BDFParser(r);
     return parser.CreateFont();
 }