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

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Basic4ppc Wishlist Missing any feature?

drawer with thick line

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-09-2007, 07:13 AM
Junior Member
 
Join Date: Jul 2007
Location: Hong Kong
Posts: 49
Send a message via MSN to hung Send a message via Yahoo to hung Send a message via Skype™ to hung
Cool drawer with thick line

when use drawer in imagelib.dll, the line function can only draw single pixel line. it would be great with the pen.value parameter can be replace with a brush or a pict so we can draw thick lines.

Hung
Reply With Quote
  #2 (permalink)  
Old 07-09-2007, 07:28 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

This is not supported by the .Net CF.
Here is a simple solution (from the old forum):
http://basic4ppc.geotrail.no/projects/DrawThickLine.sbp
Reply With Quote
  #3 (permalink)  
Old 07-19-2007, 01:38 PM
derez's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Posts: 978
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default 3-pixel line

Here is a 3-pixel wide line that I use as a route line between points on the map:

form5.FLine(Point(i).x ,Point(i).y ,Point(i+1).x,Point(i+1).y ,RGB(RTL.R,RTL.G,RTL.B))
form5.FLine(Point(i).x+1 ,Point(i).y ,Point(i+1).x+1,Point(i+1).y ,RGB(RTL.R,RTL.G,RTL.B))
form5.FLine(Point(i).x-1 ,Point(i).y ,Point(i+1).x-1,Point(i+1).y ,RGB(RTL.R,RTL.G,RTL.B))
form5.FLine(Point(i).x , Point(i).y+1 ,Point(i+1).x,Point(i+1).y+1 ,RGB(RTL.R,RTL.G,RTL.B))
form5.FLine(Point(i).x ,Point(i).y-1 ,Point(i+1).x,Point(i+1).y-1 ,RGB(RTL.R,RTL.G,RTL.B))
__________________
David Erez
Ramat Hasharon, Israel
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
FileWrite at certain line..? TWELVE Questions (Windows Mobile) 3 08-31-2010 10:07 AM
Different Line Types ceaser Code Samples & Tips 4 08-20-2008 01:39 PM
Why is my drawer.New2() not working? willisgt Questions (Windows Mobile) 3 06-29-2008 10:27 AM
Error at line 0? Mistrel Questions (Windows Mobile) 9 11-04-2007 07:40 PM
Drawer overlay each other possible? MM2forever Questions (Windows Mobile) 2 08-24-2007 06:29 AM


All times are GMT. The time now is 02:01 PM.


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