Searched refs:gapCount (Results 1 - 1 of 1) sorted by relevance
/third_party/skia/src/shaders/gradients/ |
H A D | SkGradientShader.cpp | 238 // the stop. Assume that the distance between stops is 1/gapCount. 240 SkRasterPipeline_GradientCtx* ctx, float gapCount, size_t stop, SkPMColor4f c_l, SkPMColor4f c_r) { in init_stop_evenly() 243 (c_r.fR - c_l.fR) * gapCount, in init_stop_evenly() 244 (c_r.fG - c_l.fG) * gapCount, in init_stop_evenly() 245 (c_r.fB - c_l.fB) * gapCount, in init_stop_evenly() 246 (c_r.fA - c_l.fA) * gapCount, in init_stop_evenly() 249 c_l.fR - Fs.fR*(stop/gapCount), in init_stop_evenly() 250 c_l.fG - Fs.fG*(stop/gapCount), in init_stop_evenly() 251 c_l.fB - Fs.fB*(stop/gapCount), in init_stop_evenly() 252 c_l.fA - Fs.fA*(stop/gapCount), in init_stop_evenly() 239 init_stop_evenly( SkRasterPipeline_GradientCtx* ctx, float gapCount, size_t stop, SkPMColor4f c_l, SkPMColor4f c_r) init_stop_evenly() argument 355 float gapCount = stopCount - 1; onAppendStages() local [all...] |
Completed in 2 milliseconds