[cairo] [cairo-script] add working mod, cvi, cvr operators

Chris Wilson chris at chris-wilson.co.uk
Tue Jul 28 01:38:46 PDT 2009


On Mon, 2009-07-27 at 15:31 -0700, Zack Weinberg wrote:
> I'm not sure this is the right list to send this to, but I don't know
> about any separate list for cairo-script, so...

cairo-script has been push upstream to cairo to form the basis of its
tracing format. It now lives in cairo/util/cairo-script.

> For some experiments I was doing I needed integer remainder and
> real<->integer conversion operators in cairo-script.  The attached
> patch adds them, with Postscript-compatible names and semantics.
> I had to expose parse_number from csi-scanner.c.

Thank you, I've pushed this as:
commit e2f912dc5bbfad3a6f4b5e1dbfbe51be148b3232
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Jul 28 09:32:36 2009 +0100

    [script] Add cvi, cvr, mod
    
    Add implementations of convert-to-integer, convert-to-real and modulus
    supplied by Zack Weinberg <zweinberg at mozilla.com>.
-ickle



More information about the cairo mailing list