bug fixes and refinements.

This commit is contained in:
Will Charczuk 2016-07-11 23:32:31 -07:00
parent 52e80c183d
commit debd56f494
7 changed files with 31 additions and 21 deletions

View file

@ -46,7 +46,7 @@ func TestVectorRendererMeasureText(t *testing.T) {
vr.SetFont(f)
vr.SetFontSize(12.0)
w, h := vr.MeasureText("Ljp")
assert.Equal(21, w)
assert.Equal(15, h)
tb := vr.MeasureText("Ljp")
assert.Equal(21, tb.Width)
assert.Equal(15, tb.Height)
}