Java 类com.badlogic.gdx.graphics.g2d.PixmapPacker.Page 实例源码

项目:Cubes_2    文件:BitmapFontWriter.java   
/** A convenience method to write pixmaps by page; typically returned from a PixmapPacker when used alongside
 * FreeTypeFontGenerator.
 *
 * @param pages the pages containing the Pixmaps
 * @param outputDir the output directory
 * @param fileName the file name
 * @return the file refs */
public static String[] writePixmaps (Array<Page> pages, FileHandle outputDir, String fileName) {
  Pixmap[] pix = new Pixmap[pages.size];
  for (int i = 0; i < pages.size; i++) {
    pix[i] = pages.get(i).getPixmap();
  }
  return writePixmaps(pix, outputDir, fileName);
}
项目:Cubes    文件:BitmapFontWriter.java   
/** A convenience method to write pixmaps by page; typically returned from a PixmapPacker when used alongside
 * FreeTypeFontGenerator.
 *
 * @param pages the pages containing the Pixmaps
 * @param outputDir the output directory
 * @param fileName the file name
 * @return the file refs */
public static String[] writePixmaps (Array<Page> pages, FileHandle outputDir, String fileName) {
  Pixmap[] pix = new Pixmap[pages.size];
  for (int i = 0; i < pages.size; i++) {
    pix[i] = pages.get(i).getPixmap();
  }
  return writePixmaps(pix, outputDir, fileName);
}
项目:JavityEngine    文件:BitmapFontWriter.java   
/** A convenience method to write pixmaps by page; typically returned from a PixmapPacker when used alongside
 * FreeTypeFontGenerator.
 * 
 * @param pages the pages containing the Pixmaps
 * @param outputDir the output directory
 * @param fileName the file name
 * @return the file refs */
public static String[] writePixmaps (Array<Page> pages, FileHandle outputDir, String fileName) {
    Pixmap[] pix = new Pixmap[pages.size];
    for (int i=0; i<pages.size; i++) {
        pix[i] = pages.get(i).getPixmap();
    }
    return writePixmaps(pix, outputDir, fileName);
}
项目:libgdxcn    文件:BitmapFontWriter.java   
/** A convenience method to write pixmaps by page; typically returned from a PixmapPacker when used alongside
 * FreeTypeFontGenerator.
 * 
 * @param pages the pages containing the Pixmaps
 * @param outputDir the output directory
 * @param fileName the file name
 * @return the file refs */
public static String[] writePixmaps (Array<Page> pages, FileHandle outputDir, String fileName) {
    Pixmap[] pix = new Pixmap[pages.size];
    for (int i = 0; i < pages.size; i++) {
        pix[i] = pages.get(i).getPixmap();
    }
    return writePixmaps(pix, outputDir, fileName);
}
项目:gdx-smart-font    文件:BitmapFontWriter.java   
/** A convenience method to write pixmaps by page; typically returned from a PixmapPacker when used alongside
 * FreeTypeFontGenerator.
 * 
 * @param pages the pages containing the Pixmaps
 * @param outputDir the output directory
 * @param fileName the file name
 * @return the file refs */
public static String[] writePixmaps (Array<Page> pages, FileHandle outputDir, String fileName) {
    Pixmap[] pix = new Pixmap[pages.size];
    for (int i=0; i<pages.size; i++) {
        pix[i] = pages.get(i).getPixmap();
    }
    return writePixmaps(pix, outputDir, fileName);
}
项目:gdx-proto    文件:BitmapFontWriter.java   
/** A convenience method to write pixmaps by page; typically returned from a PixmapPacker when used alongside
 * FreeTypeFontGenerator.
 * 
 * @param pages the pages containing the Pixmaps
 * @param outputDir the output directory
 * @param fileName the file name
 * @return the file refs */
public static String[] writePixmaps (Array<Page> pages, FileHandle outputDir, String fileName) {
    Pixmap[] pix = new Pixmap[pages.size];
    for (int i=0; i<pages.size; i++) {
        pix[i] = pages.get(i).getPixmap();
    }
    return writePixmaps(pix, outputDir, fileName);
}