Home
last modified time | relevance | path

Searched refs:Color (Results 1 – 25 of 159) sorted by relevance

1234567

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/
H A Dcolor.hpp12 class Color { class
14 Color() = default;
15 Color(float r_, float g_, float b_, float a_) in Color() function in mbgl::Color
32 static Color black() { return { 0.0f, 0.0f, 0.0f, 1.0f }; }; in black()
33 static Color white() { return { 1.0f, 1.0f, 1.0f, 1.0f }; }; in white()
35 static Color red() { return { 1.0f, 0.0f, 0.0f, 1.0f }; }; in red()
36 static Color green() { return { 0.0f, 1.0f, 0.0f, 1.0f }; }; in green()
37 static Color blue() { return { 0.0f, 0.0f, 1.0f, 1.0f }; }; in blue()
39 static optional<Color> parse(const std::string&);
44 inline bool operator==(const Color& colorA, const Color& colorB) { in operator ==()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/layers/
H A Dhillshade_layer_properties.hpp27 struct HillshadeShadowColor : PaintProperty<Color> {
28 static Color defaultValue() { return Color::black(); } in defaultValue()
31 struct HillshadeHighlightColor : PaintProperty<Color> {
32 static Color defaultValue() { return Color::white(); } in defaultValue()
35 struct HillshadeAccentColor : PaintProperty<Color> {
36 static Color defaultValue() { return Color::black(); } in defaultValue()
H A Dhillshade_layer.cpp158 PropertyValue<Color> HillshadeLayer::getDefaultHillshadeShadowColor() { in getDefaultHillshadeShadowColor()
159 return { Color::black() }; in getDefaultHillshadeShadowColor()
162 PropertyValue<Color> HillshadeLayer::getHillshadeShadowColor() const { in getHillshadeShadowColor()
166 void HillshadeLayer::setHillshadeShadowColor(PropertyValue<Color> value) { in setHillshadeShadowColor()
185 PropertyValue<Color> HillshadeLayer::getDefaultHillshadeHighlightColor() { in getDefaultHillshadeHighlightColor()
186 return { Color::white() }; in getDefaultHillshadeHighlightColor()
189 PropertyValue<Color> HillshadeLayer::getHillshadeHighlightColor() const { in getHillshadeHighlightColor()
193 void HillshadeLayer::setHillshadeHighlightColor(PropertyValue<Color> value) { in setHillshadeHighlightColor()
212 PropertyValue<Color> HillshadeLayer::getDefaultHillshadeAccentColor() { in getDefaultHillshadeAccentColor()
213 return { Color::black() }; in getDefaultHillshadeAccentColor()
[all …]
H A Dcircle_layer_properties.hpp19 struct CircleColor : DataDrivenPaintProperty<Color, attributes::a_color, uniforms::u_color> {
20 static Color defaultValue() { return Color::black(); } in defaultValue()
51 struct CircleStrokeColor : DataDrivenPaintProperty<Color, attributes::a_stroke_color, uniforms::u_s…
52 static Color defaultValue() { return Color::black(); } in defaultValue()
H A Dsymbol_layer_properties.hpp199 struct IconColor : DataDrivenPaintProperty<Color, attributes::a_fill_color, uniforms::u_fill_color>…
200 static Color defaultValue() { return Color::black(); } in defaultValue()
203 struct IconHaloColor : DataDrivenPaintProperty<Color, attributes::a_halo_color, uniforms::u_halo_co…
204 static Color defaultValue() { return {}; } in defaultValue()
227 struct TextColor : DataDrivenPaintProperty<Color, attributes::a_fill_color, uniforms::u_fill_color>…
228 static Color defaultValue() { return Color::black(); } in defaultValue()
231 struct TextHaloColor : DataDrivenPaintProperty<Color, attributes::a_halo_color, uniforms::u_halo_co…
232 static Color defaultValue() { return {}; } in defaultValue()
H A Dfill_layer_properties.hpp23 struct FillColor : DataDrivenPaintProperty<Color, attributes::a_color, uniforms::u_color> {
24 static Color defaultValue() { return Color::black(); } in defaultValue()
27 struct FillOutlineColor : DataDrivenPaintProperty<Color, attributes::a_outline_color, uniforms::u_o…
28 static Color defaultValue() { return {}; } in defaultValue()
H A Dbackground_layer_properties.hpp15 struct BackgroundColor : PaintProperty<Color> {
16 static Color defaultValue() { return Color::black(); } in defaultValue()
H A Dfill_layer.cpp153 DataDrivenPropertyValue<Color> FillLayer::getDefaultFillColor() { in getDefaultFillColor()
154 return { Color::black() }; in getDefaultFillColor()
157 DataDrivenPropertyValue<Color> FillLayer::getFillColor() const { in getFillColor()
161 void FillLayer::setFillColor(DataDrivenPropertyValue<Color> value) { in setFillColor()
180 DataDrivenPropertyValue<Color> FillLayer::getDefaultFillOutlineColor() { in getDefaultFillOutlineColor()
184 DataDrivenPropertyValue<Color> FillLayer::getFillOutlineColor() const { in getFillOutlineColor()
188 void FillLayer::setFillOutlineColor(DataDrivenPropertyValue<Color> value) { in setFillOutlineColor()
H A Dfill_extrusion_layer_properties.hpp19 struct FillExtrusionColor : DataDrivenPaintProperty<Color, attributes::a_color, uniforms::u_color> {
20 static Color defaultValue() { return Color::black(); } in defaultValue()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/csscolorparser/
H A Dcsscolorparser.hpp37 struct Color { struct
38 inline Color() { in Color() function
40 inline Color(unsigned char r_, unsigned char g_, unsigned char b_, float a_) in Color() function
47 inline bool operator==(const Color& lhs, const Color& rhs) { in operator ==()
51 inline bool operator!=(const Color& lhs, const Color& rhs) { in operator !=()
55 optional<Color> parse(const std::string& css_str);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/style/layers/
H A Dhillshade_layer.hpp52 static PropertyValue<Color> getDefaultHillshadeShadowColor();
53 PropertyValue<Color> getHillshadeShadowColor() const;
54 void setHillshadeShadowColor(PropertyValue<Color>);
58 static PropertyValue<Color> getDefaultHillshadeHighlightColor();
59 PropertyValue<Color> getHillshadeHighlightColor() const;
60 void setHillshadeHighlightColor(PropertyValue<Color>);
64 static PropertyValue<Color> getDefaultHillshadeAccentColor();
65 PropertyValue<Color> getHillshadeAccentColor() const;
66 void setHillshadeAccentColor(PropertyValue<Color>);
H A Dsymbol_layer.hpp193 static DataDrivenPropertyValue<Color> getDefaultIconColor();
194 DataDrivenPropertyValue<Color> getIconColor() const;
195 void setIconColor(DataDrivenPropertyValue<Color>);
199 static DataDrivenPropertyValue<Color> getDefaultIconHaloColor();
200 DataDrivenPropertyValue<Color> getIconHaloColor() const;
201 void setIconHaloColor(DataDrivenPropertyValue<Color>);
235 static DataDrivenPropertyValue<Color> getDefaultTextColor();
236 DataDrivenPropertyValue<Color> getTextColor() const;
237 void setTextColor(DataDrivenPropertyValue<Color>);
241 static DataDrivenPropertyValue<Color> getDefaultTextHaloColor();
[all …]
H A Dfill_layer.hpp51 static DataDrivenPropertyValue<Color> getDefaultFillColor();
52 DataDrivenPropertyValue<Color> getFillColor() const;
53 void setFillColor(DataDrivenPropertyValue<Color>);
57 static DataDrivenPropertyValue<Color> getDefaultFillOutlineColor();
58 DataDrivenPropertyValue<Color> getFillOutlineColor() const;
59 void setFillOutlineColor(DataDrivenPropertyValue<Color>);
H A Dcircle_layer.hpp45 static DataDrivenPropertyValue<Color> getDefaultCircleColor();
46 DataDrivenPropertyValue<Color> getCircleColor() const;
47 void setCircleColor(DataDrivenPropertyValue<Color>);
93 static DataDrivenPropertyValue<Color> getDefaultCircleStrokeColor();
94 DataDrivenPropertyValue<Color> getCircleStrokeColor() const;
95 void setCircleStrokeColor(DataDrivenPropertyValue<Color>);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/annotation/
H A Dannotation.hpp39 style::DataDrivenPropertyValue<Color> color_ = Color::black()) in LineAnnotation()
48 style::DataDrivenPropertyValue<Color> color;
55 style::DataDrivenPropertyValue<Color> color_ = Color::black(), in FillAnnotation()
56 style::DataDrivenPropertyValue<Color> outlineColor_ = {}) in FillAnnotation()
64 style::DataDrivenPropertyValue<Color> color;
65 style::DataDrivenPropertyValue<Color> outlineColor;
/OK3568_Linux_fs/u-boot/tools/patman/
H A Dterminal.py55 col = Color()
56 text = col.Color(colour, text)
85 col = Color()
86 print(col.Color(line.colour, line.text), end='')
93 class Color(object): class
142 def Color(self, color, text, bright=True): member in Color
H A Dseries.py106 col = terminal.Color()
116 print(col.Color(col.GREEN, ' %s' % args[upto]))
120 email = col.Color(col.YELLOW, "<alias '%s' not found>"
188 col = terminal.Color()
197 print(col.Color(col.RED, str))
200 print(col.Color(col.RED, str))
203 print(col.Color(col.RED, str))
222 col = terminal.Color()
239 print(col.Color(col.YELLOW, 'Skipping "%s"' % x))
H A Dcheckpatch.py136 msg_type = col.Color(col.YELLOW, msg_type)
138 msg_type = col.Color(col.RED, msg_type)
140 msg_type = col.Color(col.MAGENTA, msg_type)
146 col = terminal.Color()
155 result.warnings, result.checks, col.Color(col.BLUE, fname)))
173 print(col.Color(color, str % (error_count, warning_count, check_count)))
/OK3568_Linux_fs/buildroot/support/testing/tests/package/
H A Dsample_python_colorzero.py1 from colorzero import Color
3 red = Color('red')
4 green = Color('lime')
5 blue = Color('blue')
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/programs/
H A Duniforms.hpp13 MBGL_DEFINE_UNIFORM_SCALAR(Color, u_color);
22 MBGL_DEFINE_UNIFORM_SCALAR(Color, u_stroke_color);
24 MBGL_DEFINE_UNIFORM_SCALAR(Color, u_fill_color);
25 MBGL_DEFINE_UNIFORM_SCALAR(Color, u_halo_color);
28 MBGL_DEFINE_UNIFORM_SCALAR(Color, u_outline_color);
/OK3568_Linux_fs/u-boot/tools/buildman/
H A Dcontrol.py60 col = terminal.Color()
73 print ' ', col.Color(col.YELLOW, commit.hash[:8], bright=False),
112 col = terminal.Color()
123 print col.Color(col.BLUE, 'Available architectures: %s\n' %
130 print col.Color(col.CYAN, '\nDownloading toolchains: %s' %
163 sys.exit(col.Color(col.RED, msg))
165 sys.exit(col.Color(col.RED, "Range '%s' has no commits" %
168 print col.Color(col.YELLOW, msg)
174 sys.exit(col.Color(col.RED, str))
195 sys.exit(col.Color(col.RED, 'No matching boards found'))
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/
H A Dcolor.cpp8 optional<Color> Color::parse(const std::string& s) { in parse()
25 std::string Color::stringify() const { in stringify()
34 std::array<double, 4> Color::toArray() const { in toArray()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/
H A Dpaint_property.hpp66 using EvaluatorType = PropertyEvaluator<Color>;
67 using PossiblyEvaluatedType = Color;
68 using Type = Color;
71 static Color defaultValue() { return {}; } in defaultValue()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/conversion/
H A Dmake_property_setters.hpp87 …result["fill-color"] = &setProperty<FillLayer, DataDrivenPropertyValue<Color>, &FillLayer::setFill… in makePaintPropertySetters()
89 …result["fill-outline-color"] = &setProperty<FillLayer, DataDrivenPropertyValue<Color>, &FillLayer:… in makePaintPropertySetters()
100 …result["line-color"] = &setProperty<LineLayer, DataDrivenPropertyValue<Color>, &LineLayer::setLine… in makePaintPropertySetters()
121 …result["icon-color"] = &setProperty<SymbolLayer, DataDrivenPropertyValue<Color>, &SymbolLayer::set… in makePaintPropertySetters()
123 …result["icon-halo-color"] = &setProperty<SymbolLayer, DataDrivenPropertyValue<Color>, &SymbolLayer… in makePaintPropertySetters()
135 …result["text-color"] = &setProperty<SymbolLayer, DataDrivenPropertyValue<Color>, &SymbolLayer::set… in makePaintPropertySetters()
137 …result["text-halo-color"] = &setProperty<SymbolLayer, DataDrivenPropertyValue<Color>, &SymbolLayer… in makePaintPropertySetters()
150 …result["circle-color"] = &setProperty<CircleLayer, DataDrivenPropertyValue<Color>, &CircleLayer::s… in makePaintPropertySetters()
166 …result["circle-stroke-color"] = &setProperty<CircleLayer, DataDrivenPropertyValue<Color>, &CircleL… in makePaintPropertySetters()
184 …result["fill-extrusion-color"] = &setProperty<FillExtrusionLayer, DataDrivenPropertyValue<Color>, … in makePaintPropertySetters()
[all …]
H A Dconstant.cpp34 optional<Color> Converter<Color>::operator()(const Convertible& value, Error& error) const { in operator ()()
41 optional<Color> color = Color::parse(*string); in operator ()()

1234567