Re: print large triangular outline using multiple sheets, possible?
- From: "Larry Serflaten" <serflaten@xxxxxxxxxxxxxx>
- Date: Sun, 28 Oct 2007 17:28:23 -0500
"Mike Williams" <mikea@xxxxxxxxxxxxxxxxx> wrote
Well, I've got to say Larry that I very rarely find solutions that I just
know I would never have thought of myself, no matter how long I spent
looking at the problem, but this is very definitely one of them. Superb
stuff! It's almost the equivalent of a binary search in an ordered array, or
a "repeatedly cut the problem in half until it no longer exists" Quicksort
algorithm. Really, really nice code. The basic "divide and rule" idea is of
course a very old one, but it is something I just would never have thought
of applying to this specific problem. Absolutely brilliant! Do you mind if I
steal it? ;-)
You can use it if you want, but I have to warn you, it was a quick demo
and it very probably isn't pixel perfect. I purposely overscanned the source
side of the equation due to working with Long types:
wid = Page.Right \ 2 + 1
hgt = Page.Bottom \ 2 + 1
While it may be fine for an entire page, trying to fit that algorithm into
a specific rectangle would require a bit of tweaking.
LFS
.
- Follow-Ups:
- Re: print large triangular outline using multiple sheets, possible?
- From: Mike Williams
- Re: print large triangular outline using multiple sheets, possible?
- References:
- print large triangular outline using multiple sheets, possible?
- From: Mike Scirocco
- Re: print large triangular outline using multiple sheets, possible?
- From: Mike Williams
- Re: print large triangular outline using multiple sheets, possible?
- From: Larry Serflaten
- Re: print large triangular outline using multiple sheets, possible?
- From: Mike Williams
- print large triangular outline using multiple sheets, possible?
- Prev by Date: Re: Run time Error '364': Object was unloaded
- Next by Date: Re: How to translate between coordinate systems
- Previous by thread: Re: print large triangular outline using multiple sheets, possible?
- Next by thread: Re: print large triangular outline using multiple sheets, possible?
- Index(es):