BitBlT Emulation Library Functions (Windows Embedded CE 6.0)

1/6/2010

The emulation library includes many functions, and you can add your own. The source code is located in %_WINCEROOT%\Public\Common\Oak\Drivers\Display\Emul.

Function Description Raster operation (ROP) Source bit depth Target bit depth

EmulatedBltAlphaText02

Special-case fast blit function for rendering antialiased text.

This function assumes a mask surface containing the 4-bits per pixel (bpp) alpha bitmap for the symbol.

AAF0

02

EmulatedBltAlphaText08

Special-case fast blit function for rendering antialiased text.

This function assumes a mask surface containing the 4-bpp alpha bitmap for the symbol and an 8-bpp target surface that is in 32-bit RGB mode.

AAF0

08 (332 mode only)

EmulatedBltAlphaText16

Special-case fast blit function for rendering antialiased text.

Assumes mask surface containing the 4-bpp alpha bitmap for the symbol.

AAF0

16

EmulatedBltDstInvert02

Implements Patblt(DSTINVERT).

5555

02

EmulatedBltDstInvert08

Implements Patblt(DSTINVERT).

5555

-

08

EmulatedBltFill02

Implements Patblt(PATCOPY) for ROP F0F0, Patblt(BLACKNESS) for ROP 0000, and Patblt(WHITENESS) for ROP FFFF.

0000, FFFF, F0F0

02

EmulatedBltFill08

Implements Patblt(PATCOPY) for ROP F0F0, Patblt(BLACKNESS) for ROP 0000, and Patblt(WHITENESS) for ROP FFFF.

0000, FFFF, F0F0

08

EmulatedBltFill16

Implements Patblt(PATCOPY) for ROP F0F0, Patblt(BLACKNESS) for ROP 0000, and Patblt(WHITENESS) for ROP FFFF.

0000, FFFF, F0F0

16

EmulatedBltPatInvert02

Implements Patblt(PATINVERT).

5A5A

02

EmulatedBltPatInvert08

Implements Patblt(PATINVERT).

5A5A

08

EmulatedBltPatternCopy08

Implements Patblt(PATCOPY) for an arbitrary bitmap-sized brush.

F0F0

08 (brush object)

08

EmulatedBltPatternInvert08

Implements Patblt(PATINVERT) for an arbitrary bitmap-sized brush.

5A5A

08 (brush object)

08

EmulatedBltSrcAnd0202

Implements blit (SRCAND).

8888

02

02

EmulatedBltSrcAnd0808

Implements blit(SRCAND).

8888

08

08

EmulatedBltSrcAnd1616

Implements blit(SRCAND).

8888

16

16

EmulatedBltSrcCopy0108

Implements blit(SRCCOPY) for a 1-bpp source and an 8-bpp destination.

CCCC

01

08

EmulatedBltSrcCopy0116

Implements blit(SRCCOPY) for a 1-bpp source and a 16-bpp destination.

CCCC

01

16

EmulatedBltSrcCopy0202

Implements blit(SRCCOPY).

CCCC

02

02

EmulatedBltSrcCopy0408

Implements blit(SRCCOPY) for a 4-bpp source and an 8-bpp destination.

CCCC

04

08

EmulatedBltSrcCopy0416

Implements blit(SRCCOPY) for a 4-bpp source and an 16-bpp destination.

CCCC

04

16

EmulatedBltSrcCopy0808

Implements blit(SRCCOPY).

CCCC

08

08

EmulatedBltSrcCopy1616

Implements blit(SRCCOPY).

CCCC

16

16

EmulatedBltSrcInvert0202

Implements blit(SRCINVERT).

6666

02

02

EmulatedBltSrcInvert0808

Implements blit(SRCINVERT).

6666

08

08

EmulatedBltSrcInvert1616

Implements blit(SRCINVERT).

6666

16

16

EmulatedBltSrcPaint0202

Implements blit(SRCPAINT).

EEEE

02

02

EmulatedBltSrcPaint0808

Implements blit(SRCPAINT).

EEEE

08

08

EmulatedBltSrcPaint1616

Implements blit(SRCPAINT).

EEEE

16

16

EmulatedBltText02

Special-case fast blit function for rendering solid-color filled text with a mask.

AAF0

-

02

EmulatedBltText08

Special-case fast blit function for rendering solid-color filled text with a mask.

AAF0

-

08

EmulatedBltText16

Special-case fast blit function for rendering solid-color filled text with a mask.

AAF0

-

16

Community Additions

ADD
Show: