Andrew Ross wrote:
> On Mon, Nov 23, 2009 at 09:26:39AM -0600, Geoffrey Furnish wrote:
>> Alan W. Irwin writes:
>>  > So I think "the road to 6.0" is going to be a long process that will need
>>  > lots of planning, implementation, and testing work, but that effort should
>>  > be worthwhile if we end up with just the ideal API for 6.0 with the
>>  > non-ideal component of our API completely removed.
>>
>> Besides discussion of API changes and handling thereof, another thing which I
>> find represents a large part of the PLplot adoption experience, relates to
>> the third party packages and libraries we work with.
>>
> 
> A further thing for the wish list is to look over the drivers and see if there
> are any we can no longer properly support. Alan has already done a lot of this
> recently, but this might be a time for a code purge, as opposed to just 
> disabling by default.

I would add return codes for every function in the API and moving away 
from the use of plabort() and plexit().

Also, I think that plget and plset are likely going to be a little 
baroque for everyday use in languages like C & Fortran.

Compare:
PLAttribute pen_attr;
pen_attr.attributeType = PL_INT;
pen_attr.intValue = 2;
plset(PL_PENWIDTH, pen_attr);

To:
plwid(2);

The goal of plget & plset is more or less complete coverage of the 
settable attributes of the current plot stream in form that is easily 
ported to all of our language bindings. I think we'll want to keep many 
of the functions currently in the API as "shortcuts". If we decide that 
a function is not used much we could remove it from the API & retain its 
abilities with plget/plset. If we decide that a stream attribute is 
accessed a lot via plget/plset then we could add a "shortcut" function 
to the API.

-Hazen


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to