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