CodeBase - Emboss Text Function

Return to the CodeBase listing

Category: Text

Version: 1.0

1
0

Information

Uploaded: 14th Jun 2012 09:32

Modified: 14th Jun 2012 09:35

Author:  MjG0001

Summary

Emboss text 8 different ways with a single command.

Full Description

Embossing creates the illusion of shade and depth.<br /> <br /> Draws embossed text at the x,y coordinates specified,<br /> using the emboss color and color specified. Emboss direction<br /> can be specified using 0-8 (clockwise). 0-7 specifies a <br /> direction for emboss and 8 embosses from every direction.<br /> The amount (distance from emboss text to regular text)<br /> can also be specified.<br /> <br /> Algorithm:<br /> <br /> 1.) If d=0 then emboss the top<br /> 2.) If d=1 then emboss the top right<br /> 3.) If d=2 then emboss the right<br /> 4.) If d=3 then emboss the bottom right<br /> 5.) If d=4 then emboss the bottom<br /> 6.) If d=5 then emboss the bottom left<br /> 7.) If d=6 then emboss the left<br /> 8.) If d=7 then emboss the top left<br /> 9.) If d=8 then emboss all around the text

Comments

No comments yet.