public class Cvt extends Table
| Modifier and Type | Method and Description |
|---|---|
int |
get(int key)
Get a value
|
void |
putInFUnits(int key,
int value)
Put a new value in the table in FUnits (needs scaling)
|
void |
putInPixels(int key,
int value)
Put a new value in the table in pixels (already scaled)
|
void |
scale(double scale)
Scales the CVT to match the font
|
public void scale(double scale)
scale - The new scalepublic void putInPixels(int key,
int value)
key - Which value to replacevalue - The (scaled) valuepublic void putInFUnits(int key,
int value)
key - Which value to replacevalue - The (unscaled) valuepublic int get(int key)
key - The value to getCopyright © 2017. All rights reserved.