• 2回复贴,共1

想问一下,用ege读了一个CS

只看楼主收藏回复

想问一下,用ege读了一个CS6生成的png图片之后,贴出来是一个实心黑框,是什么情况?怎么解决?


来自Android客户端1楼2017-06-08 16:55回复
    原谅我的洛阳铲我也是这个问题
    -
    PIMAGE pimg = newimage( 256, 256 );
    getimage(pimg,"1.bmp",256,256);
    putimage(40,72,pimg,SRCCOPY);


    2楼2017-08-14 19:39
    回复
      使用putimage_withalpha.
      int EGEAPI putimage_withalpha(
      PIMAGE imgdest, // handle to dest
      PIMAGE imgsrc, // handle to source
      int nXOriginDest, // x-coord of destination upper-left corner
      int nYOriginDest, // y-coord of destination upper-left corner
      int nXOriginSrc = 0, // x-coord of source upper-left corner
      int nYOriginSrc = 0, // y-coord of source upper-left corner
      int nWidthSrc = 0, // width of source rectangle
      int nHeightSrc = 0 // height of source rectangle
      );


      3楼2017-08-15 11:31
      回复