FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Dibujar un rectangulo con vertices redondeados
Posts: 1364
Joined: Wed Jun 21, 2006 12:39 AM
Dibujar un rectangulo con vertices redondeados
Posted: Tue Feb 18, 2014 10:47 PM

Eso, quiero dibujarlo en una ventana. He buscado en el foro, hay para impresora pero no encontré para hacerlo en una ventana. Alguien sabe ??? Desde ya muchas gracias.

Saludos

Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: Dibujar un rectangulo con vertices redondeados
Posted: Wed Feb 19, 2014 01:43 AM

Hola, del manual de FW

RoundRect()
Previous Top Next

Draws a rectangle with rounded corners.

Syntax:

RoundRect( <hDC>, <nTop>, <nLeft>, <nBottom>, <nRight>, <nEllipseWidth>, <nEllipseHeight> ) --> lSuccess

Parameters:

<hDC> Device context of the control
<nTop> Top coordinate
<nLeft> Left coordinate
<nBottom> Down coordinate
<nRight> Right coordinate
<nEllipseWidth> Specifies the width of the ellipse used to draw the rounded corners
<nEllipseHeight> Specifies the height of the ellipse used to draw the rounded corners

Returns:

<lSuccess> If the function succeeds, the return value is .t., otherwise .f..

Source Code:

SOURCE\WINAPI\RECTS.C

Posts: 1364
Joined: Wed Jun 21, 2006 12:39 AM
Re: Dibujar un rectangulo con vertices redondeados
Posted: Wed Feb 19, 2014 12:07 PM

Marcelo, también lo busqué en el manual pero evidentemente se me pasó por alto, muchísimas gracias.

Saludos

Continue the discussion