// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_QR_CODE_GENERATOR_DINO_IMAGE_H_ #define COMPONENTS_QR_CODE_GENERATOR_DINO_IMAGE_H_ // Contains constants clients use to to render a dino on top of a QR image. namespace dino_image { // Width of the dino pixel data. static constexpr int kDinoWidth = …; // Height of the dino pixel data. static constexpr int kDinoHeight = …; // Height of the dino pixel data, head segment. static constexpr int kDinoHeadHeight = …; // Height of the dino image data, body segment. static constexpr int kDinoBodyHeight = …; // Width of the dino image data. static constexpr int kDinoWidthBytes = …; // Pixel data for the dino's head, facing right. static const unsigned char kDinoHeadRight[kDinoWidthBytes * kDinoHeadHeight] = …; // Pixel data for the dino's head, facing left. static const unsigned char kDinoHeadLeft[kDinoWidthBytes * kDinoHeadHeight] = …; // Pixel data for the dino's body. static const unsigned char kDinoBody[kDinoWidthBytes * kDinoBodyHeight] = …; } // namespace dino_image #endif // COMPONENTS_QR_CODE_GENERATOR_DINO_IMAGE_H_