function ondrawpattern(x: Number(gint), y: Number(gint), w: Number(gint), patt: Number(guint8), fg: Grx.Color, bg: Grx.Color): void { }