aboutsummaryrefslogtreecommitdiffstats
path: root/gl4java/utils/glut/fonts/BitmapCharRec.java
blob: b23cd2360d18417cad1441c13ee2048359961922 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Bitmap Character Record
// by Pontus Lidman
// based on GLUT 3.7 glutbitmap.h
// this file Copyright 2000 MathCore AB
//
// This file/package is licensed under the terms of the LPGL 
// with the permission of Pontus Lidman / Mathcore !
//

package gl4java.utils.glut.fonts;

public class BitmapCharRec {
  public int width=0;
  public int height=0;
  public float xorig=0;
  public float yorig=0;
  public float advance=0;
  public byte[] bitmap=null;

    public BitmapCharRec(int w,int h, float xo, float yo, float adv, byte[] bm) {
	width=w;
	height=h;
	xorig=xo;
	yorig=yo;
	advance=adv;
	bitmap=bm;
    }
}