package libqrencode
import "rsc.io/qr/libqrencode"
Package libqrencode wraps the C libqrencode library. The qr package (in this package's parent directory) does not use any C wrapping. This code is here only for use during that package's tests.
Index ¶
- type Chunk
- type Code
- func Encode(version Version, level Level, mode Mode, text string) (*Code, error)
- func EncodeChunk(version Version, level Level, chunk ...Chunk) (*Code, error)
- func (c *Code) At(x, y int) color.Color
- func (c *Code) Bounds() image.Rectangle
- func (*Code) ColorModel() color.Model
- type Level
- type Mode
- type Pixel
- type Version
Types ¶
type Chunk ¶
type Code ¶
func Encode ¶
func EncodeChunk ¶
func (*Code) At ¶
func (*Code) Bounds ¶
func (*Code) ColorModel ¶
type Level ¶
type Level int
const ( L Level = C.QR_ECLEVEL_L M Level = C.QR_ECLEVEL_M Q Level = C.QR_ECLEVEL_Q H Level = C.QR_ECLEVEL_H )
type Mode ¶
type Mode int
type Pixel ¶
type Pixel int
type Version ¶
type Version int
Source Files ¶
qrencode.go
- Version
- v0.1.0
- Published
- Nov 21, 2016
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 3 hours ago –
Tools for package owners.