none
Multiple pictures in one SwapChainPanel using directx and xaml? RRS feed

  • Question

  • I did not find the necessary category and forum and on this I created a theme here.
    I'm using visual studio 2017 and windows 10.
    How can I display several pictures in SwapChainPanel using directx and xaml? For example, three rows of five pictures?
    I took as a basis the project "D2DPhotoAdjustment example which uses directx 11 and xaml" from the examples of the Universal Windows Platform (UWP) app samples, downloaded from github.com/Microsoft/Windows-universal-samples
    I can not figure out where to change anything.
    Do I need to create my ID2D1Device2, ID2D1DeviceContext2 for each image and draw each one separately with offset using ID2D1DeviceContext2-> SetTransform or how?
    I still do not know directx well and for this I ask for more details, if not hard on the same example = "example D2DPhotoAdjustment which uses directx 11 and xaml".
    Sunday, November 5, 2017 10:25 AM

Answers