XulGIFDecoder.java 文件源码

java
阅读 21 收藏 0 点赞 0 评论 0

项目:starcor.xul 作者:
public void draw(Canvas canvas, int x1, int y1, int w1, int h1, float x2, float y2, float w2, float h2, Paint p) {
    if (!_isCurrentFrameDecoded) {
        decodeFrame();
    }
    canvas.save();
    Xfermode xfermode = p.setXfermode(_colorKeyXferMode);
    XulDC.drawBitmap(canvas, _frameImage, x1, y1, w1, h1, x2, y2, w2, h2, p);
    p.setXfermode(xfermode);
    canvas.restore();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号