Solved

Graphic CANVAS Clear

Posted on 2000-04-03
3
296 Views
Last Modified: 2009-07-29
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
Comment
Question by:hlava
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
AlexVirochovsky earned 50 total points
ID: 2680611
Simple use FillRect. Code may be as :
TRect Rect(Image1->left,...);
Image1->Canvas->FillRect(&Rect);
I hope, it helps. Alex
0
 

Author Comment

by:hlava
ID: 2682713
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
 
LVL 14

Expert Comment

by:AlexVirochovsky
ID: 2683348
I don't know more faster way.
About DirectX: see free control DelphiX
or shareware www.bcb-tools.com
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question