public interface CoordinatesConversionParams
Modifier and Type | Field and Description |
---|---|
static int |
CHUI_PIXELS_PER_COLUMN
The constant value of pixels per column in ChUI environments.
|
static int |
CHUI_PIXELS_PER_ROW
The constant value of pixels per row in ChUI environments.
|
Modifier and Type | Method and Description |
---|---|
int |
getFontHeight(WidgetId windowId,
int font)
Get the height of the given font.
|
int |
getFontWidth(WidgetId windowId,
int font)
Get the width of the given font.
|
int |
getPixelsPerColumn()
Returns the number of pixels in each column of the display.
|
int |
getPixelsPerRow()
Returns the number of pixels in each row of the display.
|
boolean |
isChui()
Flag indicating the ChUI or GUI mode.
|
static final int CHUI_PIXELS_PER_COLUMN
static final int CHUI_PIXELS_PER_ROW
boolean isChui()
int getPixelsPerColumn()
int getPixelsPerRow()
int getFontWidth(WidgetId windowId, int font)
windowId
- The ID of the window from which the font-table is used.font
- Font index.int getFontHeight(WidgetId windowId, int font)
windowId
- The ID of the window from which the font-table is used.font
- Font index.