Page 1 of 1

Error The resource "clipPath28" could not be resolved.

Posted: 23 Feb 2021, 06:05
by SenlyCamile
<?xml version="1.0" encoding="UTF-8"?>
<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Name="svg10" Width="1584.8" Height="1120.6801">
  <Canvas.RenderTransform>
    <TranslateTransform X="0" Y="0"/>
  </Canvas.RenderTransform>
  <Canvas.Resources>
     <PathGeometry xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Key="clipPath28" Figures="M 1162.8 -28.368 H 27.648 V -813.456 H 1162.8 v 785.088" FillRule="NonZero"/>
  </Canvas.Resources>
  <Canvas Name="g18">
    <Canvas.RenderTransform>
      <MatrixTransform Matrix="1.3333333 0 0 -1.3333333 0 2.8017e-5"/>
    </Canvas.RenderTransform>
    <Canvas Name="g22">
      <Canvas Name="g24" Clip="{StaticResource clipPath28}">
      </Canvas>
    </Canvas>
  </Canvas>
</Canvas>
It works well on noesis2. The error is shown when I use noesis3.

Re: Error The resource "clipPath28" could not be resolved.

Posted: 23 Feb 2021, 11:16
by sfernandez
Hi, I've just tried that same xaml in Noesis 2.2.6 XamlPlayer and it didn't work because PathGeometry wasn't implemented. Perhaps you were using a plain Geometry before:
<Geometry x:Key="Path28">M 1162.8 -28.368 H 27.648 V -813.456 H 1162.8 v 785.088</Geometry>
Anyway, PathGeometry is something that should work with NoesisGUI 3, but there must be a problem with the converter for Figures property. Could you please report it attaching that same xaml?

Re: Error The resource "clipPath28" could not be resolved.

Posted: 23 Feb 2021, 13:13
by SenlyCamile
Hi, I've just tried that same xaml in Noesis 2.2.6 XamlPlayer and it didn't work because PathGeometry wasn't implemented. Perhaps you were using a plain Geometry before:
<Geometry x:Key="Path28">M 1162.8 -28.368 H 27.648 V -813.456 H 1162.8 v 785.088</Geometry>
Anyway, PathGeometry is something that should work with NoesisGUI 3, but there must be a problem with the converter for Figures property. Could you please report it attaching that same xaml?
Thanks for your reply. I have reported it. And how long does it take to solve this in general?

Re: Error The resource "clipPath28" could not be resolved.

Posted: 23 Feb 2021, 13:49
by sfernandez
As I said you can use a Geometry instead of PathGeometry until we fix the Figures property converter:
<Geometry x:Key="Path28">M 1162.8 -28.368 H 27.648 V -813.456 H 1162.8 v 785.088</Geometry>

Re: Error The resource "clipPath28" could not be resolved.

Posted: 23 Feb 2021, 14:41
by SenlyCamile
As I said you can use a Geometry instead of PathGeometry until we fix the Figures property converter:
<Geometry x:Key="Path28">M 1162.8 -28.368 H 27.648 V -813.456 H 1162.8 v 785.088</Geometry>
Got it.