Lines Matching refs:swidth

1162     lv_coord_t swidth = style->body.shadow.width;  in lv_draw_shadow_full()  local
1172 int16_t filter_width = 2 * swidth + 1; in lv_draw_shadow_full()
1173 uint32_t curve_x_size = ((radius + swidth + 1) + 3) & ~0x3; /*Round to 4*/ in lv_draw_shadow_full()
1177 uint32_t line_2d_blur_size = ((radius + swidth + 1) + 3) & ~0x3; /*Round to 4*/ in lv_draw_shadow_full()
1226 for(line = 0; line <= radius + swidth; line++) { /*Check all rows and make the 1D blur to 2D*/ in lv_draw_shadow_full()
1228 …for(col = 0; col <= radius + swidth; col++) { /*Check all pixels in a 1D blur line (from the origo… in lv_draw_shadow_full()
1234 for(line_rel = -swidth; line_rel <= swidth; line_rel++) { in lv_draw_shadow_full()
1246 if(col_rel < -swidth) { /*Outside of the blurred area. */ in lv_draw_shadow_full()
1247 if(line_rel == -swidth) in lv_draw_shadow_full()
1251 } else if(col_rel > swidth) in lv_draw_shadow_full()
1254 … px_opa_sum += line_1d_blur[swidth - col_rel]; /*On the 1D blur (+ swidth to align to the center)*/ in lv_draw_shadow_full()
1315 lv_coord_t swidth = style->body.shadow.width; in lv_draw_shadow_bottom() local
1321 swidth += aa; in lv_draw_shadow_bottom()
1325 lv_opa_t line_1d_blur_size = (swidth + 3) & ~0x3; /*Round to 4*/ in lv_draw_shadow_bottom()
1346 for(col = 0; col < swidth; col++) { in lv_draw_shadow_bottom()
1347 line_1d_blur[col] = (uint32_t)((uint32_t)(swidth - col) * opa / 2) / (swidth); in lv_draw_shadow_bottom()
1372 for(d = 0; d < swidth; d++) { in lv_draw_shadow_bottom()
1397 for(d = 0; d < swidth; d++) { in lv_draw_shadow_bottom()
1409 lv_coord_t swidth = style->body.shadow.width; in lv_draw_shadow_full_straight() local
1442 for(d = 1 /*+ LV_ANTIALIAS*/; d <= swidth /* - LV_ANTIALIAS*/; d++) { in lv_draw_shadow_full_straight()