Searched refs:gradientInfo (Results 1 – 2 of 2) sorted by relevance
1500 SkShader::GradientInfo gradientInfo; in populate_graphic_state_entry_from_paint() local1502 gradientInfo.fColors = &gradientColor; in populate_graphic_state_entry_from_paint()1503 gradientInfo.fColorOffsets = nullptr; in populate_graphic_state_entry_from_paint()1504 gradientInfo.fColorCount = 1; in populate_graphic_state_entry_from_paint()1505 SkAssertResult(shader->asAGradient(&gradientInfo) == SkShader::kColor_GradientType); in populate_graphic_state_entry_from_paint()
1513 SkShader::GradientInfo gradientInfo; in populate_graphic_state_entry_from_paint() local1515 gradientInfo.fColors = &gradientColor; in populate_graphic_state_entry_from_paint()1516 gradientInfo.fColorOffsets = nullptr; in populate_graphic_state_entry_from_paint()1517 gradientInfo.fColorCount = 1; in populate_graphic_state_entry_from_paint()1518 SkAssertResult(shader->asAGradient(&gradientInfo) == SkShader::kColor_GradientType); in populate_graphic_state_entry_from_paint()