xaml - Get color pixel in metro app (windows 8) -


i want color pixel on touch point , return string (ex: #ffadd8e6). wonder if windows apis support in metro app (windows 8). can answer me or me find out solution? thank.

in general isn't easy this. assuming xaml app (although same logic applies wwa or directx app), have stack of rendering going on. xaml objects turned textures inside runtime, composited hardware, along potentially being combined other applications, including components protected media pipeline, image appears on screen. image, user sees, exists in frame buffer of gpu, there isn't anywhere cpu, , therefore app, read from. while possible read it, involve stalling whole system wide rendering pipeline, copying whole frame buffer system memory. very slow.


Comments