Search found 27 matches: geometric

Return to advanced search

determine geometric figure

having a series of numbers how do you determine which geometric figure (triangle, rectangle, square, pentagon, hexagon) can be drawn? First example if I have these numbers 4, 34, 64 I can make a triangle Second example if I have these numbers 15, 30, ...
by Silvio.Falconi
Wed Sep 25, 2024 7:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: determine geometric figure
Replies: 0
Views: 202

Delete Lines from a graphics

... see on figure the numbers of florence 66,77,4,29,37 the prevision numbers are 28,37,42,33 When I click on xbrowse at right on a row it draw the geometric figure into circle if i click on another row made the same but it does not delete previously created lines , how can I make the procedure ...
by Silvio.Falconi
Tue Sep 24, 2024 6:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Delete Lines from a graphics
Replies: 4
Views: 365

Re: cyclometric circle

... midpoint and the related specific glossary. As it is easy to understand, by joining two or more points on the circumference we obtain different geometric figures. The most used in the cyclometric field are: THE EQUILATERAL TRIANGLE THE ISOSCELE TRIANGLE THE RECTANGLE THE SYMMETRIC QUADRILATERAL ...
by Silvio.Falconi
Tue Dec 06, 2022 12:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 6226

Re: cyclometric circle

* correct the numbers text on the bottom * when drawing the geometric shape corresponding to the xbrowse line, the lines are wrong because they don't point to the real xbrowse values https://i.postimg.cc/7ZmtP4S3/t8.png New code #include ...
by Silvio.Falconi
Fri Dec 02, 2022 1:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 6226

Re: cyclometric circle

... related to my 91 year old mother I tried to solve the problems of both the displacement of numbers (thanks to Jimmy) and also the visualization of geometric figures. Antonino , I'm sorry but your code always sets me the 90 in half circle, while the couple 90 | 01 must be top position Last Release ...
by Silvio.Falconi
Wed Jul 13, 2022 6:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 6226

Re: cyclometric circle

... aPoints [5][1],aPoints [5][2],aPoints [1][1],aPoints [1][2], CLR_RED)  now the geometric shape looks better, but the coordinates are still wrong because they are outside the circle https://i.postimg.cc/c4Fvt9C8/last.png ...
by Silvio.Falconi
Tue Jul 12, 2022 3:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 6226

Re: cyclometric circle

... circle but on numbers and it is wrong also the nDistance is write on bad place the ndistance must be placed on the middle of the line that is, the geometric figure must be inside the circle maybe the numbers (01-90) need to be more attached to the circle line the linked numbers (in my test 11,40,45,54,68) ...
by Silvio.Falconi
Tue Jul 12, 2022 8:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 6226

Re: ExtCreatePen

A pointer to a LOGBRUSH structure. If dwPenStyle is PS_COSMETIC, the lbColor member specifies the color of the pen and the lpStyle member must be set to BS_SOLID. If dwPenStyle is PS_GEOMETRIC, all members must be used to specify the brush attributes of the pen. https://docs.microsoft.c...
by Antonio Linares
Wed Sep 08, 2021 5:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ExtCreatePen
Replies: 10
Views: 1704

Re: ExtCreatePen

Hola.

La función así funciona, pero si pongo PS_COSMETIC me devuelve siempre un pen de color negro y ancho 1. No consigo el color y ancho requerido con PS_COSMETIC que por lo visto es más rápido que PS_GEOMETRIC. Pero no te preocupes, para PENS de menos de 3 de ancho utilizaré el PEN de siempre.
by antolin
Tue Sep 07, 2021 5:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ExtCreatePen
Replies: 10
Views: 1704

Re: ExtCreatePen

Gracias Karinha. Ese es el ejemplo que estaba utilizando. Y funciona: HB_FUNC( EXTCREATPEN )  //  ExtCreatPen( nStyle, nWidth, nRGBColor, nBStyle, nHStyle ) --> hPen   {   LOGBRUSH  lgBrush ;   lgBrush.lbStyle = ( UINT )   IF( ISNIL( 4 ) || !_parni( 4 )  ...
by Antonio Linares
Mon Sep 06, 2021 3:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ExtCreatePen
Replies: 10
Views: 1704

Re: ExtCreatePen

Gracias Karinha. Ese es el ejemplo que estaba utilizando. Y funciona: HB_FUNC( EXTCREATPEN )  //  ExtCreatPen( nStyle, nWidth, nRGBColor, nBStyle, nHStyle ) --> hPen   {   LOGBRUSH  lgBrush ;   lgBrush.lbStyle = ( UINT )   IF&...
by antolin
Mon Sep 06, 2021 12:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ExtCreatePen
Replies: 10
Views: 1704

Re: New TprogressWheel

you can do it
as you do it with tProgress class it is the same ( change only the geometric figure)


DEFINE TIMER oTimer INTERVAL 50 ACTION (oMeter:SetPos(++nPos), iif(nPos>500,oTimer:End(), yourfunction_sound_here)) OF oDlg
ACTIVATE TIMER oTimer
by Silvio.Falconi
Fri Sep 13, 2019 8:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New TprogressWheel
Replies: 72
Views: 13435

Re: Circles - a geometric drawing example

Marcelo,

Many thanks
by Antonio Linares
Wed Jan 30, 2019 6:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Circles - a geometric drawing example
Replies: 13
Views: 2278

Re: Circles - a geometric drawing example

MArcello I allready have paint sources...no need it
by Silvio.Falconi
Tue Jan 29, 2019 7:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Circles - a geometric drawing example
Replies: 13
Views: 2278

Re: Circles - a geometric drawing example

Hi, many years ago ( 10 or more ) paco Garcia build a program to draw with FW, I created the exe and made some improve https://app.box.com/s/4x1438b5q0btxaz8cnvoa7uxlfc1ba54 the exe file link https://app.box.com/s/6lq2lxu3p5lse9bp50put2lxjjesoq1o I need to reorganize the code...
by Marcelo Via Giglio
Mon Jan 28, 2019 6:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Circles - a geometric drawing example
Replies: 13
Views: 2278
Next

Return to advanced search