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

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

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Pen width and XOR drawing

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-01-2008, 07:21 AM
enonod's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: U.K.
Posts: 324
Default Pen width and XOR drawing

I have searched but not found (almost always no hits). I wish to alter/set the pen width when drawing.
I cannot find how to set the pen to XOR so that a second drawing of the same line removes it (for rubber banding).
Any pointers please?
Reply With Quote
  #2 (permalink)  
Old 06-01-2008, 08:21 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

There is no line thickness parameter in B4PPC.
Have look at Erel's proposals:
http://www.basic4ppc.com/forum/code-...ine-types.html

The XOR mode is not supported by B4PPC, for the rubber banding you should use the ForeLayer.
You can have a look at this:
http://www.basic4ppc.com/forum/code-...r-banding.html

Best regards
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #3 (permalink)  
Old 06-01-2008, 06:43 PM
enonod's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: U.K.
Posts: 324
Default

Thank you klaus for those pointers, I don't know why my search didn't find them.
A question now occurs to me. I have never come across ForeLayer in any other language, is there only one? If so does that mean a form has two layers and can they just be switched between etc?
What is its main purpose (why was it invented )
Any further info and common usage would be appreciated.

Last edited by enonod : 06-01-2008 at 06:58 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
IDE subs list width klaus Beta Versions 1 09-28-2008 03:56 AM
Is it possible to set a width of the scrollbar? aeror Questions (Windows Mobile) 2 06-19-2008 10:22 AM
Change Image width and Height Georg Questions (Windows Mobile) 3 05-13-2008 03:19 PM
sqlite col width dennishea Questions (Windows Mobile) 1 01-20-2008 07:00 PM
table col width tvrman Questions (Windows Mobile) 8 06-16-2007 08:41 PM


All times are GMT. The time now is 07:21 AM.


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