开发学院手机开发Symbian 开发 Symbian CFbsMapd 图片开发 阅读

Symbian CFbsMapd 图片开发

 2010-03-24 17:22:00 来源:WEB开发网   
核心提示:backgroundGc2Mask->SetBrushStyle(CGraphicsContext::ENullBrush);backgroundGc2->DrawBitmap(rect2, iGulIcon->Bitmap());backgroundGc2Mask->DrawBitmap(re

backgroundGc2Mask->SetBrushStyle(CGraphicsContext::ENullBrush);

backgroundGc2->DrawBitmap(rect2, iGulIcon->Bitmap());

backgroundGc2Mask->DrawBitmap(rect2, iGulIcon->Mask());

delete backgroundGc2;

delete backgroundDevice2;

delete backgroundGc2Mask;

delete backgroundDevice2Mask;

Draw()方法中如下调用:

gc.BitBlt(TPoint(100, 0), iBackGround2);

gc.BitBltMasked(TPoint(150, 0), iBackGround2, TRect(iBackGround2->SizeInPixels()), iBackGround2Mask, EFalse);

上一页  1 2 3 

Tags:Symbian CFbsMapd 图片

编辑录入:coldstar [复制链接] [打 印]
[]
  • 好
  • 好的评价 如果觉得好,就请您
      0%(0)
  • 差
  • 差的评价 如果觉得差,就请您
      0%(0)
赞助商链接