mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 16:10:16 +02:00
fpvectorial-svg: Implements applying layer transforms to sub-entities
git-svn-id: trunk@42314 -
This commit is contained in:
parent
711fe94d1a
commit
17fe854c92
@ -1024,6 +1024,8 @@ begin
|
|||||||
ReadSVGBrushStyleWithKeyAndValue(lCurKey, lCurValue, ADestEntity as TvEntityWithPenAndBrush);
|
ReadSVGBrushStyleWithKeyAndValue(lCurKey, lCurValue, ADestEntity as TvEntityWithPenAndBrush);
|
||||||
if ADestEntity is TvEntityWithPenBrushAndFont then
|
if ADestEntity is TvEntityWithPenBrushAndFont then
|
||||||
ReadSVGFontStyleWithKeyAndValue(lCurKey, lCurValue, ADestEntity as TvEntityWithPenBrushAndFont);
|
ReadSVGFontStyleWithKeyAndValue(lCurKey, lCurValue, ADestEntity as TvEntityWithPenBrushAndFont);
|
||||||
|
// transform
|
||||||
|
ReadSVGGeneralStyleWithKeyAndValue(lCurKey, lCurValue, ADestEntity);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
@ -1411,6 +1413,9 @@ begin
|
|||||||
ConvertSVGDeltaToFPVDelta(
|
ConvertSVGDeltaToFPVDelta(
|
||||||
AData, lw, lh, lImage.Width, lImage.Height);
|
AData, lw, lh, lImage.Width, lImage.Height);
|
||||||
|
|
||||||
|
// Apply the layer style
|
||||||
|
ApplyLayerStyles(lImage);
|
||||||
|
|
||||||
Result := lImage;
|
Result := lImage;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user