mqmpat.blt

来自「WinCE 3.0 BSP, 包含Inter SA1110, Intel_815」· BLT 代码 · 共 47 行

BLT
47
字号
#ifdef	MPATBLT_ON

#if defined( CHECK_8BPP ) || defined( CHECK_16BPP )
SCODE MQGC::MPATBlt( GPEBltParms *pBltParms )
{
	ROTATE_PARAMS(pBltParms);
	
	geINIT( pBltParms->pDst );

	ULONG	wh, ulCmd;

	DEBUGMSG(GPE_ZONE_MQEMUL1,(TEXT("MPATBlt\r\n")));

	m_ulDestXY = (pBltParms->prclDst->top << 16) | pBltParms->prclDst->left;
	wh = ((pBltParms->prclDst->bottom << 16) | pBltParms->prclDst->right)
				- m_ulDestXY;
	m_ulDestXY += ((MQGCSurf *)(pBltParms->pDst))->m_ulTopLeft;
	ulCmd = m_ulRop3 | DO_BITBLT;

	m_lpPattern = (PULONG)m_pBrush->Buffer();	// set pattern buffer pointer

	(this->*m_pPatternSetup)(pBltParms,&ulCmd);	// load mono pattern and adjust
												// offset

	geWAITCMDFIFO( 3 );
	geREG(WIDTH_HEIGHT, wh);
	geREG(DEST_XY, 		m_ulDestXY);
	SET_GE_DEST_STRIDE(m_ulDestStride);
	geREG(DRAW_CMD,		ulCmd);

	geTERMINATE();
	
	ROTATE_PARAMS_BACK(pBltParms);
	
	RETURN_MPATBLT;
}
#endif	//CHECK_s

#if 0
SCODE MQGC::MPATBlt24( GPEBltParms *pBltParms )
{
	RETURN_MPATBLT24;
}
#endif

#endif	//MPATBLT_ON

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?