static int blend(int x, int y, double yish) { double xish = 1-yish; ret (int) (x.x*xish+y.x*yish); }