Move methods from graphics renderer to base interface

This commit is contained in:
Oleg Korshul
2024-09-09 15:03:59 +03:00
parent f21d92ee92
commit 493cec92c6
6 changed files with 27 additions and 36 deletions

View File

@ -61,7 +61,7 @@ QImage GenerateImg(std::vector<NSStructures::Point> &points, Info &info, const i
NSStructures::GradientInfo ginfo = info.ginfo;
ginfo.shading.f_type = NSStructures::ShadingInfo::UseNew;
pRasterRenderer->put_BrushGradInfo(ginfo);
pRasterRenderer->put_BrushGradInfo(&ginfo);
auto a = info.c;
auto b = info.p;
LONG *c = a.data();