QRcode_pixel   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/qr-code.xtm

Implementation

(bind-func QRcode_pixel
  "returns bool: white=0, black=1"
  (lambda (code:QRcode* x y)
    (convert (bitwise-and 1:i8
                          (pref (tref code 2)
                                (+ (* x (QRcode_size code)) y)))
             bool)))


Back to Index

Similar Entries

  • GUI_pixel_ratio    xtlang
  • QRcode_data    xtlang
  • QRcode_size    xtlang
  • QRcode_version    xtlang
  • bmBitsPixel    xtlang
  • glfw_get_pixel_ratio    xtlang