I create a bitmap from a text

how do you create a bitmap with round corners?
there is a function similar to FillRectEx that builds a rect with round angles ?
I tried with this ( inserting it at 2046 line)
RectRound( hDC2, 0, 0, nWidth,nHeight, 20, 20 )
but not run

how do you create a bitmap with round corners?
there is a function similar to FillRectEx that builds a rect with round angles ?
I tried with this ( inserting it at 2046 line)
RectRound( hDC2, 0, 0, nWidth,nHeight, 20, 20 )
but not run
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com