SkNoncopyable

      ∟SkRefCnt

       ∟SkFlattenable

            ∟SkShader

∟Gradient_Shader            ---->通过SkGradientShader创建

∟SkFilterShader

∟SkColorShader

∟SkComposeShader

∟SkBitmapProcShader

∟Sk3DShader

∟SkTriColorShade

/** \class SkShader
 *
 *  SkShader is the based class for objects that return horizontal spans of
 *  colors during drawing. A subclass of SkShader is installed in a SkPaint
 *  calling paint.setShader(shader). After that any object (other than a bitmap)
 *  that is drawn with that paint will get its color(s) from the shader.
 */

  继续看代码-->

 

ezhong的博客园:http://www.cnblogs.com/ezhong/