I have an app. similar to ms onenote that was coded in vb.net and uses ms tablet sdk 1.7. It has one problem that has just now been noticed after coder is gone and now we need someone to fix it. We did find the problem with the help of microsoft msdn moderator. . We need someone to fix the ink methods. We will give source code only after you have posted your interest in the project. **You dont have to have a tabletpc to fix this**
This is bug in the way you collect, manage and render your ink. On every ink stroke you are re-rendering all previous strokes. Obviously your performance will suffer from that the more strokes you write. The easiest way to see this is by adding the following line to the “Render?? method in [login to view URL]:
[login to view URL]("Render Stroke - Time=" + [login to view URL]()
Now when you ink while running in the debugger, you will see 1 rendering call for the 1st stroke, 2 rendering calls for the 2nd stroke ??" and so on. I don’t believe this is intentional. Also I noticed that you are creating a new InkCollector object on each stroke, so you’ll end up with a huge number of InkCollectors each owning a single stroke.
Start with a review of what you are doing in the Stroke event. Re-rendering all strokes and creating a new InkCollector isn’t necessary so it should be possible to avoid that by refactoring your code.
You are also re-rendering all strokes on every stroke event. Instead you should just invalidate the bounding box of the new stroke. To do so, just replace the call to Refresh() in the [login to view URL] file with the following three lines.
Dim rect As Rectangle
rect = InkSpaceToPixel([login to view URL], New Point(96, 96))
Invalidate(rect)
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
vb.net