Class

QrView

A QR code of a text, dark on white with its quiet zone whatever the theme.

On this page
aurore/cadran/view/qr_view.hpp
#include <aurore/cadran/view/qr_view.hpp>

class QrView : public aurore::View

Constructors 2

QrView(const std::string &text, float side)
~QrView() override

Functions 1

virtual void draw(NVGcontext *vg,float x,float y,float width,float height,aurore::Style style,aurore::FrameContext *ctx) override

Called by frame() to draw the view onscreen. Views should not draw outside of their bounds (they may be clipped if they do so).

Overrides aurore::View::draw

qr_view.hpp:21

Also the functions of aurore::View (221).

Read from Aurore's headers by Doxygen at each build · library/include