public class GLPlatformImpl
extends java.lang.Object
implements cc.polyfrost.oneconfig.platform.GLPlatform
| Constructor and Description |
|---|
GLPlatformImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
drawRect(float x,
float y,
float x2,
float y2,
int color) |
float |
drawText(cc.polyfrost.oneconfig.libs.universal.UMatrixStack matrixStack,
java.lang.String text,
float x,
float y,
int color,
boolean shadow) |
void |
enableStencil() |
int |
getStringWidth(java.lang.String text) |
public void drawRect(float x,
float y,
float x2,
float y2,
int color)
drawRect in interface cc.polyfrost.oneconfig.platform.GLPlatformpublic void enableStencil()
enableStencil in interface cc.polyfrost.oneconfig.platform.GLPlatformpublic float drawText(cc.polyfrost.oneconfig.libs.universal.UMatrixStack matrixStack,
java.lang.String text,
float x,
float y,
int color,
boolean shadow)
drawText in interface cc.polyfrost.oneconfig.platform.GLPlatformpublic int getStringWidth(java.lang.String text)
getStringWidth in interface cc.polyfrost.oneconfig.platform.GLPlatform