Word for mac rgb color

broken image
broken image

*(pDisplayMemOffset+4) = 200 // asigning 200 to red-value of second pixel *(pDisplayMemOffset+1) = 123 // asigning 123 to green-value of first pixel Here's the example: *(pDisplayMemOffset+0) = 0x10 // asigning 0x10 to the red-value of first pixel However, i can easily give you an example of how you do this pixel-color assignment if e.g. Maybe you can provide this pixel format information so that i can improve my answer. See the field ddpfPixelFormat and also specifically in there: dwRGBBitCount. How this assignment can be done is very dependent on the pixel-format you specified when acquiring ddsd.