Search found 24 matches: polypolygon

Return to advanced search

BtnBmp and oPopup

... friends, I have expanded the TBtnBmp. Now, when I insert a PopupMenu, I can select the width of the clickable area and use a bitmap instead of the PolyPolygon. Best regards, Otto METHOD PaintPopupSection() CLASS TBtnBmp   local nWidth, nHeight, hDC   local hBlackBrush, hOldBrush   local ...
by Otto
Fri Jun 02, 2023 7:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and oPopup
Replies: 4
Views: 395

Re: cyclometric circle

... connected by straight lines. The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode. PolyPolygon https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-polypolygon The PolyPolygon function draws a series of closed ...
by Jimmy
Mon Aug 01, 2022 5:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3024

Re: cyclometric circle

...    aPoints [1]  := {aNumpos[nAt1][2], aNumpos[nAt1][3]}       *   PolyPolygon( ::oWnd:GetDC(),aPoints)     ::line( aPoints [1][1],aPoints [1][2],aPoints [2][1],aPoints ...
by Silvio.Falconi
Tue Jul 12, 2022 3:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3024

Re: Cut out an area of the screen

... DEFINE BRUSH oBru DEFINE DIALOG oPlg PIXEL STYLE nOR(WS_POPUP) BRUSH oBru TRANSPARENT ACTIVATE DIALOG oPlg return I draw on it oPlg:Line() oPlg:PolyPolygon(GetDc(oPlg:hWnd),..) and etc. Then I want to erase the painting.
by Natter
Sat Apr 20, 2019 7:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cut out an area of the screen
Replies: 15
Views: 1883

Drawing and erasing on the window

Using the polypolygon() function, I draw different polygons on the window. Before drawing each new polygon, I need to clear the eye. How do I do it better
by Natter
Fri Apr 19, 2019 8:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drawing and erasing on the window
Replies: 0
Views: 298

Re: Ayuda DLL

Antonio, aquí la segunda parte: Error: Unresolved external '_HB_FUN_DRAWTHEMED' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_GETDLGBASEUNITS' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_CDLG2CHR' referenced from P...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6330

Re: Dibujar un Poligono

Si puedes disponer de los puntos de los vértices puedes usar la function PolyPolygon incluida en Fw

https://msdn.microsoft.com/en-us/librar ... 18(v=vs.85).aspx

Qué datos vas a tener inicialmente?
by cnavarro
Sat Oct 24, 2015 5:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dibujar un Poligono
Replies: 6
Views: 844

Re: New Rating Class

Silvio,

What drawing do you get with this code ?

aPoints = PolyForms( rc[1]-2, rc[2]-8,::nStarWidth,::nStarHeight,5,-18,31 )
aPoints = { aPoints[ 9 ], aPoints[ 10 ], aPoints[ 1 ], aPoints[ 2 ], aPoints[ 3 ], aPoints[ 4 ], aPoints[ 9 ] }
PolyPolygon( ::hDc, aPoints )
by Antonio Linares
Thu Dec 18, 2014 1:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Rating Class
Replies: 60
Views: 19558

Re: Line arround polypolygon

... nRGB( 255, 0, 0) )hOldBrush := SelectObject( sWnd:hDC, hBrush1 )hOldPen := SelectObject( sWnd:hDC, hPen1 )polypolygon( sWnd:hDC, vsolid ) Marc
by Marc Vanzegbroeck
Fri Jun 29, 2012 11:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Line arround polypolygon
Replies: 1
Views: 338

Line arround polypolygon

... with the coördinates) local hBrush1  := CreateSolidBrush( nRGB( 255, 0, 0) )hOldBrush := SelectObject( sWnd:hDC, hBrush1 )polypolygon( sWnd:hDC, vsolid ) The polygon is drawn in red, but there is a black line around it, how can I change this color? Thanks, MArc
by Marc Vanzegbroeck
Fri Jun 29, 2012 9:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Line arround polypolygon
Replies: 1
Views: 338

Re: Help for ExplorerBar to Daniel or Antonio

... erase the line ( border) at the right http://img339.imageshack.us/img339/3808/borderdl.jpg then I create a mine round setup with PolyPolygon function it run ok but on the top there is an error at left and righr where the function PolyPolygon create the round angle ( you can see ...
by MdaSolution
Sat Jul 03, 2010 9:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for ExplorerBar to Daniel or Antonio
Replies: 18
Views: 4251

Re: Se necesita ayuda en el wiki !

... PalBtnPaint() ParamCount() pBmpColors() pBmpHeigh() pBmpWidth() PeekByte() PeekMessage() PeekWord() Pie() PlayMetafile() PokeByte() PokeWord() PolyPolygon() PostMessage() PostQuitMessage() PrintBegin() PrinterEsc() PrinterSetup() PrnBinSource() PrnDuplex() PrnGetName() PrnGetOrientation() PrnGetPort() ...
by Cgallegoa
Tue Feb 23, 2010 3:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5502

creating with polygon function

... a sample to use polygon AAdd( ::aVertex, { x, y, z } ) obj:AddVertex( 100, 80, 50 ) obj:AddVertex( 200, 85, 75 ) obj:AddVertex( 300, 60, 40 ) PolyPolygon( hDC, ::aVertex ) But I not understand How I can create a draw with this function can you help me and drar a sample as a button
by Silvio
Sat Dec 19, 2009 4:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: creating with polygon function
Replies: 0
Views: 241

PolyPoligon() Manejar mapas e imagenes

Hola. Alguien tiene un ejemplo de Polypolygon() ? Deseo manipular unos mapas. Es decir. Tengo ya la imagen del mapa y tengo que reflejar con diferentes colores los resultados de una base de datos. ejemplo. Poblacion de mujeres de un color ...
by Saloh
Wed Jan 14, 2009 4:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PolyPoligon() Manejar mapas e imagenes
Replies: 1
Views: 340

William,

Una solucion rapida es que declares esta funcion en tu PRG principal:

function PolyPolygon() ; return nil

en el caso de que no uses esa funcion desde otra parte de tu aplicacion.
by Antonio Linares
Mon Dec 08, 2008 10:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: BUTTONBMP duda
Replies: 4
Views: 788
Next

Return to advanced search