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

Re: shaded region



On Sat, 2 Nov 2002, C. Zalinescu wrote:

> I would like to draw some shaded regions without the contour (boundary) to
> be marked (like for a nonclosed path, between the origin and the end of the
> path).
> Do you know a solution? One seems to be to draw once again the path with
> white color, but I would like to have a more smart solution.
>
Dear Constantin,

Your solution is perhaps the easiest one in the short term. :)

If you speak C++ it is easy to modify S. D. Pedersen's hatch_area routine
so that it does not draw the boundary of the region, or so that it draws
part of the boundary. hatch_area() is in contrib/epix_ext.cc starting at
line 846.

I'll put this in my list of "things to implement" for the next major
version (0.9.x), but it may be several weeks (or more...) before anything
usable appears. (When 0.9.x does appear, it will be much easier to
implement features like the one you describe; the program internals will
be much better organized, and more modular.)

Best regards,

Andy

Andrew D. Hwang			ahwang at mathcs dot holycross dot edu
Department of Math and CS	http://mathcs.holycross.edu/~ahwang
College of the Holy Cross	(508) 793-2458 (Office: 320 Swords)
Worcester, MA, 01610-2395	(508) 793-3530 (fax)