Technology Questions

Go Back   Technology Questions > Hardware Questions > Mobile Computers > Tablet PC > Tablet PC Software > Tablet PC Developers

Tablet PC Developers Show off your work while discussing with others how to create ink enabled applications.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 01-19-2009, 01:00 PM
Ravi
Newsgroup Contributor
 
Posts: n/a
Merging ink objects

Hi,

I have two ink objects that I'm trying to merge. Is there a simple way to do
this?

When I try to add the strokes from Ink2 to Ink1, the memory seems to be
going up as I repeat this process.

Any suggestions are greatly appreciated.

Thank you,
Ravi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 01-19-2009, 01:00 PM
  #2 (permalink)  
Old 01-19-2009, 01:00 PM
Josh Einstein
Newsgroup Contributor
 
Posts: n/a
Re: Merging ink objects

Isn't that what you'd expect? Under the surface, the ink strokes are just
integer arrays. Copying them from one ink object to another creates a copy
of the array that makes up the stroke. Effectively you should see the memory
used by Ink1 doubled by the time it's copied to Ink2.

I suppose you could delete the strokes from the first ink object when you've
added it to the second, but are you really dealing with ink so big that you
need to manage the memory like that?

Josh Einstein

"Ravi" <Ravi@discussions.microsoft.com> wrote in message
news:47F15CA9-1DE1-4410-95BF-94FA9C7C115B@microsoft.com...
> Hi,
>
> I have two ink objects that I'm trying to merge. Is there a simple way to
> do
> this?
>
> When I try to add the strokes from Ink2 to Ink1, the memory seems to be
> going up as I repeat this process.
>
> Any suggestions are greatly appreciated.
>
> Thank you,
> Ravi


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging ink objects Ravi Tablet PC Developers 0 12-26-2008 06:00 PM
Merging dictionaries xtophsr Microsoft Office 0 06-20-2008 02:30 PM
Merging HDD partitions Daddio Windows XP 14 01-27-2008 07:20 AM
Merging Barb Stevens Microsoft Office 3 07-23-2007 03:10 PM
Merging Notes PT Microsoft OneNote 3 05-27-2007 11:30 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 07:00 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0