Hi Alan, > I would also like to specify the transparency of the background > conveniently > using the -bg command-line option. I was thinking along the lines of > > -bg ff0000_0.3 > > to specify the same semitransparent background that I gave as an > example > above. The implementation would simply check the length of the > option string > and if greater than 6, parse the first 6 as hex, check for the > underscore, > and parse the remainder as a floating point value. Please comment > _soon_ if > you forsee any trouble with that implementation idea.
I don't see any trouble, but what about -bg ff0000 for opaque and -bg ff00003f for transparent background. This would be much easier to check (must be 6 or 8 chars) and transparency has most of the times 255 values anyway AFAIK (depending on the implementation, e.g. png). But you solution would be also ok. Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria DVR-Nr: 0005886 email: [email protected] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
