Draw FORMATTED Text to any window with a hDc
Allows you to draw Formatted (diffrent fonts, sizes, colours) text to anything with a valad hDc - only tested against Screen Objects - Converts Font Object to LOGFONT struct
IMPUTS: StdFontEx, Rect - Bottom Top Left Right, hDc, Text, Text Allignment Flags.
Either provided as Paramaters of the .Draw procedure or as Properties of the cTextEx Object
RETURNS: no Returns
SIDE EFFECTS: no Knowen Side Effects
Misc: you MUST pass a StdFontEx object as either a Paremter or a Property of the cTextEx object. cStdFontEx mirrors functonalaty provided by the StdFont object. i only added a Colour Property (it makes sence to do this) future revisions of this class will encorperate diffrent brush styles thus the reasoning for mirroring the vb font object
Original Author: Steven H
Inputs
StdFontEx, Rect - Bottom Top Left Right, hDc, Text, Text Allignment Flags.
Either provided as Paramaters of the .Draw procedure or as Properties of the cTextEx Object
Assumptions
you MUST pass a StdFontEx object as either a Paremter or a Property of the cTextEx object. cStdFontEx mirrors functonalaty provided by the StdFont object. i only added a Colour Property (it makes sence to do this) future revisions of this class will encorperate diffrent brush styles thus the reasoning for mirroring the vb font object
Returns
no Returns
Side Effects
no Knowen Side Effects
About this post
Posted: 2002-06-01
By: ArchiveBot
Viewed: 73 times
Categories
Attachments
Draw_FORMA404301292001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 8,984 bytes
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.