Search found 3965 matches

by jsantos
21 Jun 2024, 11:52
Forum: General Discussion
Replies: 3
Views: 270

Re: Blur and Opacity Artifacts

Cool XamlToy by the way :)
by jsantos
21 Jun 2024, 11:34
Forum: General Discussion
Replies: 12
Views: 582

Re: Custom components Package

Hi Alicia,

Which path are you using to load that XAML from outside the package?

If it is in a package, as Sergio indicated, you need to use this format: "/Packages/com.your.package/Path/To/YourControl.xaml"
by jsantos
21 Jun 2024, 10:51
Forum: General Discussion
Replies: 7
Views: 361

Re: Drawing complex controls

This is what the constructor of FormattedText is calling in 3.2.X void FormattedText::CalculateMetrics(const char* text, FontFamily* fontFamily, FontWeight weight, FontStretch stretch, FontStyle style, float fontSize, Brush* foreground, FlowDirection flowDirection, float maxWidth, float maxHeight, f...
by jsantos
20 Jun 2024, 20:02
Forum: Official Announcements
Replies: 71
Views: 236143

Re: [Latest] NoesisGUI v3.2.4

Release Notes for 3.2.4
by jsantos
17 Jun 2024, 13:45
Forum: General Discussion
Replies: 7
Views: 361

Re: Drawing complex controls

This is the OnRender source code for RadialNumbers class. void RadialNumbers::OnRender(Noesis::DrawingContext* context) { FontFamily* font = GetFontFamily(); float minimum = GetMinimum(); float maximum = GetMaximum(); float padding = GetPadding(); float spacing = Max(GetSpacing(), fabsf(minimum - ma...
by jsantos
17 Jun 2024, 13:43
Forum: General Discussion
Replies: 3
Views: 394

Re: TextBox + WorldSpaceUI

Solved, thank you!
by jsantos
14 Jun 2024, 20:51
Forum: General Discussion
Replies: 4
Views: 523

Re: Loading XAML Interfaces and Textures in Unreal Engine 5 without Importing

Thanks for letting us know! Closing this.
by jsantos
14 Jun 2024, 20:50
Forum: General Discussion
Replies: 7
Views: 361

Re: Drawing complex controls

For example, this is a RadialGauge control we created to be used from Noesis Studio (if you need the source code of this, please let me know, it is still work in progress). The default template is like this: <ControlTemplate TargetType="noesis:RadialGauge"> <Grid> <Viewbox> <Grid Width=&qu...
by jsantos
14 Jun 2024, 20:40
Forum: General Discussion
Replies: 7
Views: 361

Re: Drawing complex controls

Your approach is good, I understand you will have a UserControl with a XAML, and the different dependency properties of the user control will change the aspect. But I think, moving this to small pieces, like different custom controls for rendering every part using OnRender and then having a master c...
by jsantos
14 Jun 2024, 20:33
Forum: General Discussion
Replies: 3
Views: 195

Re: Pause Rive animations

This is not supported right now. The RiveControl is connected to the Rendering event of the view and that's automatically increasing time. void RiveControl::OnConnectToView(Noesis::IView* view) { ParentClass::OnConnectToView(view); view->Rendering() += Noesis::MakeDelegate(this, &RiveControl::Ad...