[mapserver-users] Widely spaced Diagonal Fill

Hankley, Chip Chip.Hankley at GASAI.Com
Thu Oct 25 11:13:37 EDT 2001


I'm having trouble figuring out how to do a simple diagonal hash.

If I use the following definition, I do get a diagonal fill (sort of)...

SYMBOL
  NAME 'hash'
  TYPE VECTOR
  POINTS
    0 0
    1 1
  END
END

However, it's more of a checkerboard in that every other pixel is filled
(which is what I would expect based on the definition).

How would I do a more widely spaced fill (i.e. 45 degree lines with say, 5
pixels of space between lines)? The following definition looks the same as
the first:

SYMBOL
  NAME 'hash'
  TYPE VECTOR
  POINTS
    0 0
    5 5
  END
END

Thanks!

Chip Hankley



More information about the mapserver-users mailing list