qskinny icon indicating copy to clipboard operation
qskinny copied to clipboard

QskGradientIterator

Open uwerat opened this issue 1 year ago • 0 comments

Would be have a specific iterator for the gradient stops so that application code can iterate without having to deal with:

  • missing stops at 0.0/1.0 ( -> colors are take from the first/last stops then )
  • inverted iteration - f.e useful, when having an decreasing linear gradient vector
  • discrete iteration: sometimes a gradient with fixed colors between the stops ( no interpolation ) is wanted. Today it is necessary to insert 2 stops at the same position.

uwerat avatar Mar 10 '23 12:03 uwerat