FJMovieEditor Pré-Alpha
A GTK video editor for GNOME. Designed for Artists to do, special effects, compositing and animation.

AnmColor Struct Reference

A color prepared to be animated. More...

#include <Utils.h>

Data Fields

union {
   gdouble *   c [3]
   struct {
      gdouble *   r
 The red component of color, to a generous use of color.
      gdouble *   g
 The green component of color, to a generous use of color.
      gdouble *   b
 The blue component of color, to a generous use of color.
   } 
   struct {
      gdouble *   red
      gdouble *   green
      gdouble *   blue
   } 
}; 

Detailed Description

A color prepared to be animated.

This structure includes all members of a color (RGB). These members are AnmColor::red, AnmColor::green and AnmColor:::blue. The color set in this structure, changes every frame, according to the key frames inserted. Use pointers to double, instead of doubles or floats, because the animation system (see keyframe.h) returns a pointer to a double, for each variable. animated. Instead of defining three variables, for the colors, defines this structure. This structure is allocated using the function, addAnmColor.

Author:
Fabio J. Gonzalez

Field Documentation

union { ... }
gdouble* b

The blue component of color, to a generous use of color.

Author:
Fabio J. Gonzalez
gdouble* blue
gdouble* c[3]
gdouble* g

The green component of color, to a generous use of color.

Author:
Fabio J. Gonzalez
gdouble* green
gdouble* r

The red component of color, to a generous use of color.

Author:
Fabio J. Gonzalez
gdouble* red

The documentation for this struct was generated from the following file:
All Data Structures Files Functions Variables Typedefs Defines