cjmx
Topic Author
Posts: 4
Joined: 21 May 2019, 14:48

v3.0.4 GeometryGroup doesn't work as expected

10 Aug 2020, 17:04

Here the xaml sample:
<Canvas VerticalAlignment="Center"
                HorizontalAlignment="Center">
            <Path Stroke="Black"
                  StrokeThickness="2"
                  Fill="Blue">
                <Path.Data>
                    <GeometryGroup>
                        <EllipseGeometry Center="110 60"
                                         RadiusX="50"
                                         RadiusY="50" />
                        <EllipseGeometry Center="80 110"
                                         RadiusX="50"
                                         RadiusY="50" />
                        <EllipseGeometry Center="140 110"
                                         RadiusX="50"
                                         RadiusY="50" />
                    </GeometryGroup>
                </Path.Data>
            </Path>
        </Canvas>
In WPF I got three circles:
https://www.dropbox.com/s/4tkcdid8la5t8 ... 1.png?dl=0

Actual result in Noesis with only one circle :
https://www.dropbox.com/s/fhuxfob1h2zri ... 2.png?dl=0

So only the first child of a GeometryGroup is rendered
 
User avatar
sfernandez
Site Admin
Posts: 2984
Joined: 22 Dec 2011, 19:20

Re: v3.0.4 GeometryGroup doesn't work as expected

11 Aug 2020, 20:48

Yes, this is a known issue, could you please report it in our bugtracker?

In the meantime you can convert the GeometryGroup into SVG path syntax:
<Path Width="161" Height="151" Stretch="Fill" Fill="Blue" Stroke="Black" StrokeThickness="2"
  Data="M80.5,60.499397 L82.304642,61.917572 C92.182297,70.069336 98.876251,81.940964 100.24185,95.387791 L100.31953,96.409233 99.962265,96.570751 C93.980347,99.100891 87.403564,100.5 80.5,100.5 73.596436,100.5 67.019653,99.100891 61.037735,96.570751 L60.680466,96.409233 60.758148,95.387791 C62.123749,81.940964 68.817703,70.069336 78.695358,61.917572 z M130.31952,54.590767 L132.17706,55.430542 C148.93549,63.505569 160.5,80.652267 160.5,100.5 160.5,128.11424 138.11423,150.5 110.5,150.5 99.281708,150.5 88.926331,146.80547 80.584198,140.56677 L80.5,140.5006 82.304642,139.08243 C93.417007,129.9117 100.5,116.03301 100.5,100.5 100.5,99.637054 100.47813,98.779217 100.43494,97.927006 L100.31953,96.409233 102.17706,95.569458 C117.47823,88.196602 128.44949,73.261169 130.24185,55.612206 z M30.680466,54.590767 L30.758148,55.612206 C32.550491,73.261169 43.521774,88.196602 58.822937,95.569458 L60.680466,96.409233 60.565063,97.927006 C60.521866,98.779217 60.5,99.637054 60.5,100.5 60.5,116.03301 67.582993,129.9117 78.695358,139.08243 L80.5,140.5006 80.415802,140.56677 C72.073669,146.80547 61.718292,150.5 50.5,150.5 22.885757,150.5 0.5,128.11424 0.5,100.5 0.5,80.652267 12.064514,63.505569 28.822937,55.430542 z M80.5,0.5 C108.11424,0.5 130.5,22.885757 130.5,50.5 130.5,51.362946 130.47815,52.220787 130.43494,53.07299 L130.31952,54.590767 129.96225,54.429245 C123.98035,51.899109 117.40356,50.5 110.5,50.5 99.281708,50.5 88.926331,54.194527 80.584198,60.433228 L80.5,60.499397 80.415802,60.433228 C72.073669,54.194527 61.718292,50.5 50.5,50.5 43.596436,50.5 37.019653,51.899109 31.037735,54.429245 L30.680466,54.590767 30.565063,53.07299 C30.521866,52.220787 30.5,51.362946 30.5,50.5 30.5,22.885757 52.885757,0.5 80.5,0.5 z"/>
 
cjmx
Topic Author
Posts: 4
Joined: 21 May 2019, 14:48

Re: v3.0.4 GeometryGroup doesn't work as expected

11 Aug 2020, 21:32

Sure. The issue reported:
https://www.noesisengine.com/bugs/view.php?id=1777

By the way, I suppose the converting workflow is even better for my purpose of using the dynamic geometry generation. Thank you for advice. Really helpful!
 
User avatar
sfernandez
Site Admin
Posts: 2984
Joined: 22 Dec 2011, 19:20

Re: v3.0.4 GeometryGroup doesn't work as expected

20 Aug 2020, 12:22

Thanks for the report.

Who is online

Users browsing this forum: Ahrefs [Bot] and 35 guests