does the LineTo perform a quick clip arithmetic? 
Author Message
 does the LineTo perform a quick clip arithmetic?

BOOL LineTo(
  HDC hdc,    // device context handle
  int nXEnd,  // x-coordinate of line's ending point
  int nYEnd   // y-coordinate of line's ending point
);

hi,
  i load thousands of lines from database and perform
a gdi line drawing method, need i implement a clip
operation before i draw it for increate performance?

thanks!!!!
any advice will be appreciated!!!!



Sun, 11 Sep 2005 01:33:19 GMT  
 does the LineTo perform a quick clip arithmetic?

Quote:

> BOOL LineTo(
>   HDC hdc,    // device context handle
>   int nXEnd,  // x-coordinate of line's ending point
>   int nYEnd   // y-coordinate of line's ending point
> );

> hi,
>   i load thousands of lines from database and perform
> a gdi line drawing method, need i implement a clip
> operation before i draw it for increate performance?

> thanks!!!!
> any advice will be appreciated!!!!

If you are drawing them in OnPaint/OnDraw then Windows clips them.

--
Scott McPhillips [VC++ MVP]



Sun, 11 Sep 2005 05:18:45 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. CDC::LineTo() clipping

2. Quick way to perform screen region capture in C#

3. Doing arithmetic with very large numbers

4. emulating large registers and doing quick shifts

5. Done it - Quick C now works

6. Is C# Clipping Like C++ Clipping?

7. Quick Sort, quicker, stable and anti-degeneration

8. Help-Quick answer to quick memory query

9. HELP:Need copy of MS Quick C w/Quick assembler 2.5x for windows

10. Quick C v2.0 versus Quick C v1.0

11. Difference between Quick C and Quick C/Win

12. Quick Question, Quick Answer

 

 
Powered by phpBB® Forum Software