Lines Matching refs:SkShader
47 DEF_MTNAME(SkShader)
874 SkShader* shader = paint->getShader();
942 static const char* mode2string(SkShader::TileMode mode) {
948 static const char* gradtype2string(SkShader::GradientType t) {
957 SkShader* shader = get_ref<SkShader>(L, 1);
962 SkShader* shader = get_ref<SkShader>(L, 1);
966 SkShader::TileMode modes[2];
968 case SkShader::kDefault_BitmapType:
984 SkShader* shader = get_ref<SkShader>(L, 1);
986 SkShader::GradientInfo info;
996 SkShader::GradientType t = shader->asAGradient(&info);
998 if (SkShader::kNone_GradientType != t) {
1015 get_ref<SkShader>(L, 1)->unref();
1500 REG_CLASS(L, SkShader);