/IGB-charlib

IGB charLib is used for generating IGB L2 code that draws chars on the screen.

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

IGB charLib is used for generating IGB L2 code that draws chars on the screen.

Currently using the Advanced Pixel-7 font.

Basic usage:

FontToGenerate[] fontsToGenerate = {
			//                          font name           font type    font size   NAME (generates function named ${NAME}drawchar())
			new FontToGenerate(new Font("Advanced Pixel-7", Font.PLAIN, 	14),     "small"),  // generates function named smalldrawchar()
			new FontToGenerate(new Font("Advanced Pixel-7", Font.PLAIN, 	20),     "big"),    // generates function named bigdrawchar()
};

IGB_charlib charlib = new IGB_charlib(fontsToGenerate, 32, 127);

String l2Code = charlib.getL2Code();
me.krypek.utils.Pair<String[], int[]> pair = charlib.getFormatedL2Code();

Dependencies:

License

Licensed under GNU GPLv3 or later