BitBlt
BitBlt, short for bit-block transfer, is a function in the Windows Graphics Device Interface (GDI) used to copy a rectangular block of pixels from a source device context (DC) to a destination DC. The operation can copy pixels directly or combine them with the destination using a raster-operation code (ROP). BitBlt is a fundamental Blitting primitive in Win32 programming and is commonly used for tasks such as image rendering, scrolling, double buffering, and basic image compositing.
Prototype and behavior: BOOL BitBlt(HDC hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, HDC hdcSrc,
Rasters and codes: The dwRop parameter encodes the raster operation to apply. Common examples include SRCCOPY
Notes: BitBlt supports both monochrome and color bitmaps and can handle overlapping source and destination if