Closed 0TemetNosce0 closed 2 years ago
@0TemetNosce0 Paint 上没有设置颜色或 gradient么?
skity::Paint paint;
paint.setStyle(skity::Paint::kFill_Style);
paint.setMaskFilter(skity::MaskFilter::MakeBlur(skity::BlurStyle::kNormal, 10.f));
paint.setFillColor(150.f / 255.f, 150.f / 255.f, 1.f, 1.f);
canvas->drawCircle(300, 100, 50, paint);
注释setMaskFilter绘制正常
@0TemetNosce0 我在本地试了一下,是可以绘制出来的,能贴一下更完整的代码么,比如OpenGL的上下文创建