Sign in
skia
/
external
/
github.com
/
rive-app
/
rive-cpp
/
ea25a4e5e292e896a8c86ffd2f13813dfe2fffa7
/
.
/
src
/
shapes
/
paint
/
radial_gradient.cpp
blob: 1a97ba879523980c2c590f1f036aee1cd5f72907 [
file
]
#include
"shapes/paint/radial_gradient.hpp"
#include
"renderer.hpp"
using
namespace
rive
;
void
RadialGradient
::
makeGradient
(
const
Vec2D
&
start
,
const
Vec2D
&
end
)
{
renderPaint
()->
radialGradient
(
start
[
0
],
start
[
1
],
end
[
0
],
end
[
1
]);
}