Rotating a square TBitmap on its center
you are doing this the other way around so there may be present holes in the resulting image because you are looping the source pixels with 1 pixel step …. to remedy this loop the target pixels instead… loop through bitmap2 pixels (x2,y2) for each compute rotated-back (x1,y1) position in bitmap1 copy pixel value if … Read more