18 #ifndef MIR_TEST_DRAW_PATTERNS_H
19 #define MIR_TEST_DRAW_PATTERNS_H
40 virtual void draw(std::shared_ptr<MirGraphicsRegion>& region)
const = 0;
41 virtual bool check(
const std::shared_ptr<MirGraphicsRegion>& region)
const = 0;
55 void draw(std::shared_ptr<MirGraphicsRegion>& region)
const;
56 bool check(
const std::shared_ptr<MirGraphicsRegion>& region)
const;
59 const uint32_t color_value;
62 template<
size_t Rows,
size_t Cols>
69 void draw(std::shared_ptr<MirGraphicsRegion>& region)
const;
70 bool check(
const std::shared_ptr<MirGraphicsRegion>& region)
const;
73 uint32_t color_pattern [Rows][Cols];