• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

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