?
Solved

Graphic CANVAS Clear

Posted on 2000-04-03
3
Medium Priority
?
307 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.
Suggested Courses

752 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