Hez,

Thanks for spotting this. Patch applied. 

Looks like SVN commits are working again.

Andrew

On Wed, Sep 03, 2008 at 05:11:35PM -0400, Hezekiah M. Carty wrote:
> While experimenting with adding some support to the OCaml bindings for
> supplying PLplot with an external Cairo context to plot on, I found a
> small commenting error in the extcairo driver.  It is only exposed if
> the extcairo driver is enabled, otherwise the affected sections is
> #ifdef'd out.
> 
> The attached patch should fix the issue.
> 
> Hez
> 
> -- 
> Hezekiah M. Carty
> Graduate Research Assistant
> University of Maryland
> Department of Atmospheric and Oceanic Science

> diff --git a/drivers/cairo.c b/drivers/cairo.c
> index 42ef641..3d22215 100644
> --- a/drivers/cairo.c
> +++ b/drivers/cairo.c
> @@ -1713,7 +1713,7 @@ void plD_init_extcairo (PLStream *pls)
>    plD_bop_extcairo()
>    
>    Set up for the next page.
> -  ----------------------------------------------------------------------
> +  ----------------------------------------------------------------------*/
>  
>  void plD_bop_extcairo(PLStream *pls)
>  {
> @@ -1759,7 +1759,7 @@ void plD_esc_extcairo(PLStream *pls, PLINT op, void 
> *ptr)
>        /* Set graphics aliasing */
>        cairo_set_antialias(aStream->cairoContext, 
> aStream->graphics_anti_aliasing);
>  
> -      /* Invert the surface so that the graphs are drawn right side up.
> +      /* Invert the surface so that the graphs are drawn right side up.*/
>        rotate_cairo_surface(pls, 1.0, 0.0, 0.0, -1.0, 0.0, pls->ylength);
>  
>        /* Should adjust plot size to fit in the given cairo context?

> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to