#include-once #Tidy_Off Const $DRIVERVERSION = 0 ; The device driver version. Const $TECHNOLOGY = 2 ; Device technology. It can be any one of the following values. Const $DT_PLOTTER = 0 ; Vector plotter Const $DT_RASDISPLAY = 1 ; Raster display Const $DT_RASPRINTER = 2 ; Raster printer Const $DT_RASCAMERA = 3 ; Raster camera Const $DT_CHARSTREAM = 4 ; Character stream Const $DT_METAFILE = 5 ; Metafile Const $DT_DISPFILE = 6 ; Display file ; If the hdc parameter is a handle to the DC of an enhanced metafile, the device technology is that of the referenced device as specified to the CreateEnhMetaFile function. To determine whether it is an enhanced metafile DC, use the GetObjectType function. Const $HORZSIZE = 0X0004 ; 4 ; Width, in millimeters, of the physical screen. Const $VERTSIZE = 0X0006 ; 6 ; Height, in millimeters, of the physical screen. Const $HORZRES = 0X0008 ; 8 ; Width, in pixels, of the screen ; or for printers, the width, in pixels, of the printable area of the page. Const $VERTRES = 0X000A ; 10 ; Height, in raster lines, of the screen ; or for printers, the height, in pixels, of the printable area of the page. Const $BITSPIXEL = 0X000C ; 12 ; Number of adjacent color bits for each pixel. Const $PLANES = 0X000E ; 14 ; Number of color planes. Const $NUMBRUSHES = 0X0010 ; 16 ; Number of device-specific brushes. Const $NUMPENS = 0X0012 ; 18 ; Number of device-specific pens. Const $NUMMARKERS = 0X0014 ; 20 ; Number of markers the device has Const $NUMFONTS = 0X0016 ; 22 ; Number of device-specific fonts. Const $NUMCOLORS = 0X0018 ; 24 ; Number of entries in the device's color table, if the device has a color depth of no more than 8 bits per pixel. For devices with greater color depths, 1 is returned. Const $PDEVICESIZE = 0X001A ; 26 ; Reserved. Const $CURVECAPS = 0x01C ; 28 ; Value that indicates the curve capabilities of the device, as shown in the following table. Const $CC_NONE = 0x000000 ; 0 ; Device does not support curves. Const $CC_CIRCLES = 0x000001 ; 1 ; Device can draw circles. Const $CC_PIE = 0x000002 ; 2 ; Device can draw pie wedges. Const $CC_CHORD = 0x000004 ; 4 ; Device can draw chord arcs. Const $CC_ELLIPSES = 0x000008 ; 8 ; Device can draw ellipses. Const $CC_WIDE = 0x000010 ; 16 ; Device can draw wide borders. Const $CC_STYLED = 0x000020 ; 32 ; Device can draw styled borders. Const $CC_WIDESTYLED = 0x000040 ; 64 ; Device can draw borders that are wide and styled.; Const $CC_INTERIORS = 0x000080 ; 128 ; Device can draw interiors. Const $CC_ROUNDRECT = 0x000100 ; 256 ; Device can draw rounded rectangles. Const $LINECAPS = 0x001E ; 30 ; Value that indicates the line capabilities of the device, as shown in the following table: Const $LC_NONE = 0x000001 ; 0 ; Device does not support lines. Const $LC_POLYLINE = 0x000002 ; 2 ; Device can draw a polyline. Const $LC_MARKER = 0x000004 ; 4 ; Device can draw a marker. Const $LC_POLYMARKER = 0x000008 ; 8 ; Device can draw multiple markers. Const $LC_WIDE = 0x000010 ; 16 ; Device can draw wide lines. Const $LC_STYLED = 0x000020 ; 32 ; Device can draw styled lines. Const $LC_WIDESTYLED = 0x000040 ; 64 ; Device can draw lines that are wide and styled.; Const $LC_INTERIORS = 0x000080 ; 128 ; Device can draw interiors. Const $POLYGONALCAPS = 0x0020 ; 32 ; Value that indicates the polygon capabilities of the device, as shown in the following table. Const $PC_NONE = 0x000000 ; 0 ; Device does not support polygons. Const $PC_POLYGON = 0x000001 ; 1 ; Device can draw alternate-fill polygons. Const $PC_RECTANGLE = 0x000002 ; 2 ; Device can draw rectangles. Const $PC_TRAPEZOID = 0x000004 ; 4 ; Device can do trapezoids Const $PC_WINDPOLYGON = 0x000004 ; 4 ; Device can draw winding-fill polygons.; Const $PC_SCANLINE = 0x000008 ; 8 ; Device can draw a single scanline. Const $PC_WIDE = 0x000010 ; 16 ; Device can draw wide borders. Const $PC_STYLED = 0x000020 ; 32 ; Device can draw styled borders. Const $PC_WIDESTYLED = 0x000040 ; 64 ; Device can draw borders that are wide and styled. Const $PC_INTERIORS = 0x000080 ; 128 ; Device can draw interiors. Const $PC_PC_POLYGON = 0x000100 ; 256 ; Supports alternate fill polygons Const $PC_PATHS = 0x000200 ; 512 ; Device can do paths Const $TEXTCAPS = 0x0022 ; 34 ; Value that indicates the text capabilities of the device, as shown in the following table. Const $TC_OP_CHARACTER = 0x000001 ; 1 ; Device is capable of character output precision. Const $TC_OP_STROKE = 0x000002 ; 2 ; Device is capable of stroke output precision. Const $TC_CP_STROKE = 0x000004 ; 4 ; Device is capable of stroke clip precision. Const $TC_CR_90 = 0x000008 ; 8 ; Device is capable of 90-degree character rotation. Const $TC_CR_ANY = 0x000010 ; 16 ; Device is capable of any character rotation. Const $TC_SF_X_YINDEP = 0x000020 ; 32 ; Device can scale independently in the x- and y-directions. Const $TC_SA_DOUBLE = 0x000040 ; 64 ; Device is capable of doubled character for scaling. Const $TC_SA_INTEGER = 0x000080 ; 128 ; Device uses integer multiples only for character scaling. Const $TC_SA_CONTIN = 0x000100 ; 256 ; Device uses any multiples for exact character scaling. Const $TC_EA_DOUBLE = 0x000200 ; 512 ; Device can draw double-weight characters. Const $TC_IA_ABLE = 0x000400 ; 1024 ; Device can italicize. Const $TC_UA_ABLE = 0x000800 ; 2048 ; Device can underline. Const $TC_SO_ABLE = 0x001000 ; 4096 ; Device can draw strikeouts. Const $TC_RA_ABLE = 0x002000 ; 8192 ; Device can draw raster fonts. Const $TC_VA_ABLE = 0x004000 ; 16384 ; Device can draw vector fonts. Const $TC_RESERVED = 0x008000 ; 32768 ; Reserved ; must be zero. Const $TC_SCROLLBLT = 0x010000 ; 65536 ; Device cannot scroll using a bit-block transfer. Note that this meaning may be the opposite of what you expect.;; Const $CLIPCAPS = 0X0024 ; 36 ; Clipping capabilities Const $CP_NONE = 0 ; Output is not clipped Const $CP_RECTANGLE = 1 ; Output is clipped to rectangles Const $CP_REGION = 2 ; Output is clipped to regions. Const $RASTERCAPS = 0x0026 ; 38 ; Value that indicates the raster capabilities of the device, as shown in the following table. Const $RC_NONE = 0x000000 ; 0 ; Const $RC_BITBLT = 0x000001 ; 1 ; Capable of transferring bitmaps. Const $RC_BANDING = 0x000002 ; 2 ; Requires banding support. Const $RC_SCALING = 0x000004 ; 4 ; Capable of scaling. Const $RC_BITMAP64 = 0x000008 ; 8 ; Capable of supporting bitmaps larger than 64 KB. Const $RC_GDI20_OUTPUT = 0x000010 ; 16 ; Supports Windows version 2.0 features. Const $RC_GDI20_STATE = 0x000020 ; 32 ; Includes a state block in the device context. Const $RC_SAVEBITMAP = 0x000040 ; 64 ; Saves bitmaps locally Const $RC_DI_BITMAP = 0x000080 ; 128 ; Capable of supporting the SetDIBits and GetDIBits functions. Const $RC_PALETTE = 0x000100 ; 256 ; Specifies a palette-based device. Const $RC_DIBTODEV = 0x000200 ; 512 ; Capable of supporting the SetDIBitsToDevice function. Const $RC_BIGFONT = 0x000400 ; 1024 ; Supports >64K fonts Const $RC_STRETCHBLT = 0x000800 ; 2048 ; Capable of performing the StretchBlt function. Const $RC_FLOODFILL = 0x001000 ; 4096 ; Capable of performing flood fills. Const $RC_STRETCHDIB = 0x002000 ; 8192 ; Capable of performing the StretchDIBits function. ; Const $RC_OP_DX_OUTPUT = 0x004000 ; 16384 ; Supports dev opaque and DX array Const $RC_DEVBITS = 0x008000 ; 32768 ; Supports device bitmaps. Const $ASPECTX = 0X0028 ; 40 ; Relative width of a device pixel used for line drawing. Const $ASPECTY = 0X002A ; 42 ; Relative height of a device pixel used for line drawing. Const $ASPECTXY = 0X002C ; 44 ; Diagonal width of the device pixel used for line drawing. Const $SHADEBLENDCAPS = 0x002D ; 45 ; Value that indicates the shading and blending capabilities of the device. See Remarks for further comments. Const $SB_NONE = 0x000000 ; 0 ; Device does not support any of these capabilities. Const $SB_CONST_ALPHA = 0x000001 ; 1 ; Handles the SourceConstantAlpha member of the BLENDFUNCTION structure, which is referenced by the blendFunction parameter of the AlphaBlend function. Const $SB_PIXEL_ALPHA = 0x000002 ; 2 ; Capable of handling per-pixel alpha in AlphaBlend. Const $SB_PREMULT_ALPHA = 0x000004 ; 4 ; Capable of handling premultiplied alpha in AlphaBlend. ; Const $SB_GRAD_RECT = 0x000010 ; 8 ; Capable of doing GradientFill rectangles. Const $SB_GRAD_TRI = 0x000020 ; 16 ; Capable of doing GradientFill triangles. ;~ This is defined in FontConstants.au3 ;~ Const $LOGPIXELSX = 0X0058 ; 88 ; Number of pixels per logical inch along the screen width. In a system with multiple display monitors, this value is the same for all monitors. ;~ This is defined in FontConstants.au3 ;~ Const $LOGPIXELSY = 0X005A ; 90 ; Number of pixels per logical inch along the screen height. In a system with multiple display monitors, this value is the same for all monitors. Const $SIZEPALETTE = 0X0068 ; 104 ; Number of entries in the system palette. This index is valid only if the device driver sets the RC_PALETTE bit in the RASTERCAPS index and is available only if the driver is compatible with 16-bit Windows. Const $NUMRESERVED = 0X006A ; 106 ; Number of reserved entries in the system palette. This index is valid only if the device driver sets the RC_PALETTE bit in the RASTERCAPS index and is available only if the driver is compatible with 16-bit Windows. Const $COLORRES = 0X006C ; 108 ; Actual color resolution of the device, in bits per pixel. This index is valid only if the device driver sets the RC_PALETTE bit in the RASTERCAPS index and is available only if the driver is compatible with 16-bit Windows. Const $PHYSICALWIDTH = 0x006E ; 110 ; For printing devices: the width of the physical page, in device units. For example, a printer set to print at 600 dpi on 8.5-x11-inch paper has a physical width value of 5100 device units. Note that the physical page is almost always greater than the printable area of the page, and never smaller. Const $PHYSICALHEIGHT = 0x006F ; 111 ; For printing devices: the height of the physical page, in device units. For example, a printer set to print at 600 dpi on 8.5-by-11-inch paper has a physical height value of 6600 device units. Note that the physical page is almost always greater than the printable area of the page, and never smaller. Const $PHYSICALOFFSETX = 0x0070 ; 112 ; For printing devices: the distance from the left edge of the physical page to the left edge of the printable area, in device units. For example, a printer set to print at 600 dpi on 8.5-by-11-inch paper, that cannot print on the leftmost 0.25-inch of paper, has a horizontal physical offset of 150 device units. Const $PHYSICALOFFSETY = 0x0071 ; 113 ; For printing devices: the distance from the top edge of the physical page to the top edge of the printable area, in device units. For example, a printer set to print at 600 dpi on 8.5-by-11-inch paper, that cannot print on the topmost 0.5-inch of paper, has a vertical physical offset of 300 device units. Const $SCALINGFACTORX = 0x0072 ; 114 ; Scaling factor for the x-axis of the printer. Const $SCALINGFACTORY = 0x0073 ; 115 ; Scaling factor for the y-axis of the printer. Const $VREFRESH = 0x0074 ; 116 ; For display devices: the current vertical refresh rate of the device, in cycles per second (Hz). A vertical refresh rate value of 0 or 1 represents the display hardware's default refresh rate. This default rate is typically set by switches on a display card or computer motherboard, or by a configuration program that does not use display functions such as ChangeDisplaySettings. const $DESKTOPVERTRES = 0x0075 ; 117 ; Vertical height of entire desktop in pixels Const $DESKTOPHORZRES = 0x0076 ; 118 ; Horizontal width of entire desktop in pixels Const $BLTALIGNMENT = 0x0077 ; 119 ; Preferred horizontal drawing alignment, expressed as a multiple of pixels. For best drawing performance, windows should be horizontally aligned to a multiple of this value. A value of zero indicates that the device is accelerated, and any alignment may be used. Const $COLORMGMTCAPS = 0x0079 ; 121 ; Value that indicates the color management capabilities of the device. ; Const $CM_NONE = 0x000000 ; 0 ; Device does not support ICM. Const $CM_DEVICE_ICM = 0x000001 ; 1 ; Device can perform ICM on either the device driver or the device itself. Const $CM_GAMMA_RAMP = 0x000002 ; 2 ; Device supports GetDeviceGammaRamp and SetDeviceGammaRamp Const $CM_CMYK_COLOR = 0x000004 ; 4 ; Device can accept CMYK color space ICC color profile. #Tidy_On