Search found 24 matches: pens

Return to advanced search

Re: ExtCreatePen

Hola.

La función así funciona, pero si pongo PS_COSMETIC me devuelve siempre un pen de color negro y ancho 1. No consigo el color y ancho requerido con PS_COSMETIC que por lo visto es más rápido que PS_GEOMETRIC. Pero no te preocupes, para PENS de menos de 3 de ancho utilizaré el PEN de siempre.
by antolin
Tue Sep 07, 2021 5:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ExtCreatePen
Replies: 10
Views: 1210

Re: ExtCreatePen

by karinha
Mon Sep 06, 2021 12:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ExtCreatePen
Replies: 10
Views: 1210

ExtCreatePen

... de solucionarlo y obtener esquinas cuadradas es con EXTCREATEPEN para aplicar PS_ENDCAP_SQUARE. Además, por lo que he estudiado, se podrían crear pens con degradados o dibujitos. Muy interesante. Estoy intentando implemantarlo en C++, pero tengo problemas con la estructura LOGBRUSH. Muchas gracias
by antolin
Sun Sep 05, 2021 10:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ExtCreatePen
Replies: 10
Views: 1210

Re: Printer class question

... }, oPrnBrush ) And this gives you the text: oPrn:SayText( nRow, 41 * nCsp, "INVOICE: ",,, oFbold ) You define the fonts, brushes, and pens. nRow is determined by a counter you use in your printout to determine the lines for the items nRsp and nCsp are determined by the orientation ...
by TimStone
Tue Oct 20, 2020 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer class question - RESOLVED
Replies: 41
Views: 3446

Re: New FWH 19.09

Thanks! The pen is also in oPrint:box(...) bigger as before. In my case the pens are from type "object"
by byte-one
Wed Oct 16, 2019 8:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.09
Replies: 36
Views: 5842

NirSoft utilities for programmers

... for developers that need to trace memory leaks in their software. GDIView GDIView is a unique tool that displays the list of GDI handles (brushes, pens, fonts, bitmaps, and others) opened by every process. It displays the total count for each type of GDI handle, as well as detailed information ...
by Baxajaun
Tue Jul 03, 2018 10:36 am
 
Forum: Utilities / Utilidades
Topic: NirSoft utilities for programmers
Replies: 1
Views: 1123

Re: Looking for a PRINT-sample ( invoices )

... on any printer. I would share the code here, but it is quite long due to the table logic. The example takes advantage of multiple fonts, lines and pens. The guts of the printing code uses this calculation : oFont8b   := TFont():New( "Times New Roman", 0,-8, .F.,.T. , , , ,.F.,,,,,,, ...
by Rick Lipkin
Mon Sep 07, 2015 4:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Looking for a PRINT-sample ( invoices )
Replies: 19
Views: 5848

Re: Capture signature with Pad or Touchscreen

... the screen (not touching) and you move the pen the mouse cursor moves with it so it triggers the line drawing. It may work with the fatter stylus/pens but I am using the fine point pen that comes with Surface 3.
by Gale FORd
Mon Nov 03, 2014 4:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Capture signature with Pad or Touchscreen
Replies: 5
Views: 1095

Re: Por favor ayuda para principiante en freeimage

... FUNCTION CREATEDIBITMAPDLL32 FUNCTION WOWHANDLE16  en mi caso necesito hacer un crop un strech... esas funciones no estan implementadas? pens'e que agregado freeeimage.dll o freeimage.lib a mis programas habia formas de utilizar las opcoines que tiene esa libreria.
by goosfancito
Mon Aug 18, 2014 1:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Por favor ayuda para principiante en freeimage
Replies: 8
Views: 682

Dibujo rápido

... ) ;   }#pragma ENDDUMP Se utiliza así: Suponga que necesita un PEN rojo de 1 pixel de ancho (para otro tamaño no funcionaría porque los PENs del STOCK sólo son el negro y el blanco de 1 pixel de ancho) y un brush amarillo. #define DC_BRUSH   18#define DC_PEN     19LOCAL hObj := SelectObject(hDc,GetStockObject(DC_PEN)) ...
by antolin
Thu Mar 27, 2014 11:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dibujo rápido
Replies: 0
Views: 326

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 u otras ...
by antolin
Thu Jul 11, 2013 4:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Union de lineas
Replies: 0
Views: 288

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

Rick Lipkin wrote:Silvo
Have a look at \samples\invoice.prg .. good example on creating your own report from scratch using pens, color, fonts, lines and boxes.
Rick Lipkin


2 days lost, instead of using line and box commands from print function.
At this time the custom form would have already been made. :?
by Massimo Linossi
Fri Oct 26, 2012 2:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO ANTONIO, TO CHARLES MyRpt of Charles
Replies: 29
Views: 7285

Re: TO ANTONIO, TO CHARLES MyRpt of Charles

Silvo

Have a look at \samples\invoice.prg .. good example on creating your own report from scratch using pens, color, fonts, lines and boxes.

Rick Lipkin
by Rick Lipkin
Thu Oct 25, 2012 12:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO ANTONIO, TO CHARLES MyRpt of Charles
Replies: 29
Views: 7285

Re: A Question about xBrowse-Linestyles

XBrowse derives Pens from the Linestyles defined by the programmer. That way the DATA of Pens were basically kept for internal use. If we change the pens directly, Xbrowse does not know that pens are not consistent with the linestyles ...
by nageswaragunupudi
Wed Aug 24, 2011 6:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question about xBrowse-Linestyles
Replies: 2
Views: 757

Lines and color .. oPrint:say .....

... row and there is a 'status' field ( in each row ) that is 'red', 'yellow', and 'green' that I must 'fill" with color and text. I have never used 'pens' ?? and have not found very many samples and would be grateful if someone could point me in the right direction or ( perhaps ) help with some code ...
by Rick Lipkin
Sun Sep 21, 2008 10:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Lines and color .. oPrint:say .....
Replies: 1
Views: 495
Next

Return to advanced search