Search found 24 matches: setpixel

Return to advanced search

Re: cyclometric circle

... ) I tried also with FillRect( ::hDC, aRect, hBrush1 ) or FloodFill( ::hDC, aPoints [1][1]+nRaggio , aPoints [5][1]+nRaggio , nil, nColor ) or SetPixel( ::hDC,aPoints [1][1],aPoints [2][1], nColor )
by Silvio.Falconi
Sun Jul 31, 2022 9:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 2963

delete a pixel

Image

when I scroll through the xbrowse it draws a pixel according to the coordinates (column 3 and 4)

how do i delete a pixel previously drawn?

to draw I use setpixel or FillSolidRect

SomeOne can help me Pls ?
by Silvio.Falconi
Fri Mar 18, 2022 12:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: delete a pixel
Replies: 0
Views: 157

New FTDN April/Abril 2018 (FWH 18.04)

April 2018 ========== * Enhancement: function SETSOCKOPT() accepts a fourth parameter. Thanks to Taavi! * printer.prg: methods GetPixel() and SetPixel() fixed. * TWindow class: New method GetPixel( nX, nY ) --> nColor * XBROWSE: - Method Value of TXBrwColumn: This method evaluates (::oBrw:cAlias)->( ...
by Antonio Linares
Mon Jun 04, 2018 6:34 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2018 (FWH 18.04)
Replies: 1
Views: 2142

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: 6286

Re: Crear BMP monocromo

... a esto, estoy investigando el poner en monocromo pero pudiendo aplicar un porcentaje de oscuridad ajustable. Lo estoy probando con getpixel / setpixel, pero no sé si habrá otro sistema más rápido.
by jmartial
Tue Dec 13, 2016 9:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear BMP monocromo
Replies: 5
Views: 982

Crear BMP monocromo

... La idea es leer cada pixel y si es de cualquier color, ponerlo como negro y si es blanco, dejarlo blanco. Leer/Setear cada pixel es con getpixel()/setpixel(), pero el resto de funciones necesarias no sé cual necesito. Lo necesito para imprimirlo en una impresora monocromo y que su tamaño sea el ...
by jmartial
Sun Dec 11, 2016 12:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear BMP monocromo
Replies: 5
Views: 982

Drawing on a TImage and save (revamped) :-) [Solved]

Dear friends, I need to draw on a TImage control and save the result. I already tried using SetPixel() on TImage hDC but it saves the original image without my new drawings. This is a sample: #include "Fivewin.ch"FUNCTION MAIN()    LOCAL oDlg, oImg  ...
by Enrico Maria Giordano
Thu Apr 03, 2014 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drawing on a TImage and save (revamped) :-) [Solved]
Replies: 41
Views: 8319

Drawing on a TImage and save [Solved]

Dear friends, I need to draw on a TImage control and save the result. I already tried using SetPixel() on TImage hDC but it saves the original image without my new drawings. This is a sample: #include "Fivewin.ch"FUNCTION MAIN()    LOCAL oDlg, oImg  ...
by Enrico Maria Giordano
Sun Mar 30, 2014 6:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drawing on a TImage and save [Solved]
Replies: 68
Views: 11524

Re: cPS in bPainted

Antonio,

Antonio Linares wrote:Enrico,

Here it seems fast enough, I am using a Core 2 Duo

It could be speed up using a brush instead of calling SetPixel()


Interesting... any little sample? :-)

EMG
by Enrico Maria Giordano
Sun Aug 25, 2013 1:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cPS in bPainted
Replies: 20
Views: 2463

Re: cPS in bPainted

Enrico,

Here it seems fast enough, I am using a Core 2 Duo

It could be speed up using a brush instead of calling SetPixel()
by Antonio Linares
Sun Aug 25, 2013 1:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cPS in bPainted
Replies: 20
Views: 2463

Re: GRID ON RPREVIEW

Silvio,

change setPixel by moveto(..) lineto(..) c function

regards

Marcelo
by Marcelo Via Giglio
Thu Jan 14, 2010 4:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GRID ON RPREVIEW
Replies: 11
Views: 2570

GRID ON RPREVIEW

... I understood I must modify the dragrid function but How I can insert a rectangule instead setpixel function ? Any Idea ?
by Silvio
Thu Jan 14, 2010 9:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GRID ON RPREVIEW
Replies: 11
Views: 2570

Re: Alphablend Platform Independent !!!

Toninho, GetPixel() and SetPixel() are quite slow, you should avoid them. To improve the speed, you have to directly access the array of bytes of the bitmap. Hi Antonio. Thanks. I know it. As I say, it is my first try. Please review ...
by toninhofwi
Thu Apr 16, 2009 2:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Alphablend Platform Independent Working !!!
Replies: 13
Views: 2206

Re: Alphablend Platform Independent !!!

Toninho, GetPixel() and SetPixel() are quite slow, you should avoid them. To improve the speed, you have to directly access the array of bytes of the bitmap. Please review this DrDobbs article :-) AlphaBlendU() http://www.ddj.com/windows/184416353?pgno=21 ...
by Antonio Linares
Thu Apr 16, 2009 1:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Alphablend Platform Independent Working !!!
Replies: 13
Views: 2206

did you try Setpixel (hDC, nCol,nRow,nRGBColor) ?
by StefanHaupt
Thu Apr 17, 2008 7:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change a pixel 0,0 in a bmp
Replies: 2
Views: 588
Next

Return to advanced search