Search found 98 matches: distance

Return to advanced search

Re: cyclometric circle

... For a sample the number 1 is on row 10 col 234 I think it are pixel ? This is the last Source code it seems run ok also the distance method #include "FiveWin.ch"#include "constant.ch"#define COLOR_BTNFACE 15#define PS_SOLID   0Function Test()  ...
by Silvio.Falconi
Tue Jul 12, 2022 8:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3032

Re: cyclometric circle

... oDlg  SIZE 80,22 ACTION oDlg:End()   @ 100,10 BUTTON oBtnPos PROMPT "Test position" of oDlg  SIZE 80,22 ;   ACTION oCicloMetric:Distance(90,45)     oDlg:bResized := <||     local oRect := oDlg:GetCliRect()        oBtnClose:nLeft    := oRect:nRight - 100    ...
by Silvio.Falconi
Mon Jul 11, 2022 6:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3032

Re: cyclometric circle

... so the number 45 at 18.00 and on circle must be draw a pixel near to number I think the positions must be save on array because I can calc the distance beetween two numbers
by Silvio.Falconi
Mon Jul 11, 2022 4:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3032

cyclometric circle

... https://i.postimg.cc/Mp5rzJhz/hhh.png I need to do this because I could do some statistics in the Italian lotto and calculate the distance between two numbers for example between 90 and 45 the distance is 45 as you can see in this figure https://i.postimg.cc/JzFZNTXb/Cerchio-Ciclometrico-01.gif
by Silvio.Falconi
Mon Jul 11, 2022 12:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3032

Re: print pixels in certain positions

... I can send you all types It have the width 10 the length 20.5 In this coupon there are 5 boxes box 1 (Numbers) the circle "1" is at a distance x from the edge 0.8 and a distance y from the edge 2.7 each circle has a size of 0.50 (A) the distance between the two circles (B) is 1.2 the ...
by Silvio.Falconi
Fri Mar 18, 2022 8:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: print pixels in certain positions
Replies: 13
Views: 725

print pixels in certain positions

... of the receipt, and at 21.40 with respect to the top of the receipt the measurements are expressed in millimeters in the picture the horizontal distance between boxes is 5.45 and the vertical distance is 3.9 Any solution please ?
by Silvio.Falconi
Fri Mar 18, 2022 9:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: print pixels in certain positions
Replies: 13
Views: 725

Re: Border around GET

... like a detection of the needed textcolor like contrast used in xBrowse You can select a background and a wanted border-color, a defined border-distance and much more like You can see on the radioselection-area. glowing borders with a defined distance from the object outline http://www.service-fivewin.de/images/bordt1.jg ...
by ukoenig
Sun May 30, 2021 8:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Border around GET
Replies: 46
Views: 13694

Re: Draw on top of a photo

... FREE_LINE(Object, hDC, nTop, nLeft, nBottom, nRight, nLineType , nColor, nPensize, nTransp ) the used values with calculated size ( 10 = the given distance from border ) oImage:bPainted    := < |hDC|          nHeight := oImage:nHeight - 20        nWidth := oImage:nWidth - 10        FREE_LINE(oImage, ...
by ukoenig
Wed May 12, 2021 5:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Draw on top of a photo
Replies: 3
Views: 550

Re: calculates the distance between two towns

Hello Antonino, hello Silvio,

Thank you.

I have found the problem. On my system 667px-Map_marker.svg.png is missing.
Now all is working fine.

Best regards,
Otto
by Otto
Mon Oct 19, 2020 2:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706

Re: calculates the distance between two towns

yes sorry https://i.postimg.cc/0yStsgyb/ggg.png // sample for Sillian local oMarker := FW_ReadImage(oWnd,"marker.png") DEFINE WINDOW oWnd TITLE "Map Test" SetWndDefault(oWnd) oMap := TMapControl():New() // open the class oMap:SetCenter(12.417510,46.747540,10) / se...
by Silvio.Falconi
Mon Oct 19, 2020 9:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706

Re: calculates the distance between two towns

Otto, have you see my post in previous page?

Silvio.Falconi wrote:oMap:addmarker(12.417510,46.747540,bdraw)

Silvio, you keep forgetting the radius parameter
by AntoninoP
Mon Oct 19, 2020 9:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706

Re: calculates the distance between two towns

Thank you, Silvio.
But here the markers do not work.
Why do you have another bDraw block.
Would you be so kind to post yours.
Best regards,
Otto
by Otto
Mon Oct 19, 2020 9:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706

Re: calculates the distance between two towns

Hello Silvio, This is what I tried. But I do not see the marker. I see that the array containing the marker is filled. But in my case, the marker is not painted. Best regards, Otto you not see any markers because your lat and long are wrong    local  dist :=0   local  lat1:=46.7528                 ...
by Silvio.Falconi
Mon Oct 19, 2020 8:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706

Re: calculates the distance between two towns

Hi Otto, see this piece of code:   bDraw := {|hDC,x,y| FW_DrawImage(hDC, oMarker, {y-30,x-10,y,x+10},.t.) }   oMap:AddMarker(13.7025,42.6582,30,bDraw) The method AddMarker has parameters: Longitude, Latitude, Radius and a Block, The map drawing code calls the Bloc...
by AntoninoP
Mon Oct 19, 2020 6:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706

Re: calculates the distance between two towns

Hello Silvio,
This is what I tried. But I do not see the marker.
I see that the array containing the marker is filled. But in my case, the marker is not painted.
Best regards,
Otto
by Otto
Mon Oct 19, 2020 6:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706
PreviousNext

Return to advanced search