Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations > Open Source Projects
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Open Source Projects The place to discuss Basic4ppc open source applications.

Rubber Banding in Wondows Mobile app

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-05-2009, 04:39 AM
Newbie
 
Join Date: May 2009
Posts: 2
Default Rubber Banding in Wondows Mobile app

Greetings all,

Has anyone came across a sample of how to do drawing using rubber banding in a windows mobile app?

I have a simple image that i will load and would like to draw lines and polygons. that all.

All i need is to identify the end points (x,y pairs of pixel coords) of lines or vertices of polygon.

Has anyone seen any examples of how to do that?

Looking forward to your responses.

Sincerely
Reply With Quote
  #2 (permalink)  
Old 05-05-2009, 06:06 AM
Knows the basics
 
Join Date: Apr 2007
Location: Steinheim, Germany
Posts: 91
Default Rubber Banding

Hi DanDanGong,
you can play with this little app.
Attached Files
File Type: sbp rubberband_sin.sbp (1.8 KB, 53 views)
__________________
Thanks for all
wolfgang
___________________
Desktop: Dual Core 3.0 GHz, Win7
Device: IPAQ 3970 WM 2003, Asus 632N WM5, HTC 3650 Cruise
GPS: iblue 747
Reply With Quote
  #3 (permalink)  
Old 05-05-2009, 12:26 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,827
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi DanDanGong,

Here you have a small example of basic drawing on an image.
The program doesn't memorize nor save the x,y coordinates of the different points. It's a small version of this drawing program:
http://www.basic4ppc.com/forum/share...program-5.html
It's not that difficult to memorize the coordinates in arrays and save them. But you must not only memorize the x,y, coordinates but you must also memorise between what points you have a line.

For vector graphics that memorizes and saves the x,y coordinates, have a look at this program. Here the coordinates of the points are saved.
http://www.basic4ppc.com/forum/share...aled-maps.html

Best regards.
Attached Files
File Type: zip DrawBasics.zip (130.3 KB, 43 views)
__________________
Klaus
Switzerland

Last edited by klaus : 05-05-2009 at 12:33 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
MotionPicture Mobile ExcludeReality Share Your Creations 2 04-04-2009 10:07 PM
Windows Mobile 6.1 DrSigfrid Spanish Forum 7 12-15-2008 07:52 PM
rubber banding wolfgang Code Samples & Tips 2 12-04-2008 09:03 AM
VBA for Windows mobile(?) Cableguy Chit Chat 3 08-29-2008 08:20 AM
Windows Mobile 6.1 and .NET CF Christian22 Questions (Windows Mobile) 5 05-17-2008 09:32 AM


All times are GMT. The time now is 04:35 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0