From: Dirk B. <db...@us...> - 2005-12-26 09:28:32
|
Update of /cvsroot/win32forth/win32forth/doc/classes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26322/doc/classes Modified Files: Generic.htm Window.htm gdiBase.htm gdiPen.htm gdiStruct.htm Added Files: Control.htm Dialog.htm gdiBitmap.htm gdiBrush.htm gdiDC.htm gdiFont.htm gdiMetafile.htm gdiMetafileDC.htm gdiWindowDc.htm Log Message: More documentation added. --- NEW FILE: Dialog.htm --- <html> <head> <meta http-equiv="Content-Language" content="en-gb"> <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title> </title><style><!-- h1 { font-family: Tahoma; font-size: 24pt; font-weight: bold } h2 { font-family: Tahoma; font-size: 18pt; font-weight: bold } --> </style> </head> <body><h1 align="center"> <a href="mailto:win...@ya...?subject=DOC:Doc error in $Id: Dialog.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $"> <img border="0" src="../TELLUS.gif" align="left" width="32" height="32"></a> <img border="0" src="../FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> <hr /><h1>Dialog -- Class for dialog boxes. </h1><hr /><hr><p>Document $Id: Dialog.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $</p> </body></html> --- NEW FILE: gdiMetafile.htm --- <html> <head> <meta http-equiv="Content-Language" content="en-gb"> <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title> </title><style><!-- h1 { font-family: Tahoma; font-size: 24pt; font-weight: bold } h2 { font-family: Tahoma; font-size: 18pt; font-weight: bold } --> </style> </head> <body><h1 align="center"> <a href="mailto:win...@ya...?subject=DOC:Doc error in $Id: gdiMetafile.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $"> <img border="0" src="../TELLUS.gif" align="left" width="32" height="32"></a> <img border="0" src="../FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> <hr /><h1>gdiMetafile -- Metafile class </h1><hr /><h3><i>Version 1.0 </i></h3><p>This GDI class library was written and placed in the Public Domain in 2005 by Dirk Busch </p><pre><b><a name="0">:class gdiMetafile <super gdiObject </a></b></pre><p>Metafile class. This class only support's enhanced metafiles (emf) ! </p><pre><b><a name="0">;class </a></b></pre><p>End of gdiMetafile class </p><hr><p>Document $Id: gdiMetafile.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $</p> </body></html> --- NEW FILE: gdiWindowDc.htm --- <html> <head> <meta http-equiv="Content-Language" content="en-gb"> <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title> </title><style><!-- h1 { font-family: Tahoma; font-size: 24pt; font-weight: bold } h2 { font-family: Tahoma; font-size: 18pt; font-weight: bold } --> </style> </head> <body><h1 align="center"> <a href="mailto:win...@ya...?subject=DOC:Doc error in $Id: gdiWindowDc.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $"> <img border="0" src="../TELLUS.gif" align="left" width="32" height="32"></a> <img border="0" src="../FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> <hr /><h1>gdiWindowDc -- Window device context class </h1><hr /><h3><i>Version 1.0 </i></h3><p>This GDI class library was written and placed in the Public Domain in 2005 by Dirk Busch </p><pre><b><a name="0">:class gdiWindowDC <super gdiDC </a></b></pre><p>Window device context class </p><pre><b><a name="0">;class </a></b></pre><p>End of gdiWindowDC class </p><hr><p>Document $Id: gdiWindowDc.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $</p> </body></html> Index: gdiBase.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/gdiBase.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** gdiBase.htm 24 Dec 2005 11:59:25 -0000 1.2 --- gdiBase.htm 26 Dec 2005 09:28:23 -0000 1.3 *************** *** 16,44 **** <img border="0" src="../FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> ! <hr /><h1>GdiObject -- Base class for GDI objects </h1><hr /><h3><i>Version 1.0 </i></h3><p>This GDI class library was written and placed in the Public Domain in 2005 by Dirk Busch ! </p><p>GdiObject is the base class for all GDI objects. This class contains a single ivar, hObject, that is the (MS Windows) handle for the ! GDI object. <br /> ! There will be the following subclasses of GdiObject: ! </p><pre>gdiPen Class for cosmetic pen's ! gdiGeometricPen Class for geometric pen's ! gdiSolidBrush Solid brush class ! gdiHatchBrush Hatch brush class ! gdiPatternBrush Pattern brush class ! gdiDIBPatternBrush DIBPattern brush class ! GdiFont Class for windows fonts ! gdiBitmap Class for bitmaps ! gdiMetafile Class for enhanced metafiles ! gdiDC Base device context class ! gdiWindowDC Device context class for windows ! gdiMetafileDC Device context class for enhanced metafiles ! </pre><p>Since GdiObject is a generic class it should not be used to create ! any instances. <br /> </p><h2>Glossary ! </h2><pre><b><a name="0">:class GdiObject <super object ! </a></b></pre><p>GdiObject is the base class for all GDI Object classes. </p><pre><b><a name="0">:M ZeroHandle: ( -- ) </a></b></pre><p>Clear the handle of the object. <br /> --- 16,76 ---- <img border="0" src="../FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> ! <hr /><h1>gdiObject -- Base class for GDI objects </h1><hr /><h3><i>Version 1.0 </i></h3><p>This GDI class library was written and placed in the Public Domain in 2005 by Dirk Busch ! </p><p>gdiObject is the base class for all GDI objects. This class contains a single ivar, hObject, that is the (MS Windows) handle for the ! GDI object. Since GdiObject is a generic class it should not be used to create ! any instances. There will be the following subclasses of gdiObject: ! </p><ul> ! <li><a href="gdiPen.htm#gdiPen">gdiPen</a> Class for cosmetic pen's</li> ! <li><a href="gdiPen.htm#gdiGeometricPen">gdiGeometricPen</a> Class for geometric pen's</li> ! <li><a href="gdiBrush.htm#gdiSolidBrush">gdiSolidBrush</a> Solid brush class</li> ! <li><a href="gdiBrush.htm#gdiHatchBrush">gdiHatchBrush</a> Hatch brush class</li> ! <li><a href="gdiBrush.htm#gdiPatternBrush">gdiPatternBrush</a> Pattern brush class</li> ! <li><a href="gdiBrush.htm#gdiDIBPatternBrush">gdiDIBPatternBrush</a> DIBPattern brush class</li> ! <li><a href="gdiFont.htm">gdiFont</a> Class for windows fonts</li> ! <li><a href="gdiBitmap.htm">gdiBitmap</a> Class for bitmaps</li> ! <li><a href="gdiMetafile.htm">gdiMetafile</a> Class for enhanced metafiles</li> ! <li><a href="gdiDC.htm">gdiDC</a> Base device context class</li> ! <li><a href="gdiWindowDC.htm">gdiWindowDC</a> Device context class for windows</li> ! <li><a href="gdiMetafileDC.htm">gdiMetafileDC</a> Device context class for enhanced metafiles</li> ! </ul> ! <p>There are some other (old) classes in Win32Forth that are dealing with the GDI: ! </p><table border="1"><tr><td>ColorObject ! </td> ! <td>Class for color objects ! </td> ! </tr> ! <tr><td>ExtColorObject ! </td> ! <td>Class for extended color objects ! </td> ! </tr> ! <tr><td>HatchColorObject ! </td> ! <td>Class for hatch color objects ! </td> ! </tr> ! <tr><td>Font ! </td> ! <td>Class for fonts ! </td> ! </tr> ! <tr><td>WinDC ! </td> ! <td>Device context class for windows ! </td> ! </tr> ! <tr><td>WinPrinter ! </td> ! <td>Device context class for printing ! </td> ! </tr> ! </table><p>All old classes are rewritten to use the GDI class library. </p><h2>Glossary ! </h2><pre><b><a name="0">:class gdiObject <super object ! </a></b></pre><p>gdiObject is the base class for all GDI Object classes. </p><pre><b><a name="0">:M ZeroHandle: ( -- ) </a></b></pre><p>Clear the handle of the object. <br /> --- NEW FILE: gdiMetafileDC.htm --- <html> <head> <meta http-equiv="Content-Language" content="en-gb"> <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title> </title><style><!-- h1 { font-family: Tahoma; font-size: 24pt; font-weight: bold } h2 { font-family: Tahoma; font-size: 18pt; font-weight: bold } --> </style> </head> <body><h1 align="center"> <a href="mailto:win...@ya...?subject=DOC:Doc error in $Id: gdiMetafileDC.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $"> <img border="0" src="../TELLUS.gif" align="left" width="32" height="32"></a> <img border="0" src="../FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> <hr /><h1>gdiMetafileDC -- Metafile device context class </h1><hr /><h3><i>Version 1.0 </i></h3><p>This GDI class library was written and placed in the Public Domain in 2005 by Dirk Busch </p><pre><b><a name="0">:class gdiMetafileDC <super gdiDC </a></b></pre><p>Metafile device context class </p><pre><b><a name="0">;class </a></b></pre><p>End of gdiMetafileDC class </p><hr><p>Document $Id: gdiMetafileDC.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $</p> </body></html> --- NEW FILE: gdiDC.htm --- <html> <head> <meta http-equiv="Content-Language" content="en-gb"> <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title> </title><style><!-- h1 { font-family: Tahoma; font-size: 24pt; font-weight: bold } h2 { font-family: Tahoma; font-size: 18pt; font-weight: bold } --> </style> </head> <body><h1 align="center"> <a href="mailto:win...@ya...?subject=DOC:Doc error in $Id: gdiDC.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $"> <img border="0" src="../TELLUS.gif" align="left" width="32" height="32"></a> <img border="0" src="../FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> <hr /><h1>gdiDC -- Base device context class </h1><hr /><h3><i>Version 1.0 </i></h3><p>This GDI class library was written and placed in the Public Domain in 2005 by Dirk Busch </p><pre><b><a name="0">:class gdiDC <super gdiObject </a></b></pre><p>Base device context class </p><pre><b><a name="0">;class </a></b></pre><p>End of gdiDC class </p><hr><p>Document $Id: gdiDC.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $</p> </body></html> --- NEW FILE: gdiBrush.htm --- <html> <head> <meta http-equiv="Content-Language" content="en-gb"> <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title> </title><style><!-- h1 { font-family: Tahoma; font-size: 24pt; font-weight: bold } h2 { font-family: Tahoma; font-size: 18pt; font-weight: bold } --> </style> </head> <body><h1 align="center"> <a href="mailto:win...@ya...?subject=DOC:Doc error in $Id: gdiBrush.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $"> <img border="0" src="../TELLUS.gif" align="left" width="32" height="32"></a> <img border="0" src="../FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> <hr /><h1>GdiBrush -- Classes for GDI Brushes. </h1><hr /><h3><i>Version 1.0 </i></h3><p>This GDI class library was written and placed in the Public Domain in 2005 by Dirk Busch </p><h2>Glossary </h2><a name="gdiBrush"></a> <pre><b><a name="0">:class gdiBrush <super gdiObject </a></b></pre><p>Base class for all brush objects. <br /> This is an internal class of the GDI Class library. Don't use it yourself. </p><pre><b><a name="0">:M SetOrigin: { xOrg yOrg hdc -- } </a></b></pre><p>Set the brush origin that GDI assigns to the next brush an application selects into the specified device context. <br /> Note: hdc can be the address of a gdiDC class instance or a DC handle. <br /> A brush is a bitmap that the system uses to paint the interiors of filled shapes. <br /> The brush origin is a pair of coordinates specifying the location of one pixel in the bitmap. The default brush origin coordinates are (0,0). For horizontal coordinates, the value 0 corresponds to the leftmost column of pixels; the width corresponds to the rightmost column. For vertical coordinates, the value 0 corresponds to the uppermost row of pixels; the height corresponds to the lowermost row. <br /> The system automatically tracks the origin of all window-managed device contexts and adjusts their brushes as necessary to maintain an alignment of patterns on the surface. The brush origin that is set with this call is relative to the upper-left corner of the client area. <br /> An application should call SetOrigin: after setting the bitmap stretching mode to HALFTONE by using SetStretchBltMode. This must be done to avoid brush misalignment. <br /> Windows NT/ 2000: The system automatically tracks the origin of all window-managed device contexts and adjusts their brushes as necessary to maintain an alignment of patterns on the surface. <br /> Windows 95/98: Automatic tracking of the brush origin is not supported. Applications must use the UnrealizeObject, SetBrushOrgEx, and SelectObject functions to align the brush before using it. <br /> </p><pre><b><a name="0">:M GetOrigin: ( hdc -- xOrg yOrg ) </a></b></pre><p>Get the current brush origin for the specified device context. </p><pre><b><a name="0">:M Create: ( lplb -- f ) </a></b></pre><p>The Create function creates a logical brush that has the specified style, color, and pattern. lplb Pointer to a LOGBRUSH structure that contains information about the brush. </p><pre><b><a name="0">;class </a></b></pre><p>End of gdiBrush class </p><a name="gdiSolidBrush"></a> <pre><b><a name="0">:class gdiSolidBrush <super gdiBrush </a></b></pre><p>Solid brush class </p><pre><b><a name="0">:M SetRValue: ( r -- ) </a></b></pre><p>Set the red component of the brush color. </p><pre><b><a name="0">:M SetGValue: ( g -- ) </a></b></pre><p>Set the green component of the brush color. </p><pre><b><a name="0">:M SetBValue: ( b -- ) </a></b></pre><p>Set the blue component of the brush color. </p><pre><b><a name="0">:M SetRGB: ( r g b -- ) </a></b></pre><p>Set the red, green and blue component of the brush color. </p><pre><b><a name="0">:M SetColor: ( colorref -- ) </a></b></pre><p>Set color of the brush. </p><pre><b><a name="0">:M SetSysColor: ( n -- ) </a></b></pre><p>Set the color of the brush to a system color. </p><pre><b><a name="0">:M ChooseColor: ( hWnd -- f ) </a></b></pre><p>Open a dialog to choose the color of the brush. </p><pre><b><a name="0">:M GetRValue: ( -- r ) </a></b></pre><p>Get the red component of the brush color. </p><pre><b><a name="0">:M GetGValue: ( -- g ) </a></b></pre><p>Get the green component of the brush color. </p><pre><b><a name="0">:M GetBValue: ( -- b ) </a></b></pre><p>Get the blue component of the brush color. </p><pre><b><a name="0">:M GetColor: ( -- colorref ) </a></b></pre><p>Get the color of the brush as a windows COLORREF value. </p><pre><b><a name="0">:M Create: ( -- f ) </a></b></pre><p>Create the brush with the current color. </p><pre><b><a name="0">;class </a></b></pre><p>End of gdiSolidBrush class </p><a name="gdiHatchBrush"></a> <pre><b><a name="0">:class gdiHatchBrush <super gdiSolidBrush </a></b></pre><p>Hatch brush class </p><pre><b><a name="0">:M SetStyle: ( style -- ) </a></b></pre><p>Set the style of the brush. Possible values are: </p><table border="1"><tr><td>HS_BDIAGONAL </td> <td>45-degree downward left-to-right hatch </td> </tr> <tr><td>HS_CROSS </td> <td>Horizontal and vertical crosshatch </td> </tr> <tr><td>HS_DIAGCROSS </td> <td>45-degree crosshatch </td> </tr> <tr><td>HS_FDIAGONAL </td> <td>45-degree upward left-to-right hatch </td> </tr> <tr><td>HS_HORIZONTAL </td> <td>Horizontal hatch </td> </tr> <tr><td>HS_VERTICAL </td> <td>Vertical hatch </td> </tr> </table><pre><b><a name="0">:M GetStyle: ( -- style ) </a></b></pre><p>Get the style of the brush. Possible return values are: </p><table border="1"><tr><td>HS_BDIAGONAL </td> <td>45-degree downward left-to-right hatch </td> </tr> <tr><td>HS_CROSS </td> <td>Horizontal and vertical crosshatch </td> </tr> <tr><td>HS_DIAGCROSS </td> <td>45-degree crosshatch </td> </tr> <tr><td>HS_FDIAGONAL </td> <td>45-degree upward left-to-right hatch </td> </tr> <tr><td>HS_HORIZONTAL </td> <td>Horizontal hatch </td> </tr> <tr><td>HS_VERTICAL </td> <td>Vertical hatch </td> </tr> </table><pre><b><a name="0">:M Create: ( -- f ) </a></b></pre><p>Create the brush with the current style and color. </p><pre><b><a name="0">;class </a></b></pre><p>End of gdiHatchBrush class </p><a name="gdiPatternBrush"></a> <pre><b><a name="0">:class gdiPatternBrush <super gdiBrush </a></b></pre><p>Pattern brush class. <br /> </p><pre><b><a name="0">:M SetBitmap: ( Bitmap -- ) </a></b></pre><p>Set the Bitmap for the PatternBrush. The Bitmap can be a DIB section bitmap, which is created by the CreateDIBSection function. </p><pre><b><a name="0">:M GetBitmap: ( -- Bitmap ) </a></b></pre><p>Get the Bitmap for the PatternBrush. </p><pre><b><a name="0">:M Create: ( -- f ) </a></b></pre><p>Creates a logical brush with the specified bitmap pattern. </p><pre><b><a name="0">;class </a></b></pre><p>End of gdiPatternBrush class </p><a name="gdiHatchBrush"></a> <pre><b><a name="0">:class gdiDIBPatternBrush <super gdiBrush </a></b></pre><p>DIBPattern brush class </p><pre><b><a name="0">:M Create: ( lpPackedDIB iUsage -- f ) </a></b></pre><p>The Create function creates a logical brush that has the pattern specified by the device-independent bitmap (DIB). <br /> lpPackedDIB Pointer to a packed DIB consisting of a BITMAPINFO structure immediately followed by an array of bytes defining the pixels of the bitmap. <br /> Windows 95: Creating brushes from bitmaps or DIBs larger than 8 by 8 pixels is not supported. If a larger bitmap is specified, only a portion of the bitmap is used. <br /> Windows NT/ 2000 and Windows 98: Brushes can be created from bitmaps or DIBs larger than 8 by 8 pixels. <br /> iUsage Specifies whether the bmiColors member of the BITMAPINFO structure contains a valid color table and, if so, whether the entries in this color table contain explicit red, green, blue (RGB) values or palette indexes. The iUsage parameter must be one of the following values. </p><table border="1"><tr><td>DIB_PAL_COLORS </td> <td>A color table is provided and consists of an array of 16-bit indexes into the logical palette of the device context into which the brush is to be selected. </td> </tr> <tr><td>DIB_RGB_COLORS </td> <td>A color table is provided and contains literal RGB values. </td> </tr> </table><pre><b><a name="0">;class </a></b></pre><p>End of gdiDIBPatternBrush class </p><hr><p>Document $Id: gdiBrush.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $</p> </body></html> --- NEW FILE: gdiFont.htm --- <html> <head> <meta http-equiv="Content-Language" content="en-gb"> <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title> </title><style><!-- h1 { font-family: Tahoma; font-size: 24pt; font-weight: bold } h2 { font-family: Tahoma; font-size: 18pt; font-weight: bold } --> </style> </head> <body><h1 align="center"> <a href="mailto:win...@ya...?subject=DOC:Doc error in $Id: gdiFont.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $"> <img border="0" src="../TELLUS.gif" align="left" width="32" height="32"></a> <img border="0" src="../FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> <hr /><h1>gdiFont -- Class for GDI Fonts. </h1><hr /><h3><i>Version 1.0 </i></h3><p>This GDI class library was written and placed in the Public Domain in 2005 by Dirk Busch </p><h2>Glossary </h2><a name="gdiFont"></a> <pre><b><a name="0">:Class gdiFont <Super GdiObject </a></b></pre><p>GDI Font class </p><pre><b><a name="0">:M SetHeight: ( n1 -- ) </a></b></pre><p>Set the height, in logical units, of the font's character cell or character. The character height value (also known as the em height) is the character cell height value minus the internal-leading value. The font mapper interprets the value specified in lfHeight in the following manner. </p><table border="1"><tr><td>> 0 </td> <td>The font mapper transforms this value into device units and matches it against the cell height of the available fonts. </td> </tr> <tr><td>0 </td> <td>The font mapper uses a default height value when it searches for a match. </td> </tr> <tr><td>< 0 </td> <td>The font mapper transforms this value into device units and matches its absolute value against the character height of the available fonts. </td> </tr> </table><p>For all height comparisons, the font mapper looks for the largest font that does not exceed the requested size. This mapping occurs when the font is used for the first time. </p><pre><b><a name="0">:M SetWidth: ( n1 -- ) </a></b></pre><p>Specifies the average width, in logical units, of characters in the font. If lfWidth is zero, the aspect ratio of the device is matched against the digitization aspect ratio of the available fonts to find the closest match, determined by the absolute value of the difference. </p><pre><b><a name="0">:M SetEscapement: ( n1 -- ) </a></b></pre><p>Set the angle, in tenths of degrees, between the escapement vector and the x-axis of the device. The escapement vector is parallel to the base line of a row of text. <br /> Windows NT/ 2000: When the graphics mode is set to GM_ADVANCED, you can specify the escapement angle of the string independently of the orientation angle of the string's characters. <br /> When the graphics mode is set to GM_COMPATIBLE, lfEscapement specifies both the escapement and orientation. You should set lfEscapement and lfOrientation to the same value. <br /> Windows 95: The lfEscapement member specifies both the escapement and orientation. You should set lfEscapement and lfOrientation to the same value. </p><pre><b><a name="0">:M SetOrientation: ( n1 -- ) </a></b></pre><p>Set the angle, in tenths of degrees, between each character's base line and the x-axis of the device. </p><pre><b><a name="0">:M SetWeight: ( n1 -- ) </a></b></pre><p>Specifies the weight of the font in the range 0 through 1000. For example, 400 is normal and 700 is bold. If this value is zero, a default weight is used. The following values are defined for convenience. </p><table border="1"><tr><td>FW_DONTCARE </td> <td>0 </td> </tr> <tr><td>FW_THIN </td> <td>100 </td> </tr> <tr><td>FW_EXTRALIGHT </td> <td>200 </td> </tr> <tr><td>FW_ULTRALIGHT </td> <td>200 </td> </tr> <tr><td>FW_LIGHT </td> <td>300 </td> </tr> <tr><td>FW_NORMAL </td> <td>400 </td> </tr> <tr><td>FW_REGULAR </td> <td>400 </td> </tr> <tr><td>FW_MEDIUM </td> <td>500 </td> </tr> <tr><td>FW_SEMIBOLD </td> <td>600 </td> </tr> <tr><td>FW_DEMIBOLD </td> <td>600 </td> </tr> <tr><td>FW_BOLD </td> <td>700 </td> </tr> <tr><td>FW_EXTRABOLD </td> <td>800 </td> </tr> <tr><td>FW_ULTRABOLD </td> <td>800 </td> </tr> <tr><td>FW_HEAVY </td> <td>900 </td> </tr> <tr><td>FW_BLACK </td> <td>900 </td> </tr> </table><pre><b><a name="0">:M SetItalic: ( f1 -- ) </a></b></pre><p>Specifies an italic font if set to TRUE. </p><pre><b><a name="0">:M SetUnderline: ( f1 -- ) </a></b></pre><p>Specifies an underlined font if set to TRUE. </p><pre><b><a name="0">:M SetStrikeOut: ( f1 -- ) </a></b></pre><p>Specifies a strikeout font if set to TRUE. </p><pre><b><a name="0">:M SetCharSet: ( n1 -- ) </a></b></pre><p>Specifies the character set. The following values are predefined. </p><table border="1"><tr><td>ANSI_CHARSET </td> </tr> <tr><td>BALTIC_CHARSET </td> </tr> <tr><td>CHINESEBIG5_CHARSET </td> </tr> <tr><td>DEFAULT_CHARSET </td> </tr> <tr><td>EASTEUROPE_CHARSET </td> </tr> <tr><td>GB2312_CHARSET </td> </tr> <tr><td>GREEK_CHARSET </td> </tr> <tr><td>HANGUL_CHARSET </td> </tr> <tr><td>MAC_CHARSET </td> </tr> <tr><td>OEM_CHARSET </td> </tr> <tr><td>RUSSIAN_CHARSET </td> </tr> <tr><td>SHIFTJIS_CHARSET </td> </tr> <tr><td>SYMBOL_CHARSET </td> </tr> <tr><td>TURKISH_CHARSET </td> </tr> </table><p>Windows NT/ 2000 or Middle-Eastern Windows 3.1 or later: </p><table border="1"><tr><td>HEBREW_CHARSET </td> </tr> <tr><td>ARABIC_CHARSET </td> </tr> </table><p>Windows NT/ 2000 or Thai Windows 3.1 or later: </p><table border="1"><tr><td>THAI_CHARSET </td> </tr> </table><p>The OEM_CHARSET value specifies a character set that is operating-system dependent. Windows 95/98: You can use the DEFAULT_CHARSET value to allow the name and size of a font to fully describe the logical font. If the specified font name does not exist, a font from any character set can be substituted for the specified font, so you should use DEFAULT_CHARSET sparingly to avoid unexpected results. <br /> Windows NT/ 2000: DEFAULT_CHARSET is set to a value based on the current system locale. For example, when the system locale is English (United States), it is set as ANSI_CHARSET. <br /> Fonts with other character sets may exist in the operating system. If an application uses a font with an unknown character set, it should not attempt to translate or interpret strings that are rendered with that font. <br /> This parameter is important in the font mapping process. To ensure consistent results, specify a specific character set. If you specify a typeface name in the lfFaceName member, make sure that the lfCharSet value matches the character set of the typeface specified in lfFaceName. </p><pre><b><a name="0">:M SetOutPrecision: ( n1 -- ) </a></b></pre><p>Specifies the output precision. The output precision defines how closely the output must match the requested font's height, width, character orientation, escapement, pitch, and font type. It can be one of the following values. </p><table border="1"><tr><td>OUT_CHARACTER_PRECIS Not used </td> </tr> <tr><td>OUT_DEFAULT_PRECIS </td> <td>Specifies the default font mapper behavior. </td> </tr> <tr><td>OUT_DEVICE_PRECIS </td> <td>Instructs the font mapper to choose a Device font when the system contains multiple fonts with the same name. </td> </tr> <tr><td>OUT_OUTLINE_PRECIS </td> <td>Windows NT/ 2000: This value instructs the font mapper to choose from TrueType and other outline-based fonts. </td> </tr> <tr><td>OUT_RASTER_PRECIS </td> <td>Instructs the font mapper to choose a raster font when the system contains multiple fonts with the same name. </td> </tr> <tr><td>OUT_TT_ONLY_PRECIS </td> <td>Instructs the font mapper to choose from only TrueType fonts. If there are no TrueType fonts installed in the system, the font mapper returns to default behavior. </td> </tr> <tr><td>OUT_TT_PRECIS </td> <td>Instructs the font mapper to choose a TrueType font when the system contains multiple fonts with the same name. </td> </tr> </table><p>Applications can use the OUT_DEVICE_PRECIS, OUT_RASTER_PRECIS, and OUT_TT_PRECIS values to control how the font mapper chooses a font when the operating system contains more than one font with a specified name. For example, if an operating system contains a font named Symbol in raster and TrueType form, specifying OUT_TT_PRECIS forces the font mapper to choose the TrueType version. Specifying OUT_TT_ONLY_PRECIS forces the font mapper to choose a TrueType font, even if it must substitute a TrueType font of another name. </p><pre><b><a name="0">:M SetClipPrecision: ( n1 -- ) </a></b></pre><p>Specifies the clipping precision. The clipping precision defines how to clip characters that are partially outside the clipping region. It can be one or more of the following values. </p><table border="1"><tr><td>CLIP_DEFAULT_PRECIS Specifies default clipping behavior. </td> </tr> <tr><td>CLIP_CHARACTER_PRECIS Not used. </td> </tr> <tr><td>CLIP_EMBEDDED You must specify this flag to use an embedded read-only font. </td> </tr> <tr><td>CLIP_LH_ANGLES When this value is used, the rotation for all fonts depends on whether the orientation of the coordinate system is left-handed or right-handed. If not used, device fonts always rotate counterclockwise, but the rotation of other fonts is dependent on the orientation of the coordinate system. </td> </tr> </table><p>For more information about the orientation of coordinate systems, see the description of the nOrientation parameter | </p><pre><b><a name="0">:M SetQuality: ( n1 -- ) </a></b></pre><p>Specifies the output quality. The output quality defines how carefully the graphics device interface (GDI) must attempt to match the logical-font attributes to those of an actual physical font. It can be one of the following values. </p><table border="1"><tr><td>ANTIALIASED_QUALITY </td> <td>Font is always antialiased if the font supports it and the size of the font is not too small or too large. </td> </tr> <tr><td>DEFAULT_QUALITY </td> <td>Appearance of the font does not matter. </td> </tr> <tr><td>DRAFT_QUALITY </td> <td>Appearance of the font is less important than when PROOF_QUALITY is used. For GDI raster fonts, scaling is enabled, which means that more font sizes are available, but the quality may be lower. Bold, italic, underline, and strikeout fonts are synthesized if necessary. </td> </tr> <tr><td>NONANTIALIASED_QUALITY </td> <td>Font is never antialiased. </td> </tr> <tr><td>PROOF_QUALITY </td> <td>Character quality of the font is more important than exact matching of the logical-font attributes. For GDI raster fonts, scaling is disabled and the font closest in size is chosen. Although the chosen font size may not be mapped exactly when PROOF_QUALITY is used, the quality of the font is high and there is no distortion of appearance. Bold, italic, underline, and strikeout fonts are synthesized if necessary. </td> </tr> </table><p>If neither ANTIALIASED_QUALITY nor NONANTIALIASED_QUALITY is selected, the font is antialiased only if the user chooses smooth screen fonts in Control Panel. </p><pre><b><a name="0">:M SetPitchAndFamily: ( n1 -- ) </a></b></pre><p>Specifies the pitch and family of the font. The two low-order bits specify the pitch of the font and can be one of the following values. </p><table border="1"><tr><td>DEFAULT_PITCH </td> </tr> <tr><td>FIXED_PITCH </td> </tr> <tr><td>VARIABLE_PITCH </td> </tr> </table><p>Bits 4 through 7 of the member specify the font family and can be one of the following values. </p><table border="1"><tr><td>FF_DECORATIV </td> </tr> <tr><td>FF_DONTCAR </td> </tr> <tr><td>FF_MODER </td> </tr> <tr><td>FF_ROMA </td> </tr> <tr><td>FF_SCRIP </td> </tr> <tr><td>FF_SWIS </td> </tr> </table><p>The proper value can be obtained by using the Boolean OR operator to join one pitch constant with one family constant. </p><p>Font families describe the look of a font in a general way. They are intended for specifying fonts when the exact typeface desired is not available. The values for font families are as follows. </p><table border="1"><tr><td>FF_DECORATIVE </td> <td>Novelty fonts. Old English is an example. </td> </tr> <tr><td>FF_DONTCARE </td> <td>Don't care or don't know. </td> </tr> <tr><td>FF_MODERN </td> <td>Fonts with constant stroke width (monospace), with or without serifs. Monospace fonts are usually modern. Pica, Elite, and CourierNew® are examples. </td> </tr> <tr><td>FF_ROMAN </td> <td>Fonts with variable stroke width (proportional) and with serifs. MS® Serif is an example. </td> </tr> <tr><td>FF_SCRIPT </td> <td>Fonts designed to look like handwriting. Script and Cursive are examples. </td> </tr> <tr><td>FF_SWISS </td> <td>Fonts with variable stroke width (proportional) and without serifs. MS® Sans Serif is an example. </td> </tr> </table><pre><b><a name="0">:M SetFaceName: ( a1 n1 -- ) </a></b></pre><p>Specifies the typeface name of the font. The length of this string must not exceed 32 characters, including the null terminator. The EnumFontFamilies function can be used to enumerate the typeface names of all currently available fonts. If lfFaceName is an empty string, GDI uses the first font that matches the other specified attributes. </p><pre><b><a name="0">:M GetHeight: ( -- n1 ) </a></b></pre><p>Fet the height, in logical units, of the font's character cell or character </p><pre><b><a name="0">:M GetWidth: ( -- n1 ) </a></b></pre><p>Get the average width, in logical units, of characters in the font </p><pre><b><a name="0">:M GetEscapement: ( -- n1 ) </a></b></pre><p>Get the angle, in tenths of degrees, between the escapement vector and the x-axis of the device. The escapement vector is parallel to the base line of a row of text. </p><pre><b><a name="0">:M GetOrientation: ( -- n1 ) </a></b></pre><p>Get the angle, in tenths of degrees, between each character's base line and the x-axis of the device. </p><pre><b><a name="0">:M GetWeight: ( -- n1 ) </a></b></pre><p>Get the weight of the font </p><pre><b><a name="0">:M GetItalic: ( -- f1 ) </a></b></pre><p>TRUE if it's an italic font. </p><pre><b><a name="0">:M GetUnderline: ( -- f1 ) </a></b></pre><p>TRUE if it's a underlined font. </p><pre><b><a name="0">:M GetStrikeOut: ( -- f1 ) </a></b></pre><p>TRUE if it's a strikeout font. </p><pre><b><a name="0">:M GetCharSet: ( -- n1 ) </a></b></pre><p>Get the character set. </p><pre><b><a name="0">:M GetOutPrecision: ( -- n1 ) </a></b></pre><p>Get the output precision. </p><pre><b><a name="0">:M GetClipPrecision: ( -- n1 ) </a></b></pre><p>Get the clipping precision </p><pre><b><a name="0">:M GetQuality: ( -- n1 ) </a></b></pre><p>Get the output quality. </p><pre><b><a name="0">:M GetPitchAndFamily: ( -- n1 ) </a></b></pre><p>Get the pitch and family of the font. </p><pre><b><a name="0">:M GetFaceName: ( -- a1 n1 ) </a></b></pre><p>Get the typeface name of the font. </p><pre><b><a name="0">:M GetLogfont: ( -- n1 ) </a></b></pre><p>Get the address of the LOGFONT structure </p><pre><b><a name="0">:M Create: ( -- f ) </a></b></pre><p>Create a new font. If the current font handle is valid, the font will be destroyed. </p><pre><b><a name="0">:M Choose: ( hWnd -- f ) </a></b></pre><p>Open a dialog to choose a Screen font. If the dialog is closed with OK, the font will be created. </p><pre><b><a name="0">:M ChoosePrinter: ( hWnd hDC -- f ) </a></b></pre><p>Open a dialog to choose a Printer font for the PrinterDC hDC. If the dialog is closed with OK, the fontwill be created. </p><pre><b><a name="0">;Class </a></b></pre><p>End of gdiFont class </p><hr><p>Document $Id: gdiFont.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $</p> </body></html> --- NEW FILE: Control.htm --- <html> <head> <meta http-equiv="Content-Language" content="en-gb"> <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title> </title><style><!-- h1 { font-family: Tahoma; font-size: 24pt; font-weight: bold } h2 { font-family: Tahoma; font-size: 18pt; font-weight: bold } --> </style> </head> <body><h1 align="center"> <a href="mailto:win...@ya...?subject=DOC:Doc error in $Id: Control.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $"> <img border="0" src="../TELLUS.gif" align="left" width="32" height="32"></a> <img border="0" src="../FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> <hr /><h1>Control -- Class for child controls with subclassing. </h1><hr /><hr><p>Document $Id: Control.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $</p> </body></html> --- NEW FILE: gdiBitmap.htm --- <html> <head> <meta http-equiv="Content-Language" content="en-gb"> <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title> </title><style><!-- h1 { font-family: Tahoma; font-size: 24pt; font-weight: bold } h2 { font-family: Tahoma; font-size: 18pt; font-weight: bold } --> </style> </head> <body><h1 align="center"> <a href="mailto:win...@ya...?subject=DOC:Doc error in $Id: gdiBitmap.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $"> <img border="0" src="../TELLUS.gif" align="left" width="32" height="32"></a> <img border="0" src="../FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> <hr /><h1>gdiBitmap -- GDI Bitmap class. </h1><hr /><h3><i>Version 1.0 </i></h3><p>This GDI class library was written and placed in the Public Domain in 2005 by Dirk Busch </p><h2>Glossary </h2><a name="gdiBitmap"></a> <pre><b><a name="0">:class gdiBitmap <super gdiObject </a></b></pre><p>Bitmap class </p><pre><b><a name="0">:M CreateBitmap: ( Width Height Planes BitsPerPel pBits -- f ) </a></b></pre><p>The CreateBitmap function creates a bitmap with the specified width, height, and color format (color planes and bits-per-pixel). <br /> <br /> Width Specifies the bitmap width, in pixels. <br /> Height Specifies the bitmap height, in pixels. <br /> Planes Specifies the number of color planes used by the device. <br /> BitsPerPel Specifies the number of bits required to identify the color of a single pixel. <br /> pBits Pointer to an array of color data used to set the colors in a rectangle of pixels. Each scan line in the rectangle must be word aligned (scan lines that are not word aligned must be padded with zeros). If this parameter is NULL, the contents of the new bitmap is undefined. <br /> <br /> After a bitmap is created, it can be selected into a device context by calling the SelectObject function. The CreateBitmap function can be used to create color bitmaps. However, for performance reasons applications should use CreateBitmap to create monochrome bitmaps and CreateCompatibleBitmap to create color bitmaps. When a color bitmap returned from CreateBitmap is selected into a device context, the system must ensure that the bitmap matches the format of the device context it is being selected into. Since CreateCompatibleBitmap takes a device context, it returns a bitmap that has the same format as the specified device context. Because of this, subsequent calls to SelectObject are faster than with a color bitmap returned from CreateBitmap. <br /> <br /> If the bitmap is monochrome, zeros represent the foreground color and ones represent the background color for the destination device context. <br /> <br /> If an application sets the nWidth or nHeight parameters to zero, CreateBitmap returns the handle to a 1-by-1 pixel, monochrome bitmap. <br /> <br /> When you no longer need the bitmap, call the Destroy: method to delete it. <br /> <br /> Windows 95/98: The created bitmap cannot exceed 16MB in size </p><pre><b><a name="0">:M CreateBitmapIndirect: ( pBitmap -- f ) </a></b></pre><p>The CreateBitmapIndirect function creates a bitmap with the specified width, height, and color format (color planes and bits-per-pixel). pBitmap Pointer to a BITMAP structure that contains information about the bitmap. If an application sets the bmWidth or bmHeight members to zero, CreateBitmapIndirect returns the handle to a 1-by-1 pixel, monochrome bitmap. </p><pre><b><a name="0">:M CreateCompatibleBitmap: ( Width Height hDC -- f ) </a></b></pre><p>The CreateCompatibleBitmap function creates a bitmap compatible with the device that is associated with the specified device context. <br /> <br /> The color format of the bitmap created by the CreateCompatibleBitmap function matches the color format of the device identified by the hdc parameter. This bitmap can be selected into any memory device context that is compatible with the original device. <br /> <br /> Because memory device contexts allow both color and monochrome bitmaps, the format of the bitmap returned by the CreateCompatibleBitmap function differs when the specified device context is a memory device context. However, a compatible bitmap that was created for a nonmemory device context always possesses the same color format and uses the same color palette as the specified device context. <br /> <br /> Note: When a memory device context is created, it initially has a 1-by-1 monochrome bitmap selected into it. If this memory device context is used in CreateCompatibleBitmap, the bitmap that is created is a monochrome bitmap. To create a color bitmap, use the hDC that was used to create the memory device context, as shown in the following code: <br /> <br /> HDC memDC = CreateCompatibleDC ( hDC ); <br /> HBITMAP memBM = CreateCompatibleBitmap ( hDC ); <br /> SelectObject ( memDC, memBM ); <br /> <br /> If an application sets the nWidth or nHeight parameters to zero, CreateCompatibleBitmap returns the handle to a 1-by-1 pixel, monochrome bitmap. <br /> <br /> If a DIB section, which is a bitmap created by the CreateDIBSection function, is selected into the device context identified by the hdc parameter, CreateCompatibleBitmap creates a DIB section. <br /> <br /> When you no longer need the bitmap, call the DeleteObject function to delete it. <br /> <br /> Windows 95/98: The created bitmap cannot exceed 16MB in size. </p><pre><b><a name="0">:M CreateDIBitmap: ( pbmih fdwInit pbInit pbmi fuUsage hdc -- f ) </a></b></pre><p>The CreateDIBitmap function creates a device-dependent bitmap (DDB) from a DIB and, optionally, sets the bitmap bits. <br /> lpbmih Pointer to a bitmap information header structure, which may be one of those shown in the following table. </p><table border="1"><tr><td>Operating system </td> <td>Bitmap information heade </td> </tr> <tr><td>Windows NT 3.51 and earlier </td> <td>BITMAPINFOHEADER </td> </tr> <tr><td>Windows NT 4.0 and Windows 95 </td> <td>BITMAPV4HEADER (NOT SUPPORTED !!!) </td> </tr> <tr><td>Windows 2000 and Windows 98 </td> <td>BITMAPV5HEADER (NOT SUPPORTED !!!) </td> </tr> </table><p>If fdwInit is CBM_INIT, the function uses the bitmap information header structure to obtain the desired width and height of the bitmap as well as other information. Note that a positive value for the height indicates a bottom-up DIB while a negative value for the height indicates a top-down DIB. Calling CreateDIBitmap with fdwInit as CBM_INIT is equivalent to calling the CreateCompatibleBitmap function to create a DDB in the format of the device and then calling the SetDIBits function to translate the DIB bits to the DDB. <br /> fdwInit Specifies how the system initializes the bitmap bits. The following values is defined. Value Meaning CBM_INIT If this flag is set, the system uses the data pointed to by the lpbInit and lpbmi parameters to initialize the bitmap's bits. If this flag is clear, the data pointed to by those parameters is not used. <br /> If fdwInit is zero, the system does not initialize the bitmap's bits. <br /> lpbInit Pointer to an array of bytes containing the initial bitmap data. The format of the data depends on the biBitCount member of the BITMAPINFO structure to which the lpbmi parameter points. <br /> lpbmi Pointer to a BITMAPINFO structure that describes the dimensions and color format of the array pointed to by the lpbInit parameter. <br /> fuUsage Specifies whether the bmiColors member of the BITMAPINFO structure was initialized and, if so, whether bmiColors contains explicit red, green, blue (RGB) values or palette indexes. The fuUsage parameter must be one of the following values. </p><table border="1"><tr><td>DIB_PAL_COLORS </td> <td>A color table is provided and consists of an array of 16-bit indexes into the logical palette of the device context into which the bitmap is to be selected. </td> </tr> <tr><td>DIB_RGB_COLORS </td> <td>A color table is provided and contains literal RGB values. </td> </tr> </table><pre><b><a name="0">:M CreateDIBSection: ( pbmi iUsage ppvBits hSection dwOffset hdc -- f ) </a></b></pre><p>The CreateDIBSection function creates a DIB that applications can write to directly. The function gives you a pointer to the location of the bitmap's bit values. You can supply a handle to a file-mapping object that the function will use to create the bitmap, or you can let the system allocate the memory for the bitmap. <br /> hdc Handle to a device context. If the value of iUsage is DIB_PAL_COLORS, the function uses this device context's logical palette to initialize the DIB's colors. <br /> pbmi Pointer to a BITMAPINFO structure that specifies various attributes of the DIB, including the bitmap's dimensions and colors. <br /> iUsage Specifies the type of data contained in the bmiColors array member of the BITMAPINFO structure pointed to by pbmi (either logical palette indexes or literal RGB values). The following values are defined. </p><table border="1"><tr><td>DIB_PAL_COLORS </td> <td>The bmiColors member is an array of 16-bit indexes into the logical palette of the device context specified by hdc. </td> </tr> <tr><td>DIB_RGB_COLORS </td> <td>The BITMAPINFO structure contains an array of literal RGB values. </td> </tr> </table><p>ppvBits Pointer to a variable that receives a pointer to the location of the DIB's bit values. <br /> hSection Handle to a file-mapping object that the function will use to create the DIB. This parameter can be NULL. If hSection is not NULL, it must be a handle to a file-mapping object created by calling the CreateFileMapping function with the PAGE_READWRITE or PAGE_WRITECOPY flag. Read-only DIB sections are not supported. Handles created by other means will cause CreateDIBSection to fail. If hSection is not NULL, the CreateDIBSection function locates the bitmap's bit values at offset dwOffset in the file-mapping object referred to by hSection. An application can later retrieve the hSection handle by calling the GetObject function with the HBITMAP returned by CreateDIBSection. If hSection is NULL, the system allocates memory for the DIB. In this case, the CreateDIBSection function ignores the dwOffset parameter. An application cannot later obtain a handle to this memory. The dshSection member of the DIBSECTION structure filled in by calling the GetObject function will be NULL. <br /> dwOffset Specifies the offset from the beginning of the file-mapping object referenced by hSection where storage for the bitmap's bit values is to begin. This value is ignored if hSection is NULL. The bitmap's bit values are aligned on doubleword boundaries, so dwOffset must be a multiple of the size of a DWORD. </p><pre><b><a name="0">:M SetBitmapDimension: ( width height -- oldwidth oldheight ) </a></b></pre><p>The SetBitmapDimension function assigns preferred dimensions to a bitmap. These dimensions can be used by applications; however, they are not used by the system. <br /> Width Specifies the width, in 0.1-millimeter units, of the bitmap. <br /> Height Specifies the height, in 0.1-millimeter units, of the bitmap. <br /> An application can retrieve the dimensions assigned to a bitmap with the SetBitmapDimensionEx function by calling the GetBitmapDimension function. <br /> The bitmap identified by hBitmap cannot be a DIB section, which is a bitmap created by the CreateDIBSection function. If the bitmap is a DIB section, the SetBitmapDimension function fails. </p><pre><b><a name="0">:M GetBitmapDimension: ( -- width height ) </a></b></pre><p>The GetBitmapDimension function retrieves the dimensions of a bitmap. The retrieved dimensions must have been set by the SetBitmapDimension function. The function returns the height and width of the bitmap, in .01-mm units. </p><pre><b><a name="0">:M SetDIBits ;M </a></b></pre><p>not implemented, yet. </p><pre><b><a name="0">:M GetDIBits ;M </a></b></pre><p>not implemented, yet. </p><pre><b><a name="0">:M LoadBitmap ;M </a></b></pre><p>not implemented, yet. </p><pre><b><a name="0">:M MaskBlt ;M </a></b></pre><p>not implemented, yet. </p><pre><b><a name="0">:M PlgBlt ;M </a></b></pre><p>not implemented, yet. </p><pre><b><a name="0">;class </a></b></pre><p>End of Bitmap class </p><hr><p>Document $Id: gdiBitmap.htm,v 1.1 2005/12/26 09:28:23 dbu_de Exp $</p> </body></html> Index: Generic.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/Generic.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Generic.htm 24 Dec 2005 11:59:25 -0000 1.2 --- Generic.htm 26 Dec 2005 09:28:23 -0000 1.3 *************** *** 20,32 **** contains a single ivar, hWnd, that is the (MS Windows) handle for the window. This class encapsulates all the Win32 API calls that specify a ! window handle. There will be 3 subclasses of Generic-Window: ! </p><pre> Window Adds a device context and the ablility ! to display text and graphics output. ! ! Control Adds support for the standard Win32 controls ! with subclassing. ! ! Dialog Support for dialog boxes ! </pre><p>Since Generic-Window is a generic class it should not be used to create any instances. <br /> The Global Rectangle objects wRect and WndRect ( originally --- 20,30 ---- contains a single ivar, hWnd, that is the (MS Windows) handle for the window. This class encapsulates all the Win32 API calls that specify a ! window handle. There will be the following subclasses of Generic-Window: ! </p><ul> ! <li><a href="Window.htm">Window</a> Adds a device context and the ablility to display text and graphics output.</li> ! <li><a href="Dialog.htm">Dialog</a> Support for dialog boxes</li> ! <li><a href="Control.htm">Control</a> Adds support for the standard Win32 controls with subclassing.</li> ! </ul> ! <p>Since Generic-Window is a generic class it should not be used to create any instances. <br /> The Global Rectangle objects wRect and WndRect ( originally *************** *** 501,505 **** <tr><td>bErase </td> ! <td>Specifies whether the background within the update region is to be erased when the update region is processed. If this parameter is TRUE, the background is erased when the BeginPaint function is called. If this parameter is FALSE, the background remains unchanged. </td> </tr> --- 499,503 ---- <tr><td>bErase </td> ! <td>Specifies whether the background within the update region is to be erased when the update region is processed. If this parameter is TRUE, the background is erased when the BeginPaint function is called. </td> </tr> |