Offset uniqueness in vector of ColorSteps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Offset uniqueness in vector of ColorSteps
- From: Regina Henschel <rb.henschel@xxxxxxxxxxx>
- Date: Tue, 14 Mar 2023 14:09:26 +0100
- Cc: LO dev fdo <libreoffice@xxxxxxxxxxxxxxxxxxxxx>
- User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.15
Hi Armin,
you put the ColorSteps into a sorted vector with unique offsets of the
ColorSteps.
I see a problem with "unique". Both OOXML and SVG allow several color
stops to have the same offset. Users need it in OOXML and SVG gradients
to create stepped gradients like those from ODF draw:gradient.
Thus forcing uniqueness in our core will give problems in import filter
and in implementing the <svg:radialGradient> and <svg:linearGradient>
from ODF.
Kind regards,
Regina
[Index of Archives]
[LARTC]
[Bugtraq]
[Yosemite Forum]
[Photo]