mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 18:08:35 +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);
|
||||
if ADestEntity is TvEntityWithPenBrushAndFont then
|
||||
ReadSVGFontStyleWithKeyAndValue(lCurKey, lCurValue, ADestEntity as TvEntityWithPenBrushAndFont);
|
||||
// transform
|
||||
ReadSVGGeneralStyleWithKeyAndValue(lCurKey, lCurValue, ADestEntity);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
@ -1411,6 +1413,9 @@ begin
|
||||
ConvertSVGDeltaToFPVDelta(
|
||||
AData, lw, lh, lImage.Width, lImage.Height);
|
||||
|
||||
// Apply the layer style
|
||||
ApplyLayerStyles(lImage);
|
||||
|
||||
Result := lImage;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user