|
Laxkit
0.0.7.1
|
GradientData keeps a stack of these. More...
Public Member Functions | |
| GradientDataSpot (double tt, Laxkit::ScreenColor *col) | |
| GradientDataSpot (double tt, int rr, int gg, int bb, int aa) | |
| virtual void | dump_out (FILE *f, int indent, int what, Laxkit::anObject *context) |
| virtual void | dump_in (FILE *f, int indent, Laxkit::anObject *context, LaxFiles::Attribute **Att=NULL) |
| Dump in an attribute, then call dump_in_atts(thatatt,0,context). | |
| virtual void | dump_in_atts (LaxFiles::Attribute *att, int flag, Laxkit::anObject *context) |
| Fill the t, red, green, blue, alpha, based on the corresponding attributes. | |
Public Attributes | |
| double | t |
| Laxkit::ScreenColor | color |
GradientData keeps a stack of these.
Keeps position t, and color. The color components are in range [0,0xffff].
|
virtual |
Dump in an attribute, then call dump_in_atts(thatatt,0,context).
If Att!=NULL, then return the attribute used to read in the stuff. This allows holding classes to have extra attributes within the spot field to exist and not be discarded.
References LaxFiles::Attribute::dump_in().
|
virtual |
Outputs something like:
t .754 rgba 100 255 34 65535
If what==-1, then dump out a psuedocode mockup of what gets dumped. Otherwise dumps out in indented data format described above.
Referenced by LaxInterfaces::GradientData::dump_out().