mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 17:03:15 +08:00
Linnear fix
[agg]Fixed issue when axial gradient didn't render extended part [Graphics]Removed console log in color function [Test] page numeration fix
This commit is contained in:
@ -4063,7 +4063,8 @@ namespace PdfReader
|
||||
TransformToPixels(pGState, x1, y1);
|
||||
TransformToPixels(pGState, x2, y2);
|
||||
|
||||
auto info = NSStructures::GInfoConstructor::get_linear({x1, y1}, {x2, y2}, t0, t1);
|
||||
auto info = NSStructures::GInfoConstructor::get_linear({x1, y1}, {x2, y2}, t0, t1,
|
||||
pShading->GetExtendStart(), pShading->GetExtendEnd());
|
||||
|
||||
GrColorSpace *ColorSpace = pShading->GetColorSpace();;
|
||||
float delta = (t1 - t0) / info.shading.function.get_resolution();
|
||||
|
||||
Reference in New Issue
Block a user