From byron.ellis at gmail.com  Mon Feb 12 09:08:19 2007
From: byron.ellis at gmail.com (Byron Ellis)
Date: Mon, 12 Feb 2007 00:08:19 -0800
Subject: [Rd] Graphics driver test script?
In-Reply-To: <93c3eada0702111337i349d3fb5v8cad9777bcbb2714@mail.gmail.com>
References: <93c3eada0702111337i349d3fb5v8cad9777bcbb2714@mail.gmail.com>
Message-ID: <7098abec0702120008k71d67fe0r717fdf2557060aaf@mail.gmail.com>

On 2/11/07, Geoff Russell <geoffrey.russell at gmail.com> wrote:
> Hi,
>
> 1. I started work on a metapost graphics driver a week or so ago and it is
> gradually taking shape. I'm building up my own test cases into a
> script as I go, but
> figured you may have a "canonical testing script" of cases a driver must handle?
>

I typically use demo(graphics) for initial development and then things
like example(plotmath) to make sure I'm getting font encoding working
properly.

> 2. The clipping function looks like being a tricky problem. It seems
> to me that the
> callers of the driver assume that clipping affects all following calls
> until the next
> clipping call resets the clipping box.   With metapost, the clipping
> function clips the
> current graphics region and has no effect on following drawing functions.  I'm
> not sure how to handle this --- the 2 models are very different.
>

Sounds like you get to make a lot of clipping calls in metapost.

> Cheers,
> Geoff Russell
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>


-- 
Byron Ellis (byron.ellis at gmail.com)
"Oook" -- The Librarian



[Rd] Graphics driver test script?
Byron Ellis