WinCE: TGraphicControl can draw beyond it's Canvas
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
If I have a TGraphicControl (e.g. TPaintBox or a custom one) and I paint to its Canvas then if something is painted outside the Control's bounds this is visible.
Additional information:
Attached is an example application. A PaintBox is positioned on the form and a frame rectangle is drawn around it (using Rectangle and a clear background color, because of the FrameRect problem). If in the OnPaint Event of the PaintBox one now paints beyond the area of the PaintBox than the drawn content is visible as well. This is not the case on Win32.
Note: This can be worked around with clipping, but there is also a problem with that (see extra report).
Mantis conversion info:
- Mantis ID: 24106
- OS: WinCE
- OS Build: 6.1
- Platform: ARM
- Version: 1.0.4
- Monitored by: » zaher (Zaher Dirkey)