Dibujar un rectangulo con vertices redondeados

Dibujar un rectangulo con vertices redondeados

Postby horacio » 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
horacio
 
Posts: 1358
Joined: Wed Jun 21, 2006 12:39 am
Location: Capital Federal Argentina

Re: Dibujar un rectangulo con vertices redondeados

Postby Marcelo Via Giglio » Wed Feb 19, 2014 1: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
Marcelo Via Giglio
 
Posts: 1050
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: Dibujar un rectangulo con vertices redondeados

Postby horacio » 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
horacio
 
Posts: 1358
Joined: Wed Jun 21, 2006 12:39 am
Location: Capital Federal Argentina


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 9 guests