On 2015-06-13 17:15-0400 Jim Dishaw wrote:

>
>
>> On Jun 13, 2015, at 3:25 PM, Phil Rosenberg <p.d.rosenb...@gmail.com> wrote:
>>
>> Okay, well if you need any help or testing let me know.
>>
>> Something that I haven't seen up to now (but maybe I never looked hard 
>> enough) is a spec sheet for how to write a driver, I.e. What events should a 
>> buffer deal with and in what way. Given the effort I've just been through 
>> with rewriting wxWidgets driver and what you are going through with the 
>> windows driver, perhaps we should write it, and then we can refer to it and 
>> if we wish to tidy the core-driver interface in the future it will be a 
>> useful reference.
>>
>
> Absolutely. Writing a driver should not be this hard. I think getting things 
> documented might clear some of the problems between what we think is 
> happening and what is really happening.

"Yes please" on some documentation for how to write a driver.  I am no
expert in this aspect of PLplot, but I do have two "overview" points to
make.

1. Device drivers for PLplot have been advertised as easy to write so let's 
make that so
with improved documentation.

2. My gut feeling is that the overview (aside from the X specifics)
for the xwin device would make a good template for an interactive
device driver.  The reason I say that is that was the interactive
device driver that got all the TLC in the early PLplot history. For
example, it handles calls to plxormod and plGetCursor properly for
example 20 while the other interactive device drivers currently do
not. So aside from treatment of text (which is way out of date for the
xwin device), I think it would be worth your while to study the design
overview of the xwin device to see if it might help you to document
the general design of interactive device drivers.

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); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); 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
__________________________

------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to