Skip to content

Add support for conic gradients

Benjamin Otte requested to merge wip/otte/conic into master

This adds a GskConicRenderNode and CSS support for conic-gradient().

image

Try also:

@keyframes conic {
  100% { background-image: conic-gradient(from 1turn, red, lime, blue, yellow, red); }
}

window {
  background-image: conic-gradient(red, lime, blue, yellow, red);
  animation: conic infinite linear 5s;
}

This will tell you that you totally want to work on the GL renderer so you don't have to watch Cairo's mesh renderer.

Edited by Benjamin Otte

Merge request reports