Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Basic4ppc Wishlist
Home Register FAQ Members List 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, 08:13 AM
Junior Member
 
Join Date: Jul 2007
Location: Hong Kong
Posts: 42
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, 08:28 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,143
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, 02:38 PM
Senior Member
 
Join Date: May 2007
Posts: 188
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Different Line Types ceaser Code Samples & Tips 4 08-20-2008 02:39 PM
Why is my drawer.New2() not working? willisgt Questions & Help Needed 3 06-29-2008 11:27 AM
FileWrite at certain line..? TWELVE Questions & Help Needed 2 05-13-2008 06:29 AM
Error at line 0? Mistrel Questions & Help Needed 9 11-04-2007 08:40 PM
Drawer overlay each other possible? MM2forever Questions & Help Needed 2 08-24-2007 07:29 AM


All times are GMT. The time now is 11:08 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0