1
\$\begingroup\$

Is it possible to create a Direct2D PathGeometry object from a XAML string (or from any other vector format) or do I have to create such a parser myself?

\$\endgroup\$

1 Answer 1

0
\$\begingroup\$

Well I wasn't able to find if a straight conversion from a Xaml string to a Direct2D Geometry object exists. I used this SE answer to build my own version. It works by parsing the markup and converting the resulting instructions to GeometrySink commands.

\$\endgroup\$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.