开发者

How to draw on TCanvas with performance?

I use a map component named TatukGis and I need to draw some other information on map, it uses TCanvas basically to draw the maps. I'm working with Pixels to create an alpha blend effect that I'd like, but it's very slow, it seems to refresh the开发者_如何学Go canvas on each operation. Some one can give some hints how to use TCanvas in the correctly way to draw the things fast ?

Tks


First write to a bitmap (use ScanLine if you require pixel access), then draw the bitmap to the canvas (CopyRect).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