Search found 56 matches: lineto

Return to advanced search

signatur.prg How can I know if the user has signed or not?

... ) ) ; VALID ( ReleaseDC( oSig:hWnd, hDC ), .T. ) return nil static function DoDraw( hDc, x, y, lPaint ) if ! lPaint MoveTo( hDC, x, y ) else LineTo( hDc, x, y ) endIf return nil
by MGA
Fri Nov 11, 2022 3:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: signatur.prg How can I know if the user has signed or not?
Replies: 5
Views: 552

Re: oPopUp in class btnbmp

... 1062 //if nCol >= ::nWidth() - 13 if nCol >= ::nWidth() - ::nWide_P Line 2079 //MoveTo( hDC, nWidth - 12 + If( ::lPressed, 1, 0 ), 1 ) //LineTo( hDC, nWidth - 12 + If( ::lPressed, 1, 0 ), nHeight - 1 ) MoveTo( hDC, nWidth - ::nWide_P - 1 + If( ::lPressed, 1, 0 ), 1 ) LineTo( hDC, nWidth ...
by Silvio.Falconi
Mon Oct 17, 2022 7:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPopUp in class btnbmp
Replies: 15
Views: 1335

Re: oPopUp in class btnbmp

... 1062 //if nCol >= ::nWidth() - 13 if nCol >= ::nWidth() - ::nWide_P Line 2079 //MoveTo( hDC, nWidth - 12 + If( ::lPressed, 1, 0 ), 1 ) //LineTo( hDC, nWidth - 12 + If( ::lPressed, 1, 0 ), nHeight - 1 ) MoveTo( hDC, nWidth - ::nWide_P - 1 + If( ::lPressed, 1, 0 ), 1 ) LineTo( hDC, nWidth ...
by Maurizio
Mon Oct 17, 2022 6:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPopUp in class btnbmp
Replies: 15
Views: 1335

Re: Insertar linea en ticket (RESULETO)

... nTop, nLeft, nBottom, nRight, oPen ) INLINE ; (::Cmtr2Pix(@nTop, @nLeft), ::Cmtr2Pix(@nBottom, @nRight),; MoveTo( ::hDCOut, nLeft, nTop ),; LineTo( ::hDCOut, nRight, nBottom,If( oPen != nil, oPen:hPen, 0 ) )) ...y listo. En tu PRG simplemente colocas el oprn:cmline(a,b,c,d) .... y listo. ...
by Loren
Fri Dec 28, 2018 8:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Insertar linea en ticket
Replies: 4
Views: 878

Re: A problem with GETCURSORPOS() and widescreen-monitor ?

... CLR_HRED ) local hOldPen local nTop, nLeft local nWidth, nHeight nTop := 5 nLeft := 5 nWidth := 90 nHeight := 90 MOVETO( hDC, nLeft-1, nTop-1) LINETO( hDC, nLeft + nWidth+1, nTop-1 ) LINETO( hDC, nLeft + nWidth+1, nTop+nHeight+1 ) LINETO( hDC, nLeft -1, nTop+nHeight+1 ) LINETO( hDC, nLeft-1, ...
by ukoenig
Sat Nov 18, 2017 7:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem with GETCURSORPOS() and widescreen-monitor ?
Replies: 24
Views: 5833

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 7723

Re: OT Routing routine

Antonio, This is not done with yWorks, but with a routine I wrote myself :D :D . It is done with LineTo() MoveTo(), ellipse(),.... functions :) Because I want some more complex(bigger) drawings, I was considering using yWorks. Here are some examples on the yWorks-site. ...
by Marc Vanzegbroeck
Thu Dec 15, 2016 8:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OT Routing routine
Replies: 11
Views: 2118

HELP FOR SHOW A LINE ON A DIALOG

