Forum breadcrumbs - You are here:WeLoveGod RallysPublic Forums: futurebasicRe: Bit Blitting or Pixel Doublin …
You need to log in to create posts and topics.
Re: Bit Blitting or Pixel Doubling?
77,940 Posts
#1 · November 13, 1997, 1:20 pm
Quote from Forum Archives on November 13, 1997, 1:20 pmPosted by: BMichael <BMichael@...>
>Does anyone know of a good Pixel Doubling (or as I understand it, "Bit
>Blittering") routine for FB?
>
>for example, something where I can draw into a 320x240 gworld and get a
>fast "doubling" or even better "interlaced"(every other line) or
>"interleaved" effect?Unless you need a super-fast routine, simple "doubling" is provided by
CopyBits any time you pass a source rectangle half the size of the
destination rectangle... For speed, I've always made sure the rects were
the same size, but it's not necessary. See page 321 in the Handbook for
the parameters.Bill
Posted by: BMichael <BMichael@...>
>Does anyone know of a good Pixel Doubling (or as I understand it, "Bit
>Blittering") routine for FB?
>
>for example, something where I can draw into a 320x240 gworld and get a
>fast "doubling" or even better "interlaced"(every other line) or
>"interleaved" effect?
>Blittering") routine for FB?
>
>for example, something where I can draw into a 320x240 gworld and get a
>fast "doubling" or even better "interlaced"(every other line) or
>"interleaved" effect?
Unless you need a super-fast routine, simple "doubling" is provided by
CopyBits any time you pass a source rectangle half the size of the
destination rectangle... For speed, I've always made sure the rects were
the same size, but it's not necessary. See page 321 in the Handbook for
the parameters.
Bill
Click for thumbs down.0Click for thumbs up.0