Package armyc2.c2sd.renderer.utilities
Class UnitFontLookup
java.lang.Object
armyc2.c2sd.renderer.utilities.UnitFontLookup
-
Method Summary
Modifier and TypeMethodDescriptionstatic UnitFontLookupInfoadjustSubSurfaceIfNot2525C(UnitFontLookupInfo original) static intgetFillCode(String SymbolID, int symStd) 2525C returns the character index for the fill frame based on the symbol code.static intgetFrameCode(String SymbolID, int FillCode) static UnitFontLookupgetLookupInfo(String SymbolID) Deprecated.getLookupInfo(String SymbolID, int symbologyStandard) booleangetReady()static floatgetUnitRatioHeight(int charIndex) static floatgetUnitRatioWidth(int charIndex) void
-
Method Details
-
getReady
-
getInstance
-
init
-
adjustSubSurfaceIfNot2525C
-
getFillCode
2525C returns the character index for the fill frame based on the symbol code.- Parameters:
SymbolID- 15 character symbol IDsymStd- 0 for 2525B, 1 for 2525C- Returns:
- fill character index
-
getFrameCode
-
getLookupInfo
Deprecated.- Parameters:
SymbolID-- Returns:
-
getLookupInfo
- Parameters:
SymbolID-symbologyStandard-- Returns:
-
getUnitRatioHeight
- Parameters:
charIndex- - Fill Character Index- Returns:
-
getUnitRatioWidth
- Parameters:
charIndex- - Fill Character Index- Returns:
-