for(x=0;x<w;x++)SC0[x+2]=pen.x()[x]*24;
memset(SC1,0,(w+2)*sizeof(typename T::value_type));
memset(SC2,0,(w+2)*sizeof(typename T::value_type));
for(x=0;x<w;x++)SC0[x+2]=pen.x()[x]*24;
memset(SC1,0,(w+2)*sizeof(typename T::value_type));
memset(SC2,0,(w+2)*sizeof(typename T::value_type));