Re: [Plib-users] Question
Brought to you by:
sjbaker
From: lafont02 <laf...@cn...> - 2001-01-02 17:52:44
|
Thanks Norman, that did the trick perfectly. Don. ----- Original Message -----=20 From: Norman Vine=20 To: pli...@li...=20 Sent: Tuesday, January 02, 2001 4:04 AM Subject: RE: [Plib-users] Question lafont02 writes:=20 Steve, would it be possible to get an equivalent of getBBox() for = fntRenderer?=20 =20 Why not just -)=20 =20 float left ; float right ; float bot ; float top ; char buf[256] =20 // Set this to a valid fntRenderer=20 external fntRenderer *MyText; =20 fntFont *font =3D myText->getFont(); float pointsize =3D myText->getPointSize(); float italic =3D myText->getSlant(); font->getBBox ( buf, pointsize, italic, &left, &right, &bot, &top ) ; =20 Cheers =20 Norman |