Unofficial community resource. Not affiliated with, maintained by, or endorsed by WOWCube / Cubios Inc. Cubios Inc. does not guarantee the accuracy or completeness of this content. Official WOWCube Development Kit

WOWCube Docs logo
WOWCube Docs
Mission Control
Section Shortcuts
APIExamplesSourceWOWConnectChangelogDeveloper Toolkit
Filters
SDK and language defaults persist in cookies.
SDK version
Navigation Tree
Collapsed by default, focused on the active path.

Unofficial community resource. Not affiliated with, maintained by, or endorsed by WOWCube / Cubios Inc. Cubios Inc. does not guarantee the accuracy or completeness of this content. For official documentation and the SDK, see the WOWCube Development Kit.

Made byMcKay Seamons
GitHub
  1. Home
  2. Docs
  3. API
  4. Cubios::Gfx::QRCode
Mission NodeSDK 6.1C++gfx engine

Cubios::Gfx::QRCode

Cubios::Gfx::QRCode Constructors QRCode Summary Constructs an object for rendering QR Code Arguments data QR code data payload t Transform object that holds ...

API / SDK 6.1 / C++ / gfx engine
VersionSDK 6.3SDK 6.2SDK 6.1
Report issue

Cubios::Gfx::QRCode

Constructors

QRCode

Summary

Constructs an object for rendering QR Code

Arguments

  • data - QR code data payload
  • t - Transform object that holds initial screen position, rotation and mirroring mode of the QR code image

Synopsis

Cubios::Gfx::QRCode
CPP
1QRCode(std::string data, const Cubios::Math::Transform& t)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Arguments

  • data - QR code data payload
  • x - x screen coordinate of initial postion of the QR code image
  • y - y screen coordinate of initial postion of the QR code image

Synopsis

Cubios::Gfx::QRCode
CPP
1QRCode(std::string data, float x, float y)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Arguments

  • data - QR code data payload
  • t - Transform object that holds initial screen position, rotation and mirroring mode of the QR code image
  • size - size of the QR code element that represents one bit of encoded data

Synopsis

Cubios::Gfx::QRCode
CPP
1QRCode(std::string data, const Cubios::Math::Transform& t, u32_t size)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Arguments

  • data - QR code data payload
  • x - x screen coordinate of initial postion of the QR code image
  • y - y screen coordinate of initial postion of the QR code image
  • size - size of the QR code element that represents one bit of encoded data

Synopsis

Cubios::Gfx::QRCode
CPP
1QRCode(std::string data, float x, float y, u32_t size)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Arguments

  • qr - QR code object which parameters will be used to initialize the new QR code object

Synopsis

Cubios::Gfx::QRCode
CPP
1QRCode(const QRCode& qr)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Public Methods

SetSize

Summary

Sets the size of a QR code element that represents one bit of encoded data

Arguments

  • size - size of an element

Output

Returns a pointer to the object to which the change was applied

Synopsis

Cubios::Gfx::QRCode
CPP
1Cubios::SceneObject* SetSize(u32_t size)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

SetColor

Summary

Sets the foreground color of the QR code

Arguments

  • color - foreground color

Output

Returns a pointer to the object to which the change was applied

Synopsis

Cubios::Gfx::QRCode
CPP
1Cubios::SceneObject* SetColor(const Math::Color& color)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

SetBackgroundColor

Summary

Sets the background color of the QR code

Arguments

  • color - background color

Output

Returns a pointer to the object to which the change was applied

Synopsis

Cubios::Gfx::QRCode
CPP
1Cubios::SceneObject* SetBackgroundColor(const Math::Color& color)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

SetData

Summary

Sets the data that will be encoded in the QR code

Arguments

  • data - string data to encode, 256 characters max

Output

Returns a pointer to the object to which the change was applied

Synopsis

Cubios::Gfx::QRCode
CPP
1Cubios::SceneObject* SetData(std::string data)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Public Members

ColorZeros

Summary

Current background color

Synopsis

Cubios::Gfx::QRCode
CPP
1Math::Color ColorZeros
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

ColorOnes

Summary

Current foreground color

Synopsis

Cubios::Gfx::QRCode
CPP
1Math::Color ColorOnes
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Size

Summary

Current element size

Synopsis

Cubios::Gfx::QRCode
CPP
1Math::Color Size
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Trust & provenance

Document status

Source
QR Code · installed SDK headers
Classification
API reference
Verification
Community-maintained · verify against installed SDK

Catalog updated Oct 20, 2018

Structured index

Symbols on this page

Names and signatures are extracted from this SDK-derived page. Signature hashes detect accidental changes.

Cubios::Gfx::QRCodeClass
ConstructorsMember
QRCodeMember
Public MethodsMember
SetSizeMember
SetColorMember
SetBackgroundColorMember
SetDataMember
Public MembersMember
ColorZerosMember
ColorOnesMember
SizeMember

Used in SDK snippets

SetColor→GfxText.cppSetColor→GfxText.cppSetColor→GfxText.cppSetColor→GfxOrientation.cppSetColor→GfxOrientation.cpp
Jump Grid

On This Page

ConstructorsQRCodePublic MethodsSetSizeSetColorSetBackgroundColorSetDataPublic MembersColorZerosColorOnesSize
Back to top ↑
Context Rail

Related nodes

Cubios::Math
API / SDK 6.1 / C++ / gfx engine
Cubios::Math::Vec2
API / SDK 6.1 / C++ / gfx engine
Cubios::Math::Transform
API / SDK 6.1 / C++ / gfx engine
Cubios::Math::Color
API / SDK 6.1 / C++ / gfx engine
Previous Node
Cubios::SaveMessage
API / SDK 6.1 / C++ / gfx engine
Next Node
Cubios::Scramble
API / SDK 6.1 / C++ / gfx engine