diff --git a/References/CompactFramework/OpenNETCF.Drawing.xml b/References/CompactFramework/OpenNETCF.Drawing.xml new file mode 100644 --- /dev/null +++ b/References/CompactFramework/OpenNETCF.Drawing.xml @@ -0,0 +1,3164 @@ + + + + OpenNETCF.Drawing + + + + + Encapsulates a GDI+ bitmap, which consists of the pixel data for a graphics image and its attributes. A BitmapEx object is an object used to work with images defined by pixel data. + + + + + Initializes a new instance of the BitmapEx class with the specified size. + + + + + + + Initializes a new instance of the System.Drawing.Bitmap class from the specified file. + + + + + + Creates a GDI bitmap object from this BitmapEx object. + + A handle to the GDI bitmap object that this method creates. + + + + BitmapEx object into system memory. + + A System.Drawing.Rectangle structure specifying the portion of the BitmapEx to lock. + Access level (read and write) for the BitmapEx object. > + PixelFormat enumeration specifying the data format of this BitmapEx object. + BitmapData object containing information about this lock operation. + + + + Unlocks this BitmapEx from system memory. + + + + + + Gets the width of this BitmapEx object. + + + + + Gets the height of this BitmapEx object. + + + + + Specifies the attributes of a bitmap image. The BitmapData class is used by the LockBits and UnlockBits methods of the BitmapEx class. + + + + + Gets or sets the format of the pixel information. + + + + + Gets or sets the address of the first pixel data in the bitmap. + + + + + Gets or sets the stride width (also called scan width) of the bitmap object. + + + + + Gets or sets the pixel width of the BitmapEx object. This can also be thought of as the number of pixels in one scan line. + + + + + Gets or sets the pixel height of the BitmapEx object. + + + + + Specifies alignment of content on the drawing surface. + + + + + Content is vertically aligned at the bottom, and horizontally aligned at the center. + + + + + Content is vertically aligned at the bottom, and horizontally aligned on the left. + + + + + Content is vertically aligned at the bottom, and horizontally aligned on the right. + + + + + Content is vertically aligned in the middle, and horizontally aligned at the center. + + + + + Content is vertically aligned in the middle, and horizontally aligned on the left. + + + + + Content is vertically aligned in the middle, and horizontally aligned on the right. + + + + + Content is vertically aligned at the top, and horizontally aligned at the center. + + + + + Content is vertically aligned at the top, and horizontally aligned on the left. + + + + + Content is vertically aligned at the top, and horizontally aligned on the right. + + + + + Determines how the source color in a copy pixel operation is combined with the destination color to result in a final color. + + + + + The destination area is filled by using the color associated with index 0 in the physical palette. (This color is black for the default physical palette.) + + + + + Windows that are layered on top of your window are included in the resulting image. By default, the image contains only your window. Note that this generally cannot be used for printing device contexts. + + + + + The destination area is inverted. + + + + + The colors of the source area are merged with the colors of the selected brush of the destination device context using the Boolean AND operator. + + + + + The colors of the inverted source area are merged with the colors of the destination area by using the Boolean OR operator. + + + + + The bitmap is not mirrored. + + + + + The inverted source area is copied to the destination. + + + + + The source and destination colors are combined using the Boolean OR operator, and then resultant color is then inverted. + + + + + The brush currently selected in the destination device context is copied to the destination bitmap. + + + + + The colors of the brush currently selected in the destination device context are combined with the colors of the destination are using the Boolean XOR operator. + + + + + The colors of the brush currently selected in the destination device context are combined with the colors of the inverted source area using the Boolean OR operator. The result of this operation is combined with the colors of the destination area using the Boolean OR operator. + + + + + The colors of the source and destination areas are combined using the Boolean AND operator. + + + + + The source area is copied directly to the destination area. + + + + + The inverted colors of the destination area are combined with the colors of the source area using the Boolean AND operator. + + + + + The colors of the source and destination areas are combined using the Boolean XOR operator. + + + + + The colors of the source and destination areas are combined using the Boolean OR operator. + + + + + The destination area is filled by using the color associated with index 1 in the physical palette. (This color is white for the default physical palette.) + + + + + Defines a particular format for text, including font face, size, and style attributes. + + + + + Initializes a new FontEx object that uses the specified attributes. + + A string representation of the System.Drawing.FontFamily object. + The size of the new FontEx object. + The style of the new FontEx object. + + + + Returns a handle to this FontEx object. + + A Windows handle to this FontEx object. + + + + Gets the face name of this FontEx object. + + + + + Gets the em-size of this FontEx object measured in the unit of this FontEx object. + + + + + Gets style information for this FontEx object. + + + + + Gets sets the angle for the FontEx. + + + + + Gets or sets a clear type for FontEx object. + + + + + Summary description for GDIPlus. + + + + + This function creates a logical font that has the characteristics specified in the specified structure. + An application can subsequently select the font as the current font for any device context (DC). + + Long pointer to a that defines the characteristics of the logical font. + A handle to a logical font. + + + + This structure defines the attributes of a font. + + + + + Encapsulates a GDI+ drawing surface. + + + + + Creates a new object from the specified native graphics handle. + + native graphics handle. + + + + Creates a new object from the specified handle to a window. + + Handle to a window. + This method returns a new object for the specified window handle. + + + + Creates a new object from the specified object. + + object + This method returns a new OpenNETCF.Drawing.GraphicsEx object for the specified specified Control object. + + + + Creates a new copy of object from the specified Control object. + + object. + This method returns a new object for the specified specified Control object. + + + + Creates a new copy of object from the existing objec. + + + + + + Copies the graphics. + + + + + + + Copies the graphics. + + + + + + + Copies graphics from with transparent color. + + Control to copy graphics from + Rectangle to copy. + Transaprent color. + + + + Draws a rectangle specified by a structure. + + A object that determines the color, width, and style of the rectangle. + A structure that represents the rectangle to draw. + + + + Draws a rectangle. + + A object that determines the color, width, and style of the rectangle. + x: x-coordinate of the upper-left corner of the rectangle to draw. + y: y-coordinate of the upper-left corner of the rectangle to draw. + width: width of the rectangle to draw. + height: Height of the rectangle to draw. + + + + Measures the specified string when drawn with the specified object. + + String to measure. + object that defines the text format of the string. + Width to fit the string. + + + + + Measures the specified string when drawn with the specified object. + + to measure. + object that defines the text format of the string. + + + + + Fills the interior of a rectangle specified by a structure. + + The to fill. + structure that represents the rectangle to fill. + + + + Draws the specified text string at the specified location with the specified and objects. + + String to draw + object that defines the text format of the string + The of text draw. + Rectangle structure that specifies the location of the drawn text + + + + Draws a rectangle with rounded corners. + + A object that determines the color, width, and style of the rectangle + A structure that represents the rectangle to draw. + A structre that defines the corner radius. + + + + Draws an ellipse specified by a bounding structure. + + A object that determines the color, width, and style of the ellipse. + A structure that represents the rectangle to draw. + + + + Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width. + + A object that determines the color, width, and style of the ellipse. + x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. + y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. + Width of the bounding rectangle that defines the ellipse. + Height of the bounding rectangle that defines the ellipse. + + + + Draws the specified object at the specified location and with the original size. + + object to draw. + x-coordinate of the upper-left corner of the drawn image. + y-coordinate of the upper-top corner of the drawn image. + + + + Draws the specified portion of the specified System.Drawing.Image object at the specified location and with the specified size. + + object to draw. + structure that specifies the location and size of the drawn image. + The image is scaled to fit the rectangle. + structure that specifies the portion of the image object to draw. + + + + Draws a line connecting the two points specified by coordinate pairs. + + PenEx object that determines the color, width, and style of the line. + x-coordinate of the first point. + y-coordinate of the first point. + x-coordinate of the second point. + x-coordinate of the seconf point. + + + + Gets the handle to the device context associated with this object. + + Handle to the device context associated with this object + + + + Performs a bit-block transfer of the color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the GraphicsEx. + + The x-coordinate of the point at the upper-left corner of the source rectangle. + The y-coordinate of the point at the upper-left corner of the source rectangle + The x-coordinate of the point at the upper-left corner of the destination rectangle. + The y-coordinate of the point at the upper-left corner of the destination rectangle. + The size of the area to be transferred. + + + + Performs a bit-block transfer of the color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the GraphicsEx. + + The x-coordinate of the point at the upper-left corner of the source rectangle. + The y-coordinate of the point at the upper-left corner of the source rectangle + The x-coordinate of the point at the upper-left corner of the destination rectangle. + The y-coordinate of the point at the upper-left corner of the destination rectangle. + The size of the area to be transferred. + One of the CopyPixelOperation values. + + + + Specifies the style of dashed lines drawn with a object. + + + + + Specifies a line consisting of dashes. + + + + + Specifies a solid line. + + + + + + + + + + Clone an area of the bitmap image + + + + + + + + + Flip the bitmap image in x- and/or y-direction + + + + + + + + + Resize the bitmap image + + + + + + + + + + + Rotate the bitmap image by the specified angle + + + + + + + + + Adjust the brightness of the bitmap image + + + + + + + This method adjusts the contrast of an image by rescaling the pixel values in the range from 0 to 1 to the new range from shadow to highlight. + The old pixel value 0 is mapped to the new pixel value of shadow and the old pixel value 1 is mapped to the new pixel value of highlight. All other old pixel values are mapped into the new range through linear interpolation. + + A FLOAT value that defines the value for pixels that are currently 0. + A FLOAT value that defines the value for pixels that are currently 1. + + + + + Adjust the gamma of the bitmap image + + + + + + + Get bitmap dimensions pixels + + + + + + + Get bitmap pixel format + + + + + + + Access bitmap data the specified pixel format + must support at least PIXFMT_DONTCARE and + the canonical formats. + + + + + + + + + + + + + + + + + Set/get palette associated with the bitmap image + Do not use directly. Use ImageUtils.GetBitmapPalette instead + + + + + + + Do not use directly. Use ImageUtils.SetBitmapPalette instead + + + + + + + This is the basic interface to an image object. It allows applications to do the following: + Display the image onto a destination graphics context + Push image data into an image sink + Access image properties and metadata Decoded image objects and in-memory bitmap image objects support the IImage interface + + + + + Get the device-independent physical dimension of the image + unit of 0.01mm + + + + + + + Get basic image info + + + + + + + Set image flags + + + + + + + Display the image a GDI device context + + + + + + + + + Push image data into an IImageSink + + + + + + + Get a thumbnail representation for the image object + + + + + + + + + This is a low-level interface to an image decoder object. + Many simple applications do not need to work with decoder objects directly and can work with + higher level decoded image objects instead. + More sophisticated applications can use the IImageDecoder interface to have finer control over the interaction with decoder objects. + The IImageDecoder interface can support images with multiple frames. Multiframe images are accessed via multidimensional indices. + This interface can support an arbitrary number of dimensions in nonrectangular arrangements + + + + + Initialize the image decoder object + + + + + + + + Clean up the image decoder object + + + + + + Start decoding the current frame + + + + + + + + Continue decoding + + + + + + Stop decoding the current frame + + + + + + + Query multi-frame dimensions + + + + + + + Query multi-frame dimensions + + + + + + + + Get number of frames for the specified dimension + + + + + + + + Select currently active frame + + + + + + + + Get basic information about the image + + + + + + + Get image thumbnail + + + + + + + + + Query decoder parameters + + + + + + + Set decoder parameters + + + + + + + + + Get image property count + + + + + + + Get selected image properties + + + + + + + + Get the size of property data + + + + + + + + Get the property data + + + + + + + + + + + + + + + + + Sets property on the image + + + + + + + This interface allows an image source, such as an image decoder, and an image sink to exchange data. + The most important interaction between the source and the sink happens when they negotiate data transfer + parameters during the call to the IImageSink::BeginSink method + + + + + Begin the sink process + + + + + + + + End the sink process + + + + + + + Pass the color palette to the image sink + + + + + + + Ask the sink to allocate pixel data buffer + + + + + + + + + + Give the sink pixel data and release data buffer + + + + + + + Push pixel data + + + + + + + + + Push raw image data + + + + + + + + This method is used by an image source to determine whether an image + sink should rotate an image and by how much it should rotate the image + + + + + + + This method is used by an image source to determine whether an image sink can accept raw properties + + + + + + This method is used by an image source to send raw information about an image to an image sink + + + + + + + Retrieves a property as a blob + + + + + + + + Create an image object from an input stream + stream doesn't have to seekable + caller should Release the stream if call is successful + + + + + + + + Create an image object from a file + + + + + + + + Create an image object from a memory buffer + + + + + + + + + + Create a new bitmap image object + + + + + + + + + + Create a bitmap image from an IImage object + + + + + + + + + + + + Create a new bitmap image object on user-supplied memory buffer + + + + + + + + Create an image decoder object to process the given input stream + + + + + + + + + Create an image encoder object that can output data the + specified image file format. + + + + + + + + + Get a list of all currently installed image decoders + + + + + + + + Get a list of all currently installed image decoders + + + + + + + + Install an image encoder / decoder + caller should do the regular COM component + installation before calling this method + + + + + + + Uninstall an image encoder / decoder + + + + + + + + Describes Imaging codec + + + + + Codec name + + + + + Codec Dll name + + + + + Codec format description + + + + + Codec's file's extension (e.g. BMP) + + + + + Codec's image MIME type + + + + + Codec flags + + + + + Codec version + + + + + Defines a property of an Image + + + + + Generates an ImageProperty from an array of bytes + + + + + + Gets the property as a byte representation + + + + + + Retrieves the value of the given property + + + + + + This interface is used to create bitmaps and images and to manage image encoders and decoders. + + + + + This interface is used to create bitmaps and images and to manage image encoders and decoders. + + + + + Create an image object from an input stream + stream doesn't have to seekable + caller should Release the stream if call is successful + + + + + + + + Create an image object from a file + + + + + + + + Create an image object from a memory buffer + + + + + + + + + + Create a new bitmap image object + + + + + + + + + + Create a bitmap image from an IImage object + + + + + + + + + + + + Create a new bitmap image object on user-supplied memory buffer + + + + + + + + Create an image encoder object that can output data the + specified image file format. + + + + + + + + + Create an image encoder object that can output data the + specified image file format. + + + + + + + + + Get a list of all currently installed image decoders + + + + + + + + Get a list of all currently installed image decoders + + + + + + + + Install an image encoder / decoder + caller should do the regular COM component + installation before calling this method + + + + + + + Uninstall an image encoder / decoder + + + + + + + + Holds a Rational number used by imaging properties + + + + + Holds a Signed Rational number used by imaging properties + + + + + Property tag types + + + + + 8-bit unsigned int + + + + + 8-bit byte containing one 7-bit ASCII code. + NULL terminated. + + + + + 16-bit unsigned int + + + + + 32-bit unsigned int + + + + + Two LONGs. The first LONG is the numerator, + the second LONG expresses the denominator. + + + + + 8-bit byte that can take any value depending + on field definition + + + + + 32-bit singed integer (2's complement notation) + + + + + Two SLONGs. First is numerator, second is the denominator + + + + + Defines an object used to draw lines and curves. + + + + + Initializes a new instance of the class with the . + + The of the . + + + + Initializes a new instance of the class with the Width. + + The of the . + The of the . + + + + Initializes a new instance of the class with the . + + The of the . + The of the . + + + + Initializes a new instance of the class with the . + + The of the . + The of the . + The of the . + + + + Gets or sets the color of this object. + + + + + Gets or sets the style used for dashed lines drawn with this object. + + + + + Gets or sets the Width of this object. + + + + + Translates colors to and from structures. + + System.Drawing.ColorTranslator Class + + + + Translates the specified structure to an HTML string color representation. + + The structure to translate. + The string that represents the HTML color. + Unlike the desktop version of this function it does not check for named colors but instead always returns the hex notation values - e.g. Color.Red = "#FF0000" + System.Drawing.ColorTranslator.ToHtml Method + + + + Translates the specified structure to a Windows color. + + The structure to translate. + The Windows color value. + System.Drawing.ColorTranslator.ToWin32 Method + + + + Translates an HTML color representation to a structure. + + The string representation of the Html color to translate. + The structure that represents the translated HTML color. + System.Drawing.ColorTranslator.FromHtml Method + + + + Translates a Windows color value to a structure. + + The Windows color to translate. + The structure that represents the translated Windows color. + System.Drawing.ColorTranslator.FromWin32 Method + + + + Translates an OLE color value to a structure. + + The OLE color to translate. + The structure that represents the translated OLE color. + + + + Translates the specified structure to an OLE color. + + The structure to translate. + The OLE color value. + + + + Image property ID tags (PROPID's from the EXIF tags) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Image tyge type + + + + + 8-bit unsigned int + + + + + 8-bit byte containing one 7-bit ASCII code. + NULL terminated. + + + + + 16-bit unsigned int + + + + + 32-bit unsigned int + + + + + Two LONGs. The first LONG is the numerator, + the second LONG expresses the denomintor. + + + + + 8-bit byte that can take any value depending + on field definition + + + + + 32-bit singed integer (2's complement notation) + + + + + Two SLONGs. First is numerator, second is denominator + + + + + High-level image manipulation routines + + + + + Rotate and/or flip bitmap + + Image + Operation + Modified bitmap + + + + Rotate and/or flip bitmap + + Image + Operation + Modified bitmap + + + + Rotates image by specified amount of degrees + + Image + Amount of degrees to rotate image by. Must be 90, 180, or 270 + Rotated image + + + + Rotates image by specified amount of degrees + + Image + Amount of degrees to rotate image by. Must be 90, 180, or 270 + Rotated image + + + + Flips image around X and/or Y axes + + Image + Axis or axes to flip on + + + + Flips image around X and/or Y axes + + Image + Axis or axes to flip on + + + + Flips image around X and/or Y axes + + Image + Whether to flip around X axis + Whether to flip around Y axis + Flipped image + + + + Converts Imaging API IBitmapImage object to .NET Bitmap object + + Source IImageBitmap object + Bitmap object + + + + Creates a thumbnail of a specified size out of a (compressed image) + + Stream containing the image + requested thumbnail size + Thumbnail image + + + + Converts .NET Bitmap object to Imaging API IBitmapImage object + + Source Bitmap object + IImageBitmap object + + + + Loads specified image property from the given image + + path to the image file + Property tag + Property + + + + Loads specified image property from an ImageDecoder object + + IImageDecoder object + Property tag + Property + + + + Loads managed ImageProperty object from an unmanaged PropertyItem + + PropertyItem + ImageProperty + + + + Loads all image tags for the image + + IImageDecoder object + Array of all tags + + + + Loads all image properties for the image + + IImageDecoder object + Array of all properties + + + + Retrieves bitmap palette, or null on error + + Bitmap whose palette to retireve + Palette + + + + Modifies bitmap palette + + Bitmap + New palette + Success indicator + + + + Gets all of the installed imaging encoders on the device + + + + + + Gets all of the installed imaging decoders on the device + + + + + + Internal class + + + + + Standard image format Guids + + + + + Specifies the direction of an image's rotation and the axis used to flip the image. + + + + + Specifies a 180-degree rotation followed by a horizontal and vertical flip. + + + + + Specifies no rotation and no flipping. + + + + + Specifies a 270-degree rotation followed by a horizontal and vertical flip. + + + + + Specifies a 90-degree rotation without flipping. + + + + + Specifies a 180-degree rotation without flipping. + + + + + Specifies no rotation followed by a horizontal and vertical flip. + + + + + Specifies a 270-degree rotation without flipping. + + + + + Specifies a 90-degree rotation followed by a horizontal and vertical flip. + + + + + Specifies a 180-degree rotation followed by a vertical flip. + + + + + Specifies no rotation followed by a horizontal flip. + + + + + Specifies a 90-degree rotation followed by a horizontal flip. + + + + + Specifies a 270-degree rotation followed by a vertical flip. + + + + + Specifies no rotation followed by a vertical flip. + + + + + Specifies a 180-degree rotation followed by a horizontal flip. + + + + + Specifies a 90-degree rotation followed by a vertical flip. + + + + + Specifies a 270-degree rotation followed by a horizontal flip. + + + + + + + + + + Sets the current system color scheme + + + + + + Gets a Color structure that is the lightest color in the color gradient of an active window's title bar. + + + + + Gets a Color structure that is the lightest color in the color gradient of an inactive window's title bar. + + + + + Gets a Color structure that is the color of the active window's border. + + + + + Gets a Color structure that is the color of the application workspace. + + + + + Gets a Color structure that is the face color of a 3-D element. + + + + + Gets a Color structure that is the light color of a 3-D element. + + + + + Gets a Color structure that is the highlight color of a 3-D element. + + + + + Gets a Color structure that is the shadow color of a 3-D element. + + + + + Gets a Color structure that is the dark shadow color of a 3-D element. + + + + + Gets a Color structure that is the color of the background of a scroll bar. + + + + + Gets a Color structure that is the color of a window frame. + + + + + Gets a Color structure that is the color used to designate a hot-tracked item. + + + + + Gets a Color structure that is the color of an inactive window's border. + + + + + Gets a Color structure that is the color of the background of a ToolTip. + + + + + Gets a Color structure that is the color of the text of a ToolTip. + + + + + Gets a Color structure that is the color of the background of the active window's title bar. + + + + + Gets a Color structure that is the color of the text in the active window's title bar. + + + + + Gets a Color structure that is the color of text in a 3-D element. + + + + + Gets a Color structure that is the color of the desktop. + + + + + Gets a Color structure that is the color of the background of a Dialog. + + + + + Gets a Color structure that is the color of text on a Dialog. + + + + + Gets a Color structure that is the color of dimmed text. + + + + + Gets a Color structure that is the color of the background of an inactive window's title bar. + + + + + Gets a Color structure that is the color of the text in an inactive window's title bar. + + + + + Gets a Color structure that is the color of a menu's background. + + + + + Gets a Color structure that is the color of a menu's text. + + + + + Gets a Color structure that is the color of the background of selected items. + + + + + Gets a Color structure that is the color of the text of selected items. + + + + + Gets a Color structure that is the color of the background in the client area of a window. + + + + + Gets a Color structure that is the color of the text in the client area of a window. + + + + + System Color scheme names + + + + + Brick + + + + + Desert + + + + + Eggplant + + + + + High-Contrast Black + + + + + High-Contrast White + + + + + Lilac + + + + + Spruce + + + + + Storm + + + + + Windows Standard + + + + + This structure contains information about the type, size, and layout of a file that containing a device-independent bitmap (DIB). + + Wraps the native BITMAPFILEHEADER structure + + + + Specifies the file type. It must be BM. + + + + + Specifies the size, in bytes, of the bitmap file. + + + + + Specifies the offset, in bytes, from the BitmapFileHeader structure to the bitmap bits. + + + + + Internal data + + + + + Contains information about the dimensions and color format of a device-independent bitmap (DIB). + + Wrapper for Win32 BITMAPINFOHEADER structure + + + + Specifies the number of bytes required by the structure. + + + + + Specifies the width of the bitmap, in pixels. + + + + + Specifies the height of the bitmap, in pixels. + If biHeight is positive, the bitmap is a bottom-up DIB and its origin is the lower-left corner. + If biHeight is negative, the bitmap is a top-down DIB and its origin is the upper-left corner. + If biHeight is negative, indicating a top-down DIB, biCompression must be either BI_RGB or BI_BITFIELDS. + Top-down DIBs cannot be compressed. + + + + + Specifies the number of planes for the target device. + This value must be set to 1. + + + + + Specifies the number of bits per pixel. + The biBitCount member determines the number of bits that define each pixel and the maximum number of colors in the bitmap. + + + + + Specifies the type of compression for a compressed bottom-up bitmap (top-down DIBs cannot be compressed). + + + + + Specifies the size, in bytes, of the image. This may be set to zero for BI_RGB bitmaps. + + + + + Specifies the horizontal resolution, in pixels per meter, of the target device for the bitmap. + An application can use this value to select a bitmap from a resource group that best matches the characteristics of the current device. + + + + + Specifies the vertical resolution, in pixels per meter, of the target device for the bitmap + + + + + Specifies the number of color indexes in the color table that are actually used by the bitmap. + If this value is zero, the bitmap uses the maximum number of colors corresponding to the value of the biBitCount member for the compression mode specified by biCompression. + + + + + Specifies the number of color indexes required for displaying the bitmap. + If this value is zero, all colors are required. + + + + + Wrapper for WIN32 DIBSECTION structure + + + + + Specifies the bitmap type; set to zero. + + + + + Specifies the width, in pixels, of the bitmap. + The width must be greater than zero. + + + + + Specifies the height, in pixels, of the bitmap. + The height must be greater than zero. + + + + + Specifies the number of bytes in each scan line. + This value must be divisible by 2, because the system assumes that the bit values of a bitmap form an array that is word aligned. + + + + + Specifies the count of color planes. + + + + + Specifies the number of bits required to indicate the color of a pixel. + + + + + Pointer to the location of the bit values for the bitmap. + The bmBits member must be a long pointer to an array of character (1-byte) values. + + + + + Specifies the number of bytes required by the structure. + + + + + Specifies the width of the bitmap, in pixels. + + + + + Specifies the height of the bitmap, in pixels. If biHeight is positive, the bitmap is a bottom-up DIB and its origin is the lower-left corner. If biHeight is negative, the bitmap is a top-down DIB and its origin is the upper-left corner. + If biHeight is negative, indicating a top-down DIB, biCompression must be either BI_RGB or BI_BITFIELDS. Top-down DIBs cannot be compressed. + + + + + Specifies the number of planes for the target device. This value must be set to 1. + + + + + Specifies the number of bits-per-pixel. The biBitCount member of the BITMAPINFOHEADER structure determines the number of bits that define each pixel and the maximum number of colors in the bitmap. + + + + + Specifies the type of compression for a compressed bottom-up bitmap (top-down DIBs cannot be compressed). + + + + + Specifies the size, in bytes, of the image. This may be set to zero for BI_RGB bitmaps. + + + + + Specifies the horizontal resolution, in pixels-per-meter, of the target device for the bitmap. An application can use this value to select a bitmap from a resource group that best matches the characteristics of the current device. + + + + + Specifies the vertical resolution, in pixels-per-meter, of the target device for the bitmap. + + + + + Specifies the number of color indexes in the color table that are actually used by the bitmap. If this value is zero, the bitmap uses the maximum number of colors corresponding to the value of the biBitCount member for the compression mode specified by biCompression. + If biClrUsed is nonzero and the biBitCount member is less than 16, the biClrUsed member specifies the actual number of colors the graphics engine or device driver accesses. If biBitCount is 16 or greater, the biClrUsed member specifies the size of the color table used to optimize performance of the system color palettes. If biBitCount equals 16 or 32, the optimal color palette starts immediately following the three DWORD masks. + + + + + Specifies the number of color indexes that are required for displaying the bitmap. If this value is zero, all colors are required. + + + + + Specifies three color masks for the DIB. This field is only valid when the BitCount member of the BITMAPINFOHEADER structure has a value greater than 8. Each color mask indicates the bits that are used to encode one of the three color channels (red, green, and blue). + + + + + + + + + + + + + + + Contains a handle to the file mapping object that the CreateDIBSection function used to create the DIB. If CreateDIBSection was called with a NULL value for its hSection parameter, causing the system to allocate memory for the bitmap, the dshSection member will be NULL. + + + + + Specifies the offset to the bitmap's bit values within the file mapping object referenced by dshSection. If dshSection is NULL, the dsOffset value has no meaning. + + + + + GDI P/Invokes and definitions. + + + + + Set the forecolor of text in the selected DC + + + + + + + + Get the forecolor of text in the selected DC + + + + + + + Set the backcolor in the selected DC + + + + + + + + Set the backmode in the selected DC + + + + + + + + Select a system object (FONT, DC, etc.) + + + + + + + + Release a Device Context + + + + + + + Get the DC for the specified window + + Native window handle of the window. + Device Context Handle for specified window. + + + + Get the DC for the specified window handle + + + + + + + Draw a rectangle in a DC + + + + + + + + + + This function obtains information about a specified graphics object. + + Handle to the graphics object of interest. + Specifies the number of bytes of information to be written to the buffer. + a buffer that is to receive the information about the specified graphics object. + If the function succeeds, and lpvObject is a valid pointer, the return value is the number of bytes stored into the buffer. + + + + This function obtains information about a specified graphics object. + + Handle to the graphics object of interest. + Specifies the number of bytes of information to be written to the buffer. + a buffer that is to receive the information about the specified graphics object. + If the function succeeds, and lpvObject is a valid pointer, the return value is the number of bytes stored into the buffer. + + + + This function creates a logical brush that has the specified solid color. + + Specifies the color of the brush. + A handle that identifies a logical brush indicates success. + + + + Region type + + + + + + + + + + + + + + + + + + + + + + + + + Background mode + + + + + Background is Transparent. + + + + + Background is Opaque. + + + +