Right -- unfortunately patterns (in the QD sense) aren't something easily 
supported cross-platform.  But what you can do is draw your borders into the 
mask of a picture, the image of which has been filled with an appropriate 
pattern.  Then draw this picture to the final graphics context.


But if I fill the mask with a zebra pattern, draw the the borders into
this mask, then if I draw this picture into the final graphics
context, that will change my entire underlying image (atop which I
want to draw just a dashed outline) into a zebra, no?


Of course, you'll notice that you don't see the marching-ants selection style 
in Apple apps anymore -- the more fashionable look these days seems to be the 
translucent region, which is actually quite a bit easier to do (on OS X, at 
least) with the Object2D classes.

I do realize that marching ants is passé.  Is there another way, eg.
passing an RB Object2D to one of the CoreGraphics routines via a
declare to make its (or a derivative of this Object2D) border dashed? Speaks to the larger issue of how to massage RB's already rich vector
graphics suite with CoreGraphics, Quartz, OpenGL or whatever?

Thanks!
Peter


--
-------------------------------------------------------------------------------
Peter K. Stys, MD
Professor of Medicine(Neurology), Senior Scientist
Ottawa Health Research Institute, Div. of Neuroscience
Ottawa Hospital / University of Ottawa
Ontario, CANADA
tel:    (613)761-5444
fax:    (613)761-5330
http://www.ohri.ca/profiles/stys.asp
-------------------------------------------------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to