[glfw] Added 'addRandomLineAnnotations'

This commit is contained in:
Bruno de Oliveira Abinader
2016-07-23 14:09:24 +03:00
parent 45d65c4b49
commit 0e60238596
2 changed files with 28 additions and 5 deletions

View File

@@ -44,6 +44,7 @@ public:
void report(float duration);
private:
mbgl::Color makeRandomColor() const;
mbgl::Point<double> makeRandomPoint() const;
static std::shared_ptr<const mbgl::SpriteImage>
makeSpriteImage(int width, int height, float pixelRatio);
@@ -51,6 +52,7 @@ private:
void nextOrientation();
void addRandomPointAnnotations(int count);
void addRandomLineAnnotations(int count);
void addRandomShapeAnnotations(int count);
void addRandomCustomPointAnnotations(int count);