colorsrendererxtk

Changing the color of a pixel in a XTK Renderer2D


Currently, I display a .dcm file using XTK in a Renderer2D. Is it possible to change the color of some pixels in this renderer ?

Thank you in advance :)


Solution

  • I think you will have be to a lot more specific than this. Generally if you want to change the pixels of the actual Canvas element (that the X.renderer2D draws onto) you have to rewrite the X.renderer2D class - at least according to my experience). But it does depend on what you want to do specifically...