Home | History | Annotate | Download | only in freetype

Lines Matching defs:Library

49 	public static class Library extends Pointer implements Disposable {

52 Library (long address) {
64 private static native void doneFreeType(long library); /*
65 FT_Done_FreeType((FT_Library)library);
91 private static native long newMemoryFace(long library, ByteBuffer data, int dataSize, int faceIndex); /*
93 FT_Error error = FT_New_Memory_Face((FT_Library)library, (const FT_Byte*)data, dataSize, faceIndex, &face);
104 private static native long strokerNew(long library); /*
106 FT_Error error = FT_Stroker_New((FT_Library)library, &stroker);
113 Library library;
115 public Face (long address, Library library) {
117 this.library = library;
123 ByteBuffer buffer = library.fontData.get(address);
125 library.fontData.remove(address);
864 public static Library initFreeType() {
867 if(address == 0) throw new GdxRuntimeException("Couldn't initialize FreeType library");
868 else return new Library(address);
872 FT_Library library = 0;
873 FT_Error error = FT_Init_FreeType(&library);
875 else return (jlong)library;
888 // Library library = FreeType.initFreeType();
889 // Face face = library.newFace(new FileHandle("arial.ttf"), 0);
911 // library.dispose();