Re: Need help drawing lines



I'm tyring to draw a `dotted line' with each other pixel being a dot.
The problem is that I don't know what value to set the dash_offset to.

When I set dash_offset to 0 and the number of dashes to 2, I get a two
pixel long dash and then two pixels of emptyness.

how about setting dashes to 1 ??? just guessing ....

Hi, I figured out the problem, yes setting to 1 didn't initially work
butthen I set something from `cap butt' to `not last' and then it worked.
I got that from the Xlib manual as `not last' seems to have the right
affect I wanted.

Thanks for looking into it though I appreciate that. :)

--
Sincerely,                  ,"-_                         \|/
-Capt. Taura M.             ,   O=__                    --X--
..__                         ,_JNMNNEO=_                 /|\
OMNOUMmnne.                  {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn.               'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe              '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe.                "7OMMMMNNNNNWWEEEEOOOOOO"   "'.
EEBNNMMMNWNWWEEIMMNe.             __  7EMMMNNNNNWWWEEEEEEEOO.     " .
NNMMMMWWWMMMWEINMMMNn            "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._     .
                  http://furry.ao.net/~learfox/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]