Lines Matching refs:subpixel_snap
236 static inline int subpixel_snap( float a )
441 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset);
442 x[1] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset);
443 x[2] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset);
444 x[3] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset);
446 y[0] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) - fixed_width/2;
447 y[1] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) - fixed_width/2;
448 y[2] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset) + fixed_width/2;
449 y[3] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) + fixed_width/2;
538 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset) - fixed_width/2;
539 x[1] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset) - fixed_width/2;
540 x[2] = subpixel_snap(v2[0][0] + x_offset_end - setup->pixel_offset) + fixed_width/2;
541 x[3] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset) + fixed_width/2;
543 y[0] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset);
544 y[1] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset);
545 y[2] = subpixel_snap(v2[0][1] + y_offset_end - setup->pixel_offset);
546 y[3] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset);