nanogui: GdBlit()


Previous by date: 18 Jan 2002 08:00:49 -0000 Re: Problem: Drawing Images, Brian
Next by date: 18 Jan 2002 08:00:49 -0000 Does nano-x work in linux thread model?, shin woojai
Previous in thread:
Next in thread:

Subject: GdBlit()
From: "Jaster" ####@####.####
Date: 18 Jan 2002 08:00:49 -0000
Message-Id: <OE64za5LkcTVUAOWjjV000155a4@hotmail.com>

Checking engine/devdraw.c:GdBlit()

>    switch(GdClipArea(dstpsd, dstx, dsty, dstx+width-1, dsty+height-1)) {
>    case CLIP_VISIBLE:
>        /* check cursor in src region*/
>        GdCheckCursor(dstpsd, srcx, srcy, srcx+width-1, srcy+height-1);
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         GdCheckCursor(srcpsd, srcx, srcy, srcx+width-1, srcy+height-1);

>        dstpsd->Blit(dstpsd, dstx, dsty, width, height,
>            srcpsd, srcx, srcy, rop);
>        GdFixCursor(dstpsd);
         ~~~~~~~~~~~~~~~~~~~~
         GdFixCursor(srcpsd);

>        return;
>
>    case CLIP_INVISIBLE:
>        return;
>    }

I think maybe it should be changed as above.
You can also find these code in 0.89pre8.

Best regards!

* jaster *

Previous by date: 18 Jan 2002 08:00:49 -0000 Re: Problem: Drawing Images, Brian
Next by date: 18 Jan 2002 08:00:49 -0000 Does nano-x work in linux thread model?, shin woojai
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.