Alan W. Irwin wrote:
> On 2009-10-25 14:13-0700 Alan W. Irwin wrote:
> 
>> On 2009-10-25 15:11-0500 Hezekiah M. Carty wrote:
>>> It is my understanding that automatically clearing the page to the
>>> background color is intentionally left out of the extcairo device
>>> intentionally so that the provided context is preserved.  This way a
>>> user can provide, for example, an image they want to plot over and it
>>> will be preserved.
>>>
>>> I use this feature of the driver quite often, so I would prefer that
>>> the extcairo functionality remain as-is, at least in the default case.
>>
>> There are two issues here.  (1) Should we allow specifying a possibly
>> transparent background colour for extcairo similar to every other device
>> driver? (2) If the answer to (1) is yes, should that default background
>> be transparent?
>>
>> I would argue pretty strongly for (1) simply because most/all of our 
>> devices
>> have background colour setting capability, and I assume some extcairo 
>> users
>> will want this as well (e.g., for our ext-cairo-test case).  I think the
>> answer to (2) should depend on what the majority of users are doing with
>> extcairo.  I don't have a clue about that usage, but if you think the
>> majority will be using background images instead of solid backgrounds, 
>> then
>> I would be willing to go along with making the background transparent by
>> default for the extcairo case simply as a matter of convenience for that
>> majority use case.
> 
> With regards to implementing this, I just realized that it should be easier
> to implement background colour processing as a driver option for extcairo
> then something more complicated that I had in mind before with transparent
> background colours.
> 
> So (1) and (2) should be changed to
> 
> (1) Should we implement background colour processing as a driver option for
> extcairo?
> 
> (2) if so, should the default driver option be to have that background
> or not for extcairo?
> 
> I think (1) is a no-brainer.  On (2) I would be happy to go along with your
> instincts about what default would be the most convenient for typical
> background (PLplot or image?) usage by all users.

Done. The option is "set_background=0|1". The default is no background.

-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