Testing GDIPLUS I noticed a missing brush like used in
oGraphics:DrawRect( oPen, oBrush , 400, 400, 70, 60 ) // oPen, [oBrush], nLeft, nTop, nWidth, nHight
oGraphics:DrawEllipse( oPen, oBrush , 500, 100, 60, 60 ) // oPen, [oBrush], nLeft, nTop, nWidth, nHight

existing method DrawPath for RoundRect :
oPath := Path():new()
oPath:AddRoundRect( 500, 400, 80, 100, 30 )
oGraphics:DrawPath( oPen, oPath )
to be changed
or is there another solution
oPath := Path():new()
oPath:AddRoundRect( 630, 400, 80, 100, 30 )
oGraphics:DrawPath( oPen, oBrush, oPath )
regards
Uwe
oGraphics:DrawRect( oPen, oBrush , 400, 400, 70, 60 ) // oPen, [oBrush], nLeft, nTop, nWidth, nHight
oGraphics:DrawEllipse( oPen, oBrush , 500, 100, 60, 60 ) // oPen, [oBrush], nLeft, nTop, nWidth, nHight

existing method DrawPath for RoundRect :
oPath := Path():new()
oPath:AddRoundRect( 500, 400, 80, 100, 30 )
oGraphics:DrawPath( oPen, oPath )
to be changed
or is there another solution
oPath := Path():new()
oPath:AddRoundRect( 630, 400, 80, 100, 30 )
oGraphics:DrawPath( oPen, oBrush, oPath )
regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
