[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Graphics properties as objects
From: |
John W. Eaton |
Subject: |
Re: Graphics properties as objects |
Date: |
Tue, 08 Jan 2008 11:01:50 -0500 |
On 8-Jan-2008, Michael Goffioul wrote:
| What I implicitely meant is that the genprops.awk would
| generate *all* useful accessors. The color_property is probably the
| most tricky one, but you could imagine to generate:
|
| bool color_is (const std::string& name) const
| { return color.is (name); }
|
| const double* get_color (void) const
| { return (color.is_rgb () ? color.rgb () : 0); }
OK. I agree that we should generate as much of this code as possble
using the AWK script. How succesful that will be depends on whether
we only have a (relatively) small set of property types. Is that a
reasonable assumption?
jwe
- Re: Graphics properties as objects, (continued)
- Re: Graphics properties as objects, John W. Eaton, 2008/01/05
- Re: Graphics properties as objects, John W. Eaton, 2008/01/05
- Re: Graphics properties as objects, Michael Goffioul, 2008/01/06
- Re: Graphics properties as objects, John W. Eaton, 2008/01/06
- Re: Graphics properties as objects, Michael Goffioul, 2008/01/06
- Re: Graphics properties as objects, Michael Goffioul, 2008/01/08
- Re: Graphics properties as objects, John W. Eaton, 2008/01/08
- Re: Graphics properties as objects, Michael Goffioul, 2008/01/08
- Re: Graphics properties as objects, Shai Ayal, 2008/01/08
- Re: Graphics properties as objects, Michael Goffioul, 2008/01/08
- Re: Graphics properties as objects,
John W. Eaton <=
- Re: Graphics properties as objects, Michael Goffioul, 2008/01/08
- Re: Graphics properties as objects, Michael Goffioul, 2008/01/09
- Re: Graphics properties as objects, Shai Ayal, 2008/01/09
- Re: Graphics properties as objects, Michael Goffioul, 2008/01/09
- Re: Graphics properties as objects, Shai Ayal, 2008/01/09
- Re: Graphics properties as objects, Michael Goffioul, 2008/01/10
- Re: Graphics properties as objects, John W. Eaton, 2008/01/10
- Re: Graphics properties as objects, Michael Goffioul, 2008/01/10
- Re: Graphics properties as objects, Shai Ayal, 2008/01/10
- Re: Graphics properties as objects, Michael Goffioul, 2008/01/10