I can draw the pieces using a font:
Code: Select all
char *ch[] = {
"*", "+", "p", "P", "o", "O", "n", "N", "m", "M",
"b", "B", "v", "V", "r", "R", "t", "T", "q", "Q",
"w", "W", "k", "K", "l", "L", "x", "X", ".", ":",
"*", "+", "*", "+", "*", "+"
};
Image9->Canvas->Font->Size = 36;
Image9->Canvas->Font->Color = clBlue;
Image9->Canvas->Font->Color = ((clBlue&0xFF000000)|0x0049A049);
Image9->Canvas->Font->Color = 0x0049A049;
Image9->Canvas->Font->Name = "Chess Merida";
for (int i = 0; i < 6; i++) {
for (int j = 0; j < 6; j++) {
Image9->Canvas->TextOut(1+50*i, 1+50*j, ch[((6*j)+i)]);
}
}
I hope the solution is not more complex than merely using StretchBlt() or BitBlt()
Matthias.