to 吕雪松: 我的问题仍然没有解决,绘Polygon时画刷只能用到8*8像素,以下是帮助文件中有关TBrush.Bitmap的说明:
Specifies an external bitmap image that defines a pattern for the brush.
property Bitmap: TBitmap;
Description
Bitmap points to a TBitmap object that holds a BMP image. If Bitmap is nonempty, the BMP image (rather than the Style property) defines the brush抯 pattern. If the image is larger than eight pixels by eight pixels, only the top left eight-by-eight region is used.
Changing the image does not affect the brush until the TBitmap is reassigned to the Bitmap property. Be sure to free the TBitmap after finishing with the brush, since TBrush will not free it.
请注意一下 eight pixels by eight pixels的要求。谢谢