Top |
NMABarCode * | nma_bar_code_new () |
void | nma_bar_code_set_text () |
int | nma_bar_code_get_size () |
void | nma_bar_code_draw () |
A Bar Code object provides the means of drawing a QR code onto a cairo context. Useful for rendering Wi-Fi network credential in a form that can be optically scanned with a phone camera.
void nma_bar_code_set_text (NMABarCode *self
,const char *text
);
Regenerates the QR code for a different text.
Since: 1.8.22
void nma_bar_code_draw (NMABarCode *self
,cairo_t *cr
);
Draws the QR code onto the given context.
Since: 1.8.22