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