Rendering curves
Posted: 12 Feb 2014, 15:28
Hi
I would like to use the Noesis renderer to render 2D primitives using the C++ API
Previously I was loading Xaml files and setting up the renderer like this:
But say I wanted to create say to create a path programatically, which is filled with some kind of brush. How would I do that?
Thanks
Don
I would like to use the Noesis renderer to render 2D primitives using the C++ API
Previously I was loading Xaml files and setting up the renderer like this:
Code: Select all
Ptr<UIElement> xaml = LoadXaml<UIElement>(name.c_str());
Ptr<IRenderer> *xamlRenderer = new Ptr<IRenderer>;
*xamlRenderer = CreateRenderer(xaml.GetPtr());
(*xamlRenderer)->SetAntialiasingMode(Noesis::Gui::AntialiasingMode_MSAA);
(*xamlRenderer)->SetTessellationQuality(Noesis::Gui::TessellationQuality_High);
But say I wanted to create say to create a path programatically, which is filled with some kind of brush. How would I do that?
Thanks
Don