Artwork below Mouse Point


hello,

 

is there way find artwork/layer below given location of mouse?

 

thanks,

hitesh

hello,

 

you can use aihittest.h suite.

 

aitoolhitdata hitdata;

aihitref hitref;

int distance;

error = saihit-> hittestex (nil, & message-> cursor, distance, knolockedpainthitrequest, & hitref);

 

to test if object under cursor.

 

error = saihit-> gethitdata (hitref, & hitdata);

 

if (hitdata.hit hitdata.object &&! = null)

{/ / if object under cursor.

....

}

 

jlg.



More discussions in Illustrator SDK


adobe

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached