bit_blt_1bpp


Description:

public void bit_blt_1bpp (int x, int y, Context src, int x1, int y1, int x2, int y2, Color fg, Color bg)

Copies an area bounded by x1, y2, x2, y2 in the source context to the current context at the location specified by dx, dy using the specified operation.

The source must be a 1 bit per pixel bitmap. The foreground color is used for bits = 1 and the background color is used for bits = 0.

Parameters:

x

the destination X coordinate

y

the destination Y coordinate

src

the source context or null to use the current context

x1

the source bounding rectangle left coordinate

y1

the source bounding rectangle top coordinate

x2

the source bounding rectangle right coordinate

y2

the source bounding rectangle bottom coordinate

fg

the foreground color

bg

the background color


Namespace: Grx
Package: grx-3.0