Draw tbitmap with scale and alpha channel faster
问题 The following code copies a large bitmap blends it with the correct background and then draws a semi transparent image with a clipped region to save draw time... Images are in an array and prescaled... This has been through several levels of optimization based on my limited knowledge of C++ and the Builder graphics... Edit: Updated code... blend(); void blend(Graphics::TBitmap *dst,int x,int y,Graphics::TBitmap *src,BYTE alpha) { const int n=3; // pixel align [Bytes] int dx0,dy0,dx1,dy1, //