View Single Post
  #5   Spotlight this post!  
Unread 27-02-2013, 07:39
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Cross-hairs and camera image overlay

The attached code looks like it will draw one line.

As for whether to do it this way with an annotation or as an overlay. If it is dynamic, like putting a rectangle or circle over some element in the image, then it must be programmed by overlays/annotations. If it is just to indicate the center of the image, it can be done the other way, but the overlay is a bit more efficient since you avoid objects overlapping each other. But as you say, the cosmetic is less programming - an icon and a few wires less.

Greg McKaskle
Reply With Quote