Searched refs:subpixel_snap (Results 1 – 3 of 3) sorted by relevance
232 static INLINE int subpixel_snap( float a ) in subpixel_snap() function426 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset); in try_setup_line()427 x[1] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset); in try_setup_line()428 x[2] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset); in try_setup_line()429 x[3] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset); in try_setup_line()431 y[0] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) - fixed_width/2; in try_setup_line()432 y[1] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) - fixed_width/2; in try_setup_line()433 y[2] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) + fixed_width/2; in try_setup_line()434 y[3] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) + fixed_width/2; in try_setup_line()523 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset) - fixed_width/2; in try_setup_line()[all …]
295 subpixel_snap(float a) in subpixel_snap() function316 (subpixel_snap(size) + FIXED_ONE/2 - 1) & ~(FIXED_ONE-1)); in try_setup_point()318 const int x0 = subpixel_snap(v0[0][0] - setup->pixel_offset) - fixed_width/2; in try_setup_point()319 const int y0 = subpixel_snap(v0[0][1] - setup->pixel_offset) - fixed_width/2; in try_setup_point()
49 subpixel_snap(float a) in subpixel_snap() function796 position->x[0] = subpixel_snap(v0[0][0] - setup->pixel_offset); in calc_fixed_position()797 position->x[1] = subpixel_snap(v1[0][0] - setup->pixel_offset); in calc_fixed_position()798 position->x[2] = subpixel_snap(v2[0][0] - setup->pixel_offset); in calc_fixed_position()801 position->y[0] = subpixel_snap(v0[0][1] - setup->pixel_offset); in calc_fixed_position()802 position->y[1] = subpixel_snap(v1[0][1] - setup->pixel_offset); in calc_fixed_position()803 position->y[2] = subpixel_snap(v2[0][1] - setup->pixel_offset); in calc_fixed_position()