Skip to content

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

License

Notifications You must be signed in to change notification settings

krypciak-zz/IGB-charLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages