On 1/18/11 10:28 AM, Ed Leafe wrote:
> On Jan 18, 2011, at 1:24 PM, Paul McNett wrote:
>
>> It would be possible, but a tad more complicated, to draw the labels at 
>> arbitrary
>> angles without increasing the column's width (each such header would 
>> overdraw an
>> adjacent slice of the header next to it).
>
>
>       I thought of making a HeaderCaptionAngle property, but the calculations 
> are much more complex, since the text has 2 dimensions, and determining the 
> x,y position involves a bunch of trigonometry. Considering the lack of 
> real-world use cases, I quickly decided to scrap that approach.

You'd also have to hold each header's polygon for hit-testing on mouse clicks. 
I 
could see it as a nice eye-candy addition but agree that keeping it simple is 
best. 
Just throwing out the idea in case anyone has the time to do it.

Paul


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to