Página 1 de 1
elipse transparente
Publicado: Lun Oct 23, 2017 8:55 pm
por PacoGomis
Estoy intentando pintar un elipse con el color de fondo transparente, he empleado SetbkMode( hDC, TRANSPARENT ), pero me sale el fondo siempre en blanco, la idea es aplicarlo con el evento OnCardPaint de la clase TcardBox, alguien me podría indicar como conseguirlo, si se puede. Gracias
Re: elipse transparente
Publicado: Lun Oct 23, 2017 9:14 pm
por ignacio
Del Winn32 API:
Ellipse function
The Ellipse function draws an ellipse. The center of the ellipse is the center of the specified bounding rectangle. The ellipse is outlined by using the current pen and is filled by using the current brush.
Mejor utiliza ARC()
Saludos
Re: elipse transparente
Publicado: Lun Oct 23, 2017 9:30 pm
por PacoGomis
Gracias Ignacio