Home | History | Annotate | Download | only in graphics

Lines Matching refs:Gradient

28 #include "Gradient.h"
36 Gradient::Gradient(const FloatPoint& p0, const FloatPoint& p1)
50 Gradient::Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio)
64 Gradient::~Gradient()
69 void Gradient::adjustParametersForTiledDrawing(IntSize& size, FloatRect& srcRect)
91 void Gradient::addColorStop(float value, const Color& color)
104 void Gradient::addColorStop(const Gradient::ColorStop& stop)
112 static inline bool compareStops(const Gradient::ColorStop& a, const Gradient::ColorStop& b)
117 void Gradient::sortStopsIfNecessary()
127 // Shortcut for the ideal case (ordered 2-stop gradient)
134 void Gradient::getColor(float value, float* r, float* g, float* b, float* a) const
177 int Gradient::findStop(float value) const
201 bool Gradient::hasAlpha() const
211 void Gradient::setSpreadMethod(GradientSpreadMethod spreadMethod)
218 void Gradient::setGradientSpaceTransform(const AffineTransform& gradientSpaceTransformation)
225 void Gradient::setPlatformGradientSpaceTransform(const AffineTransform&)