Re: [css3-images] Repeating oblique gradients

On Tue, Nov 30, 2010 at 11:32 AM, Rik Cabanier <> wrote:
>> Rotating raster images is indeed relatively expensive - this is why the image-orientation property only accepts multiples of 90deg.
> As Leif mentioned, this is a very common problem that is already solved.
> If the browser uses the OS API's to draw, there is support to do this natively (brushes on windows and patterns on mac).
> If the browser draws with OpenGL or DirectX, it takes no effort to implement (and run with no performance penalty).

I'll leave this to the browser vendors to decide.  If this is indeed
cheap, then we can relax the restriction on image-orientation.

>> Any evidence to the contrary showing that repeating gradients are used in practice would be appreciated
> In the flash world, repeating patterns are used all the time.
> If you go to or, you will see many repeating gradients in the ads for ETrade. For example, the 'shimmer' effect on the buttons is done with a reflected, rotated axial gradient.

Could you screencap some images for me?  I don't know if I'm seeing
the same ads as you.  (I had to remember to explicitly turn off
adblock, too - I was pretty confused at first!)


Received on Tuesday, 30 November 2010 19:42:02 UTC