Example #1
0
int gdi_BitBlt(HGDI_DC hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, HGDI_DC hdcSrc, int nXSrc, int nYSrc, int rop)
{
	p_BitBlt _BitBlt = BitBlt_[IBPP(hdcDest->bitsPerPixel)];

	if (_BitBlt != NULL)
		return _BitBlt(hdcDest, nXDest, nYDest, nWidth, nHeight, hdcSrc, nXSrc, nYSrc, rop);
	else
		return 0;
}
Example #2
0
int gdi_PatBlt(HGDI_DC hdc, int nXLeft, int nYLeft, int nWidth, int nHeight, int rop)
{
	p_PatBlt _PatBlt = PatBlt_[IBPP(hdc->bitsPerPixel)];

	if (_PatBlt != NULL)
		return _PatBlt(hdc, nXLeft, nYLeft, nWidth, nHeight, rop);
	else
		return 0;
}
Example #3
0
int gdi_FillRect(HGDI_DC hdc, HGDI_RECT rect, HGDI_BRUSH hbr)
{
	p_FillRect _FillRect = FillRect_[IBPP(hdc->bitsPerPixel)];

	if (_FillRect != NULL)
		return _FillRect(hdc, rect, hbr);
	else
		return 0;
}
Example #4
0
BOOL gdi_LineTo(HGDI_DC hdc, int nXEnd, int nYEnd)
{
    p_LineTo _LineTo = LineTo_[IBPP(hdc->bitsPerPixel)];

    if (_LineTo == NULL)
        return FALSE;

    return _LineTo(hdc, nXEnd, nYEnd);
}
Example #5
0
int gdi_LineTo(HGDI_DC hdc, int nXEnd, int nYEnd)
{
	p_LineTo _LineTo = LineTo_[IBPP(hdc->bitsPerPixel)];

	if (_LineTo != NULL)
		return _LineTo(hdc, nXEnd, nYEnd);
	else
		return 0;
}
Example #6
0
int FillRect(HDC hdc, HRECT rect, HBRUSH hbr)
{
	return FillRect_[IBPP(hdc->bitsPerPixel)](hdc, rect, hbr);
}