I am using setPixel and getPixel functions but they are using matrices which is naturally rectangle.I am trying to copy pixels shaped like circle !
update : now i am using this but i hope there is something more efficient than this one :
for(int i=0;i<eHeight ; i++)
for(int j=0;j<eWidth ; j++)
if( Math.pow((i-eHeight/2),2) + Math.pow((j-eWidth/2),2) < Math.pow((eHeight/2),2))
mutable.setPixel((int)xpos+j, (int)ypos+i, r[i*eWidth + j]) ;