The SEDRIS Data Representation Model
APPENDIX C - Types
SE_Colour_Binding
/*
 * ENUM: SE_Colour_Binding
 *
 *   This data type specifies which type of colour inheritance is in
 *   effect within the scope of the given <Rendering Properties>
 *   instance.
 */
typedef enum
{
SE_CLR_BND_NORMAL, (notes)
SE_CLR_BND_PARENT_OVERRIDE (notes)
} SE_Colour_Binding;


Enumerant Notes


SE_CLR_BND_NORMAL

 The colour of a geometry attribute is defined as the default SEDRIS
 attribute binding. Attributes defined by a component would overload
 its parent (i.e., the last colour wins).

 EXAMPLES:
 1) <Colour> components of a <Polygon> override the <Colour> on the
    <Union Of Primitive Geometry> that aggregates the <Polygon>.
 2) <Colour> on a <Vertex> overrides the colour on the <Polygon>
    that aggregates the <Vertex>.

SE_CLR_BND_PARENT_OVERRIDE

 Allows the given <Geometry> instance to override the default SEDRIS
 attribute binding, that is, to override any <Colour> instances
 specified by objects in its component tree.

 EXAMPLES:
 1) A <Union of Primitive Geometry> with PARENT_OVERRIDE will determine
    the colour of its <Polygon> components, even if the polygons have
    their own colour.
 2) The colour of a <Polygon> with PARENT_OVERRIDE colour_binding takes
    precedence over the colours of the <Vertex> components of the
    <Polygon>.



Prev: SE_CMYK_Data. Next: SE_Colour_Data.


Return to: Top of this Page, Type Index

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™