![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Basic4ppc Wishlist Missing any feature? |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
|
||||
|
This is not supported by the .Net CF.
Here is a simple solution (from the old forum): http://basic4ppc.geotrail.no/projects/DrawThickLine.sbp |
|
|||
|
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 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |