mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-15 12:34:30 +00:00
![]() We introduced separate opacity interface to adjust alpha value by paint. This opacity will affect to whole paint image if paint is a group of paints. Also, this opacity is to multipy with fill/stroke alpha values. This means if the opacity is valid, the paint might deal with a composition step, which is very expensive due to additional rendering step. One tip is, if you want to toggle on/off for a certian paint, you can set opacity to 255 or 0. @API Additions: Result Paint::opacity(uint8_t o) noexcept; uint8_t Paint::opacity() const noexcept; @Examples: examples/Opacity @Issues: 94 |
||
---|---|---|
.. | ||
svgs | ||
Arc.cpp | ||
Async.cpp | ||
Blending.cpp | ||
Boundary.cpp | ||
Capi.cpp | ||
ClipPath.cpp | ||
Common.h | ||
CustomTransform.cpp | ||
DirectUpdate.cpp | ||
Duplicate.cpp | ||
FillRule.cpp | ||
GradientTransform.cpp | ||
LinearGradient.cpp | ||
meson.build | ||
MultiCanvas.cpp | ||
MultiShapes.cpp | ||
Opacity.cpp | ||
Path.cpp | ||
PathCopy.cpp | ||
RadialGradient.cpp | ||
Scene.cpp | ||
SceneTransform.cpp | ||
Shape.cpp | ||
Stacking.cpp | ||
Stress.cpp | ||
Stroke.cpp | ||
StrokeLine.cpp | ||
Svg.cpp | ||
Svg2.cpp | ||
Transform.cpp | ||
Update.cpp |