I want to use the tool window to draw a rotated rectangle on image, but each time, it seems only draw a rectangle, it can't rotate. Don't know why?
In Vision Assitant, if I use rotated rectangle tool, it will show like this:

Using the cross lines in rectangle, I can rotate my ROI, it is OK.
Run the sample code: C:\Users\Public\Documents\National Instruments\CVI\samples\Vision\2. Functions\Geometric Matching, change imaqShowToolWindow (FALSE);
to imaqShowToolWindow (TRUE);
on line 93#. Compile then run. Seems I also can't rotate my ROI, don't know why?

Please show me? Thank you.