Code example for GL11

Methods: glScalef

0
	public static final void translate(float x, float y) {
		gl.glTranslatef(x, y, 0);
	} 
 
	public static final void scale(float x, float y) {
		gl.glScalef(x, y, 1);
	} 
 
	public static final void push() { 
		gl.glPushMatrix();
	} 
 
	public static final void pop() { 
		gl.glPopMatrix();
	} 
 
	public static final void drawText(String text, float[] color, float height,
			float x, float y) {
		setColor(color);
		GLSurfaceViewBase.drawText(text, height, x, y);
	}