Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graphics Speed - Display List

Status
Not open for further replies.

mbitzko

Programmer
Apr 5, 2005
13
0
0
US
I using the TCL Libraries to support cross-platform graphics display. On a printed circuit board, there can be thousands of line segments, creating an extensive display list. When zoomed in on the board and turning on the display for these objects, I wanted to ignore any of the objects outside of my zoom area which is the canvas window. Is there any way that when you create an object such as "$myWorksp create line x1_pix y1_pix x2_pix y2_pix", that I ignore any of the objects outside of the canvas window?
 
Items in a canvas have a state option. The state can be normal, disabled, or hidden. If you know which items (by tag or ID) you want to ignore, maybe disabled will do it for you?

_________________
Bob Rashkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top