[Xerte] Can I get the displayed height of a text clip?

Dave Burnett d_b_burnett at hotmail.com
Thu Mar 4 23:46:28 GMT 2010


round() works fine for me, but I don't want to cramp anyone.
I mean, I could apply the function externally, I'm just being greedy.
:->


 
________________________________
> Subject: RE: [Xerte] Can I get the displayed height of a text clip?
> Date: Thu, 4 Mar 2010 21:35:07 +0000
> From: Julian.Tenney at nottingham.ac.uk
> To: xerte at lists.nottingham.ac.uk
>
>
>
> you want _ytile to return Math.round(this._y + this._height)
>
> ??
>
> Don't see why not. Math.round(), Math.floor() or Math.ceil()?
>
> ________________________________
> From: xerte-bounces at lists.nottingham.ac.uk on behalf of Dave Burnett
> Sent: Thu 04/03/2010 18:18
> To: Xerte list
> Subject: RE: [Xerte] Can I get the displayed height of a text clip?
>
>
>
> Brilliant. Just what it says on the can!
>
> Now to be a git, is there an obvious drawback to having the function do a math.Round?
> Different fonts give some decimal results, which weird up the action in edit mode.
>
>
> ----------------------------------------
>> Subject: RE: [Xerte] Can I get the displayed height of a text clip?
>> Date: Thu, 4 Mar 2010 15:42:59 +0000
>> From: Julian.Tenney at nottingham.ac.uk
>> To: xerte at lists.nottingham.ac.uk
>>
>> I just added _ytile as a property to ICON, it returns _y + _height - give it a test for me,
>>
>> J
>
>
> _________________________________________________________________
> Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
> http://clk.atdmt.com/GBL/go/201469229/direct/01/_______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
 		 	   		  
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/201469230/direct/01/


More information about the Xerte mailing list