Home | History | Annotate | Download | only in openvg

Lines Matching refs:Color

23 #include "Color.h"
85 static VGuint colorToVGColor(const Color& color)
87 VGuint vgColor = color.red();
88 vgColor = (vgColor << 8) | color.green();
89 vgColor = (vgColor << 8) | color.blue();
90 vgColor = (vgColor << 8) | color.alpha();
94 static void setVGSolidColor(VGPaintMode paintMode, const Color& color)
98 vgSetColor(paint, colorToVGColor(color));
113 Color fillColor;
115 Color strokeColor;
129 , fillColor(Color::black)
198 // We implement that by multiplying DST with white color
548 Color PainterOpenVG::strokeColor() const
554 void PainterOpenVG::setStrokeColor(const Color& color)
559 m_state->strokeColor = color;
560 setVGSolidColor(VG_STROKE_PATH, color);
563 Color PainterOpenVG::fillColor() const
569 void PainterOpenVG::setFillColor(const Color& color)
574 m_state->fillColor = color;
575 setVGSolidColor(VG_FILL_PATH, color);