Mr. Rao,
thank You very much for the replay
the image shows a splitted selection of image-backgrounds and brushes on the right
The background can be selected from one of the browsers.
I'm thinking about to display the brushimages as a TILED image adjusted to cellsize.
To create a brush for each image will be very hard to handle
the images on the lefthandside I display using
:aCols[ I ]:bPaintText := { | .....and GDI-functions
that was the reason thinking about
::hBrush = GdiPlusNewTextureBrush( oGdiBmp:hbmp )
like using for the background-images :
oImage := GDIBmp():new( c_path + cData )
oGraphics:DrawImage( oImage, nTop + nAdjust, nLeft, nWidth, nHeight )
oImage:End()
oGraphics:Destroy()
with oGraphics:DrawImage I can adjust the image to the cellsize
but not showing a brush-result
best regards
Uwe