emulator: audio debugger

This commit is contained in:
minjaesong
2023-01-22 14:07:42 +09:00
parent 38081a2c36
commit 39a781ff71
8 changed files with 191 additions and 11 deletions

View File

@@ -75,6 +75,10 @@ object TinyAlphNum : BitmapFont() {
return null
}
fun drawRalign(batch: Batch, text: CharSequence, x: Float, y: Float): GlyphLayout? {
return draw(batch, text, x - W*text.length, y)
}
override fun getLineHeight() = H.toFloat()
override fun getCapHeight() = getLineHeight()
override fun getXHeight() = getLineHeight()