Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2011-11-24 14:04:19 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:28:41 +0300
commitbef7d9e2efeb3e1c1afdeca31da51fac555363db (patch)
tree0616e2aa2e6646ff08daadb7a66829b8c9529dac /indexer/drawing_rules.hpp
parent7de4dd39c425fbf21a309c8f0853de04083856e0 (diff)
Add BaseRule::GetStrokeAlpha.
Add alpha routine to circle rule.
Diffstat (limited to 'indexer/drawing_rules.hpp')
-rw-r--r--indexer/drawing_rules.hpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/indexer/drawing_rules.hpp b/indexer/drawing_rules.hpp
index a525eaeffa..c8f5b585c2 100644
--- a/indexer/drawing_rules.hpp
+++ b/indexer/drawing_rules.hpp
@@ -104,17 +104,18 @@ namespace drule
/// @name This functions can tell us about the type of rule.
//@{
- virtual int GetColor() const { return -1; } ///< path "line" color
- virtual int GetFillColor() const { return -1; } ///< fill "area" color
- virtual double GetTextHeight() const { return -1.0; } ///< text height of "caption"
+ virtual int GetColor() const { return -1; } ///< path "line" color
+ virtual int GetFillColor() const { return -1; } ///< fill "area" color
+ virtual double GetTextHeight() const { return -1.0; } ///< text height of "caption"
+ virtual double GetRadius() const { return -1; } ///< radius "circle"
+ virtual void GetSymbol(string &) const {} ///< name of "symbol"
//@}
virtual unsigned char GetAlpha() const { return 255; }
+ virtual unsigned char GetStrokeAlpha() const { return 255; }
+
virtual double GetWidth() const { return -1; }
virtual void GetPattern(vector<double> &, double &) const {}
- virtual void GetSymbol(string &) const {}
-
- virtual double GetRadius() const { return -1; }
};
class RulesHolder