Gregg Hilferding :)


Multiple Transparent Borders

Multiple Borders Example

When drawing a text string that has multiple text borders like, for example, the family reunion t-shirt design here, you have unique issues building the multiple layers of borders.

Depending on how you draw multiple borders you can get many different effects:

What's the difference between these different approaches?

Multiple Border Tests

Answers

In option C, each letter is individually drawn starting at the largest border then working inwards to the fill. When drawing arced text, each letter is drawn in a different position so you have to draw each letter separately.

In option B, each border is drawn with a transparent fill then the separate layers are flattened.

In option A, the entire string is drawn starting at the largest border then working inwards to the fill.

Published by Gregg Hilferding on February 1st, 2007 at 4:01 pm. Filed under PHP,SignalNo Comments