Searched refs:SkFixedFloorToInt (Results 1 – 13 of 13) sorted by relevance
306 if (SkFixedFloorToInt(y) != SkFixedFloorToInt(nextY)) { in flush_if_y_changed()743 int L = SkFixedFloorToInt(ul), R = SkFixedCeilToInt(lr); in blit_aaa_trapezoid_row()779 int uL = SkFixedFloorToInt(ul); in blit_aaa_trapezoid_row()800 int uR = SkFixedFloorToInt(ur); in blit_aaa_trapezoid_row()935 SkFixedFloorToInt(joinLeft), in blit_trapezoid_row()936 SkFixedFloorToInt(joinRite - joinLeft), in blit_trapezoid_row()1117 if (SkFixedFloorToInt(currE->fUpperY) >= stop_y) { in aaa_walk_convex_edges()1126 if (SkFixedFloorToInt(currE->fUpperY) >= stop_y) { in aaa_walk_convex_edges()1138 if (SkFixedFloorToInt(y) >= stop_y) { in aaa_walk_convex_edges()1142 SkASSERT(SkFixedFloorToInt(leftE->fUpperY) <= stop_y); in aaa_walk_convex_edges()[all …]
130 dst->fLeft = SkFixedFloorToInt(xr.fLeft); in XRect_roundOut()131 dst->fTop = SkFixedFloorToInt(xr.fTop); in XRect_roundOut()
409 top = SkFixedFloorToInt(fstart - SK_FixedHalf); in do_anti_hairline()413 top = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf); in do_anti_hairline()486 left = SkFixedFloorToInt(fstart - SK_FixedHalf); in do_anti_hairline()490 left = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf); in do_anti_hairline()
42 if ((unsigned)SkFixedFloorToInt(fx) >= max) { in can_truncate_to_fixed_for_decal()49 return SkTFitsIn<int32_t>(lastFx) && (unsigned)SkFixedFloorToInt(SkTo<int32_t>(lastFx)) < max; in can_truncate_to_fixed_for_decal()
302 if (SkFixedFloorToInt(y) != SkFixedFloorToInt(nextY)) { in flush_if_y_changed()713 int L = SkFixedFloorToInt(ul), R = SkFixedCeilToInt(lr); in blit_aaa_trapezoid_row()746 int uL = SkFixedFloorToInt(ul); in blit_aaa_trapezoid_row()767 int uR = SkFixedFloorToInt(ur); in blit_aaa_trapezoid_row()870 blit_full_alpha(blitter, y, SkFixedFloorToInt(joinLeft), in blit_trapezoid_row()871 SkFixedFloorToInt(joinRite - joinLeft), in blit_trapezoid_row()1017 if (SkFixedFloorToInt(currE->fUpperY) >= stop_y) { in aaa_walk_convex_edges()1026 if (SkFixedFloorToInt(currE->fUpperY) >= stop_y) { in aaa_walk_convex_edges()1038 if (SkFixedFloorToInt(y) >= stop_y) { in aaa_walk_convex_edges()1042 SkASSERT(SkFixedFloorToInt(leftE->fUpperY) <= stop_y); in aaa_walk_convex_edges()[all …]
91 int L = SkFixedFloorToInt(l); in add_coverage_delta_segment()199 rectBot = SkFixedFloorToInt(l.fLowerY); in gen_alpha_deltas()202 int R = SkFixedFloorToInt(r.fUpperX); in gen_alpha_deltas()272 int iy = SkFixedFloorToInt(upperFloor); in gen_alpha_deltas()
140 dst->fLeft = SkFixedFloorToInt(xr.fLeft); in XRect_roundOut()141 dst->fTop = SkFixedFloorToInt(xr.fTop); in XRect_roundOut()
404 top = SkFixedFloorToInt(fstart - SK_FixedHalf); in do_anti_hairline()408 top = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf); in do_anti_hairline()481 left = SkFixedFloorToInt(fstart - SK_FixedHalf); in do_anti_hairline()485 left = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf); in do_anti_hairline()
49 if ((unsigned)SkFixedFloorToInt(fx) >= max) { in can_truncate_to_fixed_for_decal()56 return SkTFitsIn<int32_t>(lastFx) && (unsigned)SkFixedFloorToInt(SkTo<int32_t>(lastFx)) < max; in can_truncate_to_fixed_for_decal()
76 #define SkFixedFloorToInt(x) ((x) >> 16) macro
77 #define SkFixedFloorToInt(x) ((x) >> 16) macro
602 info->fItalicAngle = SkFixedFloorToInt(postTable->italicAngle); in onGetAdvancedMetrics()
638 info->fItalicAngle = SkFixedFloorToInt(postTable->italicAngle); in onGetAdvancedMetrics()