I've just looked at some Object2D stuff for the first time. I dragged the
code snippets for the ArcShape class (from the LR) to the corresponding
event handlers of a Canvas. The pink quarter pie shows up, but I have a
couple questions.
1) What's the purpose of 4 lines in the Open event handler dealing with a
Picture object? If the DrawObject method is invoked in the Paint handler,
those lines don't seem to be needed at all. I can comment them, and the
image appears. Without drawing the object from the Paint handler, I would
expect those lines to result in the image appearing as the backdrop of the
canvas, but that doesn't happen. What's the scoop?
2) What's with the Fill property? When I assign any value below 50, the arc
is invisible. I can't seem to get any transparency effect whatsoever. What
don't I understand?
Thanks for the help,
---
Steve Schacht
shot at frontier dot net
|