fpvectorial-svg: Implements applying layer transforms to sub-entities

git-svn-id: trunk@42314 -
This commit is contained in:
sekelsenmat 2013-08-04 11:02:09 +00:00
parent 711fe94d1a
commit 17fe854c92

View File

@ -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;