13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

specified by (X2, Y2), the rectangle's upper-left corner will be (Xl,Y1) and the lower-right corner will be (X2 -I, Y2 -1).BoundingrectanglesInstead of requiring a radius or circumference measurement, theChord, Ellipse, and Pie functions use a bounding rectangle todefine the size of the object they create. The bounding rectangle ishidden; GDI uses it only to describe the object's location and size.For information about functions that alter or obtain informationabout rectangles in a window's client area, see "Rectanglefunctions," on page 82.Bitmap functionsBitmap functions display bitmaps. A bitmap is a matrix ofmemory bits that, when copied to a device, defines the color andpattern of a corresponding matrix of pixels on the device's displaysurface. Bitmaps are useful in drawing, charting, and wordprocessingapplications because they let you prepare images inmemory and then quickly copy them to the display. Thefollowing list briefly describes each bitmap function:FunctionBitBltCreateBitmapCreateBitmaplndirectCreateCompatibleBitmapCreateDiscardableBitmapExtFloodFiliFloodFiliGetBitmapBitsGetBitmapDimensionGetPixelLoadBitmapPatBltSetBitmapBitsDescriptionCopies a bitmap from a source to adestination device.Creates a bitmap.Creates a bitmap described in a datastructure.Creates a bitmap that is compatiblewith a specified device.Creates a discard able bitmap that iscompatible with a specified device.Fills the display surface within aborder or over an area of a givencolor.Fills the display surface within aborder.Retrieves the bits in memory for aspecific bitmap.Retrieves the dimensions of a bitmap.Retrieves the RGB value for a pixel.Loads a bitmap from a resource file.Creates a bit pattern.Sets the bits of a bitmap.110Software development kit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!