liquid8 Posted August 9, 2003 Posted August 9, 2003 There may be a bit of math involved in this, or maybe there is an easier way... If I have a rotated string or a rotated picture with GDI, how can I determine the exact region of it.. normally if it isn't rotated you can just use: New Rectangle(me.left,me.top,me.height,me.width) I haven't dabbled with graphics paths yet.. would that make things easier? Thanks, LiQuiD8 Quote
neodatatype Posted August 18, 2003 Posted August 18, 2003 There may be a bit of math involved in this, or maybe there is an easier way... If I have a rotated string or a rotated picture with GDI, how can I determine the exact region of it.. normally if it isn't rotated you can just use: If you're searching just for the bounding rectangle it is simple: Do a loop on each vertex, take the upper-left, the upper-right, the bottom-left and the bottom-right. yes... too simple :) was this the question? Quote > NeoDataType.net < Try my Free .Net Reporting Tool!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.