glBitmap function opengl

void glBitmap(
  1. int width,
  2. int height,
  3. double xorig,
  4. double yorig,
  5. double xmove,
  6. double ymove,
  7. Pointer<Uint8> bitmap,
)
GLAPI void GLAPIENTRY glBitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap )

Implementation

void glBitmap(
  int width,
  int height,
  double xorig,
  double yorig,
  double xmove,
  double ymove,
  Pointer<Uint8> bitmap,
) {
  final glBitmapAsFunction = _glBitmap
      .cast<
        NativeFunction<
          Void Function(
            Uint32 width,
            Uint32 height,
            Float xorig,
            Float yorig,
            Float xmove,
            Float ymove,
            Pointer<Uint8> bitmap,
          )
        >
      >()
      .asFunction<
        void Function(
          int width,
          int height,
          double xorig,
          double yorig,
          double xmove,
          double ymove,
          Pointer<Uint8> bitmap,
        )
      >();
  return glBitmapAsFunction(width, height, xorig, yorig, xmove, ymove, bitmap);
}