Пример #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;
}
Пример #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;
}
Пример #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;
}
Пример #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);
}
Пример #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;
}
Пример #6
0
int FillRect(HDC hdc, HRECT rect, HBRUSH hbr)
{
	return FillRect_[IBPP(hdc->bitsPerPixel)](hdc, rect, hbr);
}