Link to home
Start Free TrialLog in
Avatar of optidoc
optidoc

asked on

Simple 2D Shape Drawing program

I want to trace around wooden 2D shapes less than 4" square using a graphic tablet. I want to write a VB program to record the shape. Then calculate its dimensions height, width, centre point, longest diagonal.
Avatar of Tertioptus
Tertioptus

So what is your specific problem?   And is there a picture that your tracing on.
I suggest starting from here  http://www.greenreaper.co.uk/#VBTablet

VBTablet is ActiveX control that would allow access to your graphic Tablet from VB application


Avatar of optidoc

ASKER

Thank you Michael D, VBTablet good place to start although I will need to take a few extra strong Guru tablets to understand the code!! Will get back to you in a while.....
Avatar of optidoc

ASKER

I looked at VBTablet and yes it will work but before I go down that route. I need to store the image as a bitmap. Then at a later date read in the shape  and find height,width and longest diagonal from the bitmap. So I was thinking of using VB drawmode in a simple way to make a bitmap and wonderd how to interrogate a simple 2D bitmap shape?
ASKER CERTIFIED SOLUTION
Avatar of Michael_D
Michael_D
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of optidoc

ASKER

Thank you for your help. I am still searching for a easier solution at the moment.