c# - How to render Path geometry without Window Handle using Windows Store C++ -
in windows store application, have draw path geometry using direct2d in c++. in scenario instead of using basic polyline
object, go direct2d better performance in application. c# application communicate c++ component direct2d drawing.
this link helped more information direct2d drawing pathgeometry
. draws geometry in window handle rather using window handle need drawing done ordinary uielement
rendering. there sample available on net resolve problem ?
there samples directx/xaml integration , think there might vs project template integrating these includes direct2d code, though possibly in single project natice c++ app, whereas need create native winrt component exposes c++/cx api application put in either swapchainpanel
(best option, requires windows 8.1), swapchainbackgroundpanel
(good option, full-screen only) or surfaceimagesource
.
Comments
Post a Comment