How to make a square topped, round rect bottomed graphic?

J. Landman Gay jacque at hyperactivesw.com
Sat Dec 4 21:08:15 EST 2010


On 12/4/10 6:03 PM, Roger Guay wrote:
> Heck, I could do it
> myself if I could figure out how to get the color of a pixel by
> location programmatically.

There's a really ugly hack for that. It's fast though.

  put the screenMouseLoc into oldX,oldY
  set the screenMouseLoc to x,y
  get the mouseColor
  set the screenMouseLoc to oldX,oldY

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list