Builds a pixmap fill pattern from bitmap data.
It is useful if the width of the bitmap pattern is not eight as such bitmap patterns can not be used to build a GrBitmap structure.
| bits |
the bitmap data |
| w |
the width of the bitmap data |
| h |
the height of the bitmap data |
| fg |
the forground color |
| bg |
the background color |
|
a new Pixmap or null if there was an error. |