... hdc:= oDlgMain:GetDc() Local hPen := CreatePen( 0, 1, CLR_BLUE ) Local hOldPen := SelectObject( oDlgMain:hDc, hPen ) MoveTo( oDlgMain:hDC, x, y) LineTo( oDlgMain:hDC, x, y ) SelectObject( oDlgMain:hDc, hOldPen ) DeleteObject( hPen ) oDlgMain:ReleaseDc() return nil WHY NOT RUN ?
by Silvio.Falconi
Tue Dec 01, 2015 9:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HELP FOR SHOW A LINE ON A DIALOG
Replies: 3
Views: 821

Re: FYI Tablet App

... regards, Otto static function DoDraw( hDc, x, y, lPaint, lReset, oPen ) if ! lPaint .or. ( lReset != nil .and. lReset ) MoveTo( hDC, x, y ) else LineTo( hDc, x, y, oPen:hPen ) endIf sysrefresh() return nil
by Otto
Wed May 13, 2015 5:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FYI Tablet App
Replies: 14
Views: 5176

Re: problema con SetFont

... 75) // Se carga el lapices y se dibuja borde superior.. hOldPen := SelectObject( hDC, hPen1 ) MoveTo(hDc , aXY[ A][ 2] - 1, aXY[ A][ 3] ) LineTo(hDc, aXY[ A][ 2] - 1, aXY[ A][ 1] - 1 ) LineTo(hDc, aXY[ A][ 4] , aXY[ A][ 1] - 1 ) // Se destruyen objetos utilizados SelectObject( hDC, hOldPen ...
by MOISES
Mon Feb 23, 2015 1:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con SetFont
Replies: 17
Views: 5743

Re: Drawing on a TImage and save (revamped) :-)

... } // Start x, y aPoints[2] := { 100, 400 } // End x, y hOldPen := SelectObject( hMemDC, hPen ) MoveTo( hMemDC, aPoints[ 1, 2 ], aPoints[ 1, 1 ] ) LineTo( hMemDC, aPoints[ 2, 2 ], aPoints[ 2, 1 ] ) hOldPen := SelectObject( hMemDC, hPen ) SelectObject( hMemDC, hOldPen ) RETURN NIL Best regards Uwe ...
by ukoenig
Sun Apr 06, 2014 12:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drawing on a TImage and save (revamped) :-) [Solved]
Replies: 41
Views: 9906

aiuto su apertura finestra window

... la funzione Drawlinee disegna sullo schermo una griglia usando dei cicli for next usando le funzioni fw: MoveTo( oWnd1:hDC, riga, colonna ) LineTo( oWnd1:hDC, rigafinale, colonnafinale) la funzione drawnumeri scrive nei quadrati della griglia delle cose con il comando @SAY problemi: 1 - ...
by damianodec
Thu Feb 20, 2014 9:48 pm
 
Forum: All products support
Topic: aiuto su apertura finestra window
Replies: 2
Views: 935

Re: "Snap" for Clipper

...   800   800   800   800   801   802 LFROMUSER              WINDOW.PRG      640 LHSCROLL                WINDOW.PRG      485  1114  1119  1135  1198 LINETO()               (function  in ?)    WINDOW.PRG     2465 LMAX                    WINDOW.PRG      487  1115  1124  1133 LMIN                   ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 8645

Union de lineas

Buenas, tengo una pregunta tonta. Cuando dibujo figuras con MovetTo() y LineTo() y PENS de cierto grosor (3,4,5 pixels o más), las esquinas me salen como redondeadas. He intentado definir el PEN con los parametros de estilo PS_ENDCAPS_SQUARE y/o PS_JOIN_MITER ...
by antolin
Thu Jul 11, 2013 4:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Union de lineas
Replies: 0
Views: 300

Re: Error en TESTPRN6.PRG

Maestro, al anadir 20/01/2013 hbhpdf.lib me genera estos errores, que puede ser? ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ FiveWin for xHarbour 13.03 - Mar. 2013 xHarbour development power ³Ü ³ (c) FiveTech, 1993-2013 for Microsoft Windows 9X/NT/200X/ME/XP/Vist...
by karinha
Fri Apr 12, 2013 12:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en TESTPRN6.PRG
Replies: 9
Views: 2914
Next

Return to advanced search