From 39a5e5f5acd28dd50b0ffc123bba9e96eee55800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lud=C4=9Bk=20Caha?= Date: Wed, 22 Jan 2025 14:59:56 +0100 Subject: [PATCH] Access to Bounds of m_drawing --- Source/SVGImage/SVG/SVGImage.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/SVGImage/SVG/SVGImage.cs b/Source/SVGImage/SVG/SVGImage.cs index 49923be..40aa512 100644 --- a/Source/SVGImage/SVG/SVGImage.cs +++ b/Source/SVGImage/SVG/SVGImage.cs @@ -163,6 +163,12 @@ public Drawing ImageSource set { this.SetValue(ImageSourcePoperty, value); } } + public Rect Bounds + { + get { return m_drawing.Bounds; } + set { } + } + public bool UseAnimations { get { return (bool)GetValue(UseAnimationsProperty); }