While everyones talking about gradients, Ive a request... Id like to
be able to create a gradient that goes from sollid white to alpha then
clip an image to it so that the image fades away. Something like
this...

spectra {
  spectrum {
    name: "sp2";
    color: 255 255 255 255 1;
    color: 0 0 0 0 1;
  }
}
collections {
group {
   name: "Test";
   parts {
      part {
         name:          "base";
         type:          GRADIENT;
         mouse_events:  0;
         description {
            state:    "default" 0.0;
            gradient.spectrum: "sp2";
            fill.spread: 1;
         }
      }
      part {
         name:          "chinaman";
         mouse_events:  0;
         type:          IMAGE;
         clip_to:       "base";
         description {
            state:    "default" 0.0;
            image.image: ChinaManBeard.jpg" COMP;
            image.normal: "ChinaManBeard.jpg";
         }
      }
   }
 }
}

In this example I was trying to get this image to fade like the
gradient does. If you clip the image to a normal RECT then fade the
clip box it will fade the image too.
Would be nice, but not essential. Im guessing the mechanics behind it
are alot more complex than I comprehend...
Toma

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to