Search found 20 matches
- 02 Nov 2021, 04:33
- Forum: General Discussion
- Replies: 2
- Views: 3784
Re: Is there any demo about how to use the class FormattedText?
Hi, to draw a text using a FormattedText first provide the text or inlines that will generate the text runs, and then call the layout method to place the text according to the provided bounds and font properties. void OnRender(DrawingContext* context) { mFormattedText->BuildTextRuns(mText.Str(), nu...
- 28 Oct 2021, 03:36
- Forum: General Discussion
- Replies: 2
- Views: 3784
Is there any demo about how to use the class FormattedText?
I wanna to use DrawingContext to drawtext. I tried to get formattedtext from a textblock.But it did not work.
- 15 Oct 2021, 12:38
- Forum: General Discussion
- Replies: 10
- Views: 6897
Re: Problems porting a WPF project to Noesis for Unity
Done.No, we don't support that property yet, could you please report it in our bugtracker?
- 15 Oct 2021, 11:53
- Forum: General Discussion
- Replies: 10
- Views: 6897
Re: Problems porting a WPF project to Noesis for Unity
The last geometry you posted is not being parsed correctly by our parser. I created ticket https://www.noesisengine.com/bugs/view.php?id=1359 to keep track of this problem. Can you report the missing TextBlock. IsHyphenationEnabled property? For the other problems it would help us a lot if you coul...
- 21 May 2021, 03:58
- Forum: General Discussion
- Replies: 3
- Views: 995
Re: Storyboard
WPF doesn't allow bindings in Storyboards defined in ControlTemplate resources, it will throw the following error: "Cannot freeze this Storyboard timeline tree for use across threads". But in order to provide an alternative I need to understand what are you trying to do, because you have ...
- 20 May 2021, 04:50
- Forum: General Discussion
- Replies: 3
- Views: 995
Storyboard
<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006...
- 24 Apr 2021, 04:15
- Forum: General Discussion
- Replies: 4
- Views: 1505
Re: I try to convert dependencyproperty to bool,but it does not work. Any bugs?
It works.Thanks. The code in the converter is not correct. First you are comparing the CommandParameter which is a string, with the value of CameraSpeedRatio which is probably a float (I will assume that in my code). Then you are not storing the converted value in the result variable. The code shoul...
- 23 Apr 2021, 15:40
- Forum: General Discussion
- Replies: 4
- Views: 1505
I try to convert dependencyproperty to bool,but it does not work. Any bugs?
Xaml <ResourceDictionary> <BoolConverter x:Key="BoolConverter"/> </ResourceDictionary> <StackPanel> <RadioButton IsChecked="{Binding CameraSpeedRatio,Converter={StaticResource BoolConverter},ConverterParameter=1,Mode=TwoWay}"/> <RadioButton IsChecked="{Binding CameraSpeedRat...
- 06 Mar 2021, 05:49
- Forum: General Discussion
- Replies: 2
- Views: 475
AutoSizeMode property
Hello,
Is there a AutoSizeMode property on panel in noesis? And how to set it in xaml.
I wanna to make the panel grow or shrink to fit it’s content not only grow.
Is there a AutoSizeMode property on panel in noesis? And how to set it in xaml.
I wanna to make the panel grow or shrink to fit it’s content not only grow.
- 23 Feb 2021, 14:41
- Forum: General Discussion
- Replies: 4
- Views: 511
Re: Error The resource "clipPath28" could not be resolved.
Got it.As I said you can use a Geometry instead of PathGeometry until we fix the Figures property converter:Code: Select all<Geometry x:Key="Path28">M 1162.8 -28.368 H 27.648 V -813.456 H 1162.8 v 785.088</Geometry>