hi, do you want to know if Point X,Y is "in" Polygon :?: if yes try this FUNCTION IsPointInPolygon(x, y, poly) LOCAL isInside := .F. LOCAL numVertices := Len(poly) FOR i:=1 TO numVertices LOCAL j := Mod(i, ...
There is a polygon (aPlg:={{X,Y},{X,Y},,,{X,Y}}). How can I determine that a point (aPnt={X,Y}) belongs to this polygon? I have tried several algorithms, but they all give the wrong result
... when I select another record in the xbrowse , the class doesn't delete the previously drawn lines, how can I fix it? I would like to fill the polygon space with a gradient color but I can't do that test.prg #include "fivewin.ch"#include "constant.ch"Function Test() ...
hi Silvio, Now How I can to refill the area with transparent color ? have not work with it yet i "think" you need Polygon API Function https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-polygon The Polygon function draws a polygon consisting of ...
... 0,0 OF oDlg NOBORDER oImg:SetColor( CLR_GRAY, CLR_HRED ) // Added ACTIVATE DIALOG oDlg CENTERED Now you will see the border of the polygon in CLR_HRED. You can test changing the background color in oImg:SetColor() and see that the border is shown in the background color of the control. ...
Natter wrote:Hi, 1. When viewing .bmp in Windows the polygon frame has turned black 2. When opening .bmp in TBitmap or Timage the polygon frame turns white
That means the color used for the border is an alpha color/ transparent color. We need the boundary in RGB color to use floodfill
Hi, I need to paint over the space around the polygon in the picture - floodfill(). On the window, using the :line() method, I limit the green polygon. I make a bitmap of this window FW_MakeYourBitmap() and save it to the file FW_Save Image(). - ...
... pixels around the coordinates of the mouse cursor. 3. Determine that it is a white color and change it. Only it's a long time. You can specify the polygon with the corresponding color yourself In words you are all good, I know what I should do, if I asked how to do it it means that perhaps I have ...
... Local 2: C " " Local 5: C " var mymap = L.map('mapid').setView( [ 40.4597525, -3.4822266 ], 13); " Local 6: C " L.polygon([ [ 40.4597525, -3.4822266], [ 40.4646123, -3.4649566], [ 40.4559019, -3.477471] ]).addTo(mymap).bindPopup('I am a polygon.'); L.marker( [ 40.4597525, ...
... Local 2: C " Local 3: U Local 4: U Local 5: C " var mymap = L.map('mapid').setView( [ " Local 6: C " L.polygon([ " Local 7: U Local 8: U Local 9: C " var mymap = L.map('mapid').setView( [ " Local 10: N 0 Local 11: C ", " Local ...
... the gurus are able to make it , I not found the part of code where tcalex show that text or create that box tab perhaps we can modify it with polygon function to draw a good tab.
I drew something on the window - a line, a polygon, etc.. Then I want to erase the painting. So, you are not talking about the desktop, but FWH application window. If you let us see your code how are you drawing and displaying the line, polygon, ...