Need a small VB6 function

Completado Publicado Feb 27, 2011 Pagado a la entrega
Completado Pagado a la entrega

The case:

I use some coordinates to draw a line on the screen. (black line in attached file).

I need to create a polygon area over this line, therefor I need a function that returns 4 points that are placed outside the line coordinates (the red points in attached file). The distance between the line and the outerline is selected using a padding size.

The function should work something like this

Dim Points() as POINTAPI

Points = GetPoints(StartX,StartY,EndX,EndY,Padding)

Calling this function should return the 4 points needed to create the outer area of this line.

This code should be written in VB6

Arquitectura de software Visual Basic Visual Basic para aplicaciones

Nº del proyecto: #3132756

Sobre el proyecto

1 propuesta Proyecto remoto Activo Feb 27, 2011

Adjudicado a:

vano101

See private message.

$5 USD en 14 días
(562 comentarios)
6.8