mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 12:04:29 +00:00
capi: changing function name
For uniformity of the functions naming the function name tvg_shape_stroke_get_gradient changed to tvg_shape_get_stroke_gradient.
This commit is contained in:
parent
c7f09bb333
commit
f62ee4fc84
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ TVG_EXPORT Tvg_Result tvg_shape_set_stroke_radial_gradient(Tvg_Paint* paint, Tvg
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
TVG_EXPORT Tvg_Result tvg_shape_stroke_get_gradient(const Tvg_Paint* paint, Tvg_Gradient** gradient)
|
TVG_EXPORT Tvg_Result tvg_shape_get_stroke_gradient(const Tvg_Paint* paint, Tvg_Gradient** gradient)
|
||||||
{
|
{
|
||||||
if (!paint || !gradient) return TVG_RESULT_INVALID_ARGUMENT;
|
if (!paint || !gradient) return TVG_RESULT_INVALID_ARGUMENT;
|
||||||
*gradient = (Tvg_Gradient*)(reinterpret_cast<Shape*>(CCP(paint))->strokeFill());
|
*gradient = (Tvg_Gradient*)(reinterpret_cast<Shape*>(CCP(paint))->strokeFill());
|
||||||
|
|
Loading…
Add table
Reference in a new issue