• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 321
  • Last Modified:

Graphic CANVAS Clear

I would like to use Image1->Canvas to draw many poly lines but don't know how to Clear as fas as I could.I must draw white polygon to clear it.is it faster way how clear Canvas.
if you know another faster way to drawing poly lines.please write me.
DirectX is fine but I don't understand it.
0
hlava
Asked:
hlava
  • 2
1 Solution
 
AlexVirochovskyCommented:
Simple use FillRect. Code may be as :
TRect Rect(Image1->left,...);
Image1->Canvas->FillRect(&Rect);
I hope, it helps. Alex
0
 
hlavaAuthor Commented:
Yes it runs.
But same slow as polygons.
do you know another way how fast draw?
Do you know sites about programming basic DirectDraw for stupid beginers as me?
0
 
AlexVirochovskyCommented:
I don't know more faster way.
About DirectX: see free control DelphiX
or shareware www.bcb-tools.com
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now