[−][src]Function qr2cairo::draw
pub fn draw(
cr: &Context,
width: f64,
height: f64,
text: &str
) -> Result<(), QrError>
Draw the given text as QR code to the given cairo context
Arguments
cr
: what to draw onwidth
: horizontal length in pixels of the draweable areaheight
: vertical length in pixels of the draweable areatext
: what to draw as QR code