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.

Not the answer you're looking for? Browse other questions tagged .