When I use the code
canvas1.createRender(100);
canvas1.setTextSize(100);
uur=random(23);
minuut=random(59);
seconde=random(59);
sprintf(charBuffer,"%02d:%02d:%02d",uur,minuut,seconde);
int nWidth = canvas1.textWidth(charBuffer);
nWidth is zero. How can I get the width of a string?
When I test is wihth :
nWidth = canvas1.textWidth("test");
the answer is sill zero.
Any sugestion?