TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: KNUT SCHUENEMANN
date: 1997-10-12 05:13:00
subject: Pixel? Brush?? TCanvas???

a littel bit of code:
   TChild* Child;
   TColor Color;
   .
   .
   .
   TCanvas* Target;
   .
   .
   .
   Target = (TCanvas*)Child;
   .
   .
   .
   Target->Pixels[x][y] = Color;  ->  Exception !
   Target->Brush->Color = Color;  ->  just the same
                                      where x and y are int and should
                                       denote a point inside Target
                                      (or are they relative to the Screen?)
                                      and Color is zero.
any idea about the bug?
Knut
--- Yuppie v2.11
---------------
* Origin: The Stoned Ghost (2:2437/120.5)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.