Alan W. Irwin wrote:
> On 2009-07-19 01:59-0000 hbabc...@users.sourceforge.net wrote:
> 
>> Revision: 10161
>>          http://plplot.svn.sourceforge.net/plplot/?rev=10161&view=rev
>> Author:   hbabcock
>> Date:     2009-07-19 01:59:08 +0000 (Sun, 19 Jul 2009)
>>
>> Log Message:
>> -----------
>> Units are PI/2 not 2/PI. Also change to using the PLplot constant PI 
>> instead of 3.14159
>>
>> Modified Paths:
>> --------------
>>    trunk/drivers/cairo.c
>>
> 
> Hi Hazen:
> 
> Obviously, the PI/2 unit is the correct one, but what bothers me is the 
> text
> clipping seems the same (good) both before and after this commit.  If you
> also cannot spot any visual difference between the two commits, is there
> something that we are missing?

Probably. The clipping also works better than it does for the svg driver 
which is performing a fairly similar operation, rotating the clipping 
rectangle around the center of the plot. In the svg driver text section 
there is a commented out section that draws the clipping rectangle on 
the plot. Adding something like that to the cairo driver might provide 
some insight into where the clipping rectangle is located.

I also planned to poke around in PLplot core to try and figure out 
exactly how the text clipping is done for drivers like xwin.

-Hazen


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to