~qiannian

Recent activity

Re: LinearGradient and RadialGradient a month ago

From qiannian to ~eliasnaur/gio

Thanks ,I think he is similar to css's linear-gradient
https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/linear-gradient

qiannian <qianniancn@gmail.com> 于2022年5月3日周二 10:52写道:
>
> Thanks ,I think he is similar to css's linear-gradient
> https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/linear-gradient
>
>
> Egon Elbre <egonelbre@gmail.com> 于2022年5月2日周一 17:06写道:
> >
> > I'm not quite sure what you mean by `angle` in this context?
> >
> > For linear gradient it allows to specify start and end,

LinearGradient and RadialGradient a month ago

From qiannian to ~eliasnaur/gio

I see that LinearGradient doesn't seem to have implemented angle yet.

> type LinearGradientOp struct {
> Stop1 f32.Point
> Color1 color.NRGBA
> Stop2 f32.Point
> Color2 color.NRGBA
> }


I want to implement RadialGradient, is there any reference material
that I can use?