首页 / 词典 / good

cpicture

cpicturecpicture
  1. Now when the view needs painting , OnDraw paints the normal way , by calling CPicture : : Render to render the new image directly , without blending .

    现在当视图需要绘制时,OnDraw通过调用CPicture::Render进行常规绘制,直接呈现新图像,不发生渐变。

  2. Since AlphaBlend requires a device context , not a CPicture object , it 's more convenient to draw the new image first ( so I can call CPicture : : Render ) and then blend the old one on top of it .

    因为AlphaBlend需要设备上下文,而不是CPicture对象,首先绘制新图像(所以我调用CPicture::Render),然后在其上渐变旧图像要方便一些。