New topic: 

Dashed or Dotted Lines

<http://forums.realsoftware.com/viewtopic.php?t=33791>

         Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic          Author  
Message        danlamet4          Post subject: Dashed or Dotted LinesPosted: 
Fri May 14, 2010 8:53 pm                         
Joined: Thu Oct 30, 2008 12:33 pm
Posts: 1                Can anyone suggest how I can draw dashed or dotted 
lines in a RB drawing program?   
                             Top                 serd83          Post subject: 
Re: Dashed or Dotted LinesPosted: Fri May 14, 2010 9:08 pm                      
   
Joined: Thu Feb 22, 2007 7:08 pm
Posts: 1074                Code:  dim distance as integer = 5
  
  for i as integer = 0 to me.width step distance
  g.drawline(i, 20, i, 20)
  next   
                             Top                DaveS          Post subject: 
Re: Dashed or Dotted LinesPosted: Fri May 14, 2010 9:30 pm                      
           
Joined: Sun Aug 05, 2007 10:46 am
Posts: 2342
Location: San Diego, CA                that a fine solution if the line is 
vertical or horizontal....

but not if the line is at an angle, or curved etc.      
_________________
Dave Sisemore
MacPro, OSX 10.6.2 RB2009r5.1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to