Hi!
I'm using GLSurfaceView for one of my applications and I've
encountered a problem. It seems I can only create textures when in
onSurfaceChanged, after that glGenTextures only returns 0. I've tried
without glGenTextures and keeping track of texture indices myself, but
the textures generated jus
Dunno if this is the best way to do it but I do it like this.
Rect bounds = new Rect();
textPaint.getTextBounds(string, 0, string.length(), bounds);
return bounds.width();
On 4 Sep, 00:25, hap 497 wrote:
> Thank you. But how can i specify a certain TextAppearance before
> calling Paint.getTextW
2 matches
Mail list logo