On Nov 17, 3:31 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > Daniel Holbert wrote: > > This: > > 529 nscoord TwipsToAppUnits(PRInt32 aTwips) const > > and one of these: > > 512 PRInt32 AppUnitsToDevPixels(nscoord aAppUnits) const > > 497 static PRInt32 AppUnitsToIntCSSPixels(nscoord aAppUnits) > > Note that if your coords are actually app units, not twips, then you > don't need the first one. > > -Boris
Thank you both. In the nsTextFrame, if i call GetRect().width, what is the unit of the return value? Can you please tell me how to convert to pixel? Thank you. _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

