Java 类org.newdawn.slick.opengl.GLUtils 实例源码

项目:trashjam2017    文件:TrueTypeFont.java   
/**
 * Constructor for the TrueTypeFont class Pass in the preloaded standard
 * Java TrueType font, and whether you want it to be cached with
 * AntiAliasing applied.
 * 
 * @param font
 *            Standard Java AWT font
 * @param antiAlias
 *            Whether or not to apply AntiAliasing to the cached font
 * @param additionalChars
 *            Characters of font that will be used in addition of first 256 (by unicode).
 */
public TrueTypeFont(java.awt.Font font, boolean antiAlias, char[] additionalChars) {
    GLUtils.checkGLContext();

    this.font = font;
    this.fontSize = font.getSize();
    this.antiAlias = antiAlias;

    createSet( additionalChars );
}
项目:Progetto-C    文件:TrueTypeFont.java   
/**
 * Constructor for the TrueTypeFont class Pass in the preloaded standard
 * Java TrueType font, and whether you want it to be cached with
 * AntiAliasing applied.
 * 
 * @param font
 *            Standard Java AWT font
 * @param antiAlias
 *            Whether or not to apply AntiAliasing to the cached font
 * @param additionalChars
 *            Characters of font that will be used in addition of first 256 (by unicode).
 */
public TrueTypeFont(java.awt.Font font, boolean antiAlias, char[] additionalChars) {
    GLUtils.checkGLContext();

    this.font = font;
    this.fontSize = font.getSize();
    this.antiAlias = antiAlias;

    createSet( additionalChars );
}
项目:BaseClient    文件:TrueTypeFont.java   
/**
 * Constructor for the TrueTypeFont class Pass in the preloaded standard
 * Java TrueType font, and whether you want it to be cached with
 * AntiAliasing applied.
 * 
 * @param font
 *            Standard Java AWT font
 * @param antiAlias
 *            Whether or not to apply AntiAliasing to the cached font
 * @param additionalChars
 *            Characters of font that will be used in addition of first 256 (by unicode).
 */
public TrueTypeFont(java.awt.Font font, boolean antiAlias, char[] additionalChars) {
    GLUtils.checkGLContext();

    this.font = font;
    this.fontSize = font.getSize();
    this.antiAlias = antiAlias;

    createSet( additionalChars );
}
项目:code404    文件:TrueTypeFont.java   
/**
 * Constructor for the TrueTypeFont class Pass in the preloaded standard
 * Java TrueType font, and whether you want it to be cached with
 * AntiAliasing applied.
 * 
 * @param font
 *            Standard Java AWT font
 * @param antiAlias
 *            Whether or not to apply AntiAliasing to the cached font
 * @param additionalChars
 *            Characters of font that will be used in addition of first 256 (by unicode).
 */
public TrueTypeFont(java.awt.Font font, boolean antiAlias, char[] additionalChars) {
    GLUtils.checkGLContext();

    this.font = font;
    this.fontSize = font.getSize();
    this.antiAlias = antiAlias;

    createSet( additionalChars );
}
项目:GPVM    文件:TrueTypeFont.java   
/**
 * Constructor for the TrueTypeFont class Pass in the preloaded standard
 * Java TrueType font, and whether you want it to be cached with
 * AntiAliasing applied.
 * 
 * @param font
 *            Standard Java AWT font
 * @param antiAlias
 *            Whether or not to apply AntiAliasing to the cached font
 * @param additionalChars
 *            Characters of font that will be used in addition of first 256 (by unicode).
 */
public TrueTypeFont(java.awt.Font font, boolean antiAlias, char[] additionalChars) {
    GLUtils.checkGLContext();

    this.font = font;
    this.fontSize = font.getSize();
    this.antiAlias = antiAlias;

    createSet( additionalChars );
}
项目:GPVM    文件:TrueTypeFont.java   
/**
 * Constructor for the TrueTypeFont class Pass in the preloaded standard
 * Java TrueType font, and whether you want it to be cached with
 * AntiAliasing applied.
 * 
 * @param font
 *            Standard Java AWT font
 * @param antiAlias
 *            Whether or not to apply AntiAliasing to the cached font
 * @param additionalChars
 *            Characters of font that will be used in addition of first 256 (by unicode).
 */
public TrueTypeFont(java.awt.Font font, boolean antiAlias, char[] additionalChars) {
    GLUtils.checkGLContext();

    this.font = font;
    this.fontSize = font.getSize();
    this.antiAlias = antiAlias;

    createSet( additionalChars );
}
项目:SpaceStationAlpha    文件:TrueTypeFont.java   
/**
 * Constructor for the TrueTypeFont class Pass in the preloaded standard
 * Java TrueType font, and whether you want it to be cached with
 * AntiAliasing applied.
 * 
 * @param font
 *            Standard Java AWT font
 * @param antiAlias
 *            Whether or not to apply AntiAliasing to the cached font
 * @param additionalChars
 *            Characters of font that will be used in addition of first 256 (by unicode).
 */
public TrueTypeFont(java.awt.Font font, boolean antiAlias, char[] additionalChars) {
    GLUtils.checkGLContext();

    this.font = font;
    this.fontSize = font.getSize();
    this.antiAlias = antiAlias;

    createSet( additionalChars );
}
项目:cretion    文件:TrueTypeFont.java   
/**
 * Constructor for the TrueTypeFont class Pass in the preloaded standard
 * Java TrueType font, and whether you want it to be cached with
 * AntiAliasing applied.
 * 
 * @param font
 *            Standard Java AWT font
 * @param antiAlias
 *            Whether or not to apply AntiAliasing to the cached font
 * @param additionalChars
 *            Characters of font that will be used in addition of first 256 (by unicode).
 */
public TrueTypeFont(java.awt.Font font, boolean antiAlias, char[] additionalChars) {
    GLUtils.checkGLContext();

    this.font = font;
    this.fontSize = font.getSize();
    this.antiAlias = antiAlias;

    createSet( additionalChars );
}
项目:slick2d-maven    文件:TrueTypeFont.java   
/**
 * Constructor for the TrueTypeFont class Pass in the preloaded standard
 * Java TrueType font, and whether you want it to be cached with
 * AntiAliasing applied.
 * 
 * @param font
 *            Standard Java AWT font
 * @param antiAlias
 *            Whether or not to apply AntiAliasing to the cached font
 * @param additionalChars
 *            Characters of font that will be used in addition of first 256 (by unicode).
 */
public TrueTypeFont(java.awt.Font font, boolean antiAlias, char[] additionalChars) {
    GLUtils.checkGLContext();

    this.font = font;
    this.fontSize = font.getSize();
    this.antiAlias = antiAlias;

    createSet( additionalChars );
}