On 2010-01-03 21:55-0500 Hazen Babcock wrote:

>
> How important are the device numbers? I'm hoping to add a "pure" windows
> cairo driver, wincairo, but it appears that the logical device number
> has been taken by the Qt drivers.
>
> I'd like:
> "wincairo:Cairo Microscoft Windows Driver:0:cairo:66:wincairo\n"
>
> But Qt has:
> "bmpqt:Qt Windows bitmap driver:0:qt:66:bmpqt\n"
>
> Do I have to bump all the Qt device driver numbers up by one?

I believe at minimum those numbers have to be unique. However, although not
essential it is really nice for human understanding to make sure those
numbers are contiguous for a given device driver. Thus, I would suggest you
go ahead and bump (I would suggest by three to give plenty of room for
future cairo device expansion) the Qt device numbers.

And in the future when somebody implements the next device driver let's
remember to start its device numbers at least three above the transformed qt
device number range since the number of qt devices is bound to expand over
the years as well.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to