[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppClxRgb
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppClxRgb
(C++ CLX) RGB
A macro converting three unsigned chars to the corresponding TColor.
const unsigned int maxx = PaintBox1->Width;
const unsigned int maxy = PaintBox1->Height;
for (unsigned int y = 0; y < maxy; ++y)
{
for (unsigned int x = 0; x < maxx; ++x)
{
PaintBox1->Canvas->Pixels[x][y] = RGB(x,y,x+y);
} //Next y
} //Next x
'RGB' links
- C++ VCL
- Pascal VCL
- Pascal CLX
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
