|Help needed with SnapTo [message #227177]
||Thu, 30 November 2006 09:40
Originally posted by: awm_abu.yahoo.com|
I am looking to create a grid like layout editor and I was thinking of using
the SnapTo functionality to help me
However I'm not quite sure how I go about setting the co-ordinates that the
objects can snap to.
Firstly I'm assuming the method snapRectangle() is what I have to override ?
Secondly I'm looking at that method and I'm not sure how to go about setting
Do I have to set the gridx and gridy values ?
Sorry that this question is a bit vague but if you could point me towards an
example even it would be great.
I need a grid like the one attached.
As you can see the cells are not uniform in size
As the diagram zooms the space between the cells changes.
Therefore my grid co-ordinates change constantly.
So I need my SnapToGrid to mirror the GridLayer which I used to draw what
As I say any thoughts would be great
Powered by FUDForum
. Page generated in 0.01675 seconds