Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
»
BGRABitmap and LazPaint
»
How to make semi-transparent BGRABitmap?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
ECHT GESIICHT GELD? (WHAT...
by
Dackmens
[
Today
at 01:53:34 am]
SICHT DIR NO FÄLSKEM GELD...
by
Dackmens
[
Today
at 01:52:23 am]
KDE KOUPIT PADĚLÉ PENÍZE?...
by
Dackmens
[
Today
at 01:50:54 am]
CÁ HÁIT IS FÉIDIR LIOM AI...
by
Dackmens
[
Today
at 01:49:44 am]
Où acheter de la fausse m...
by
Dackmens
[
Today
at 01:47:48 am]
WHERE TO BUY COUNTERFEIT ...
by
Dackmens
[
Today
at 01:46:19 am]
LOOKING FOR FAKE COUNTERF...
by
Dackmens
[
Today
at 01:45:12 am]
LETAR DU EFTER FALSKA PEN...
by
Dackmens
[
Today
at 01:44:06 am]
Minimal IPC approach?
by
dbannon
[
Today
at 01:43:57 am]
VAR KAN JAG KÖPA FALSKA P...
by
Dackmens
[
Today
at 01:42:35 am]
HVOR KAN JEG KØBE FALSKE ...
by
Dackmens
[
Today
at 01:40:55 am]
ÆGTELIGE FALSKE PENGE? (W...
by
Dackmens
[
Today
at 01:39:21 am]
WAAR KAN IK VALS VALS GEL...
by
Dackmens
[
Today
at 01:37:47 am]
WAAR KAN IK VALS GELD KOP...
by
Dackmens
[
Today
at 01:35:37 am]
HVOR KAN JEG KJØPE FALSKE...
by
Dackmens
[
Today
at 01:33:42 am]
DINHEIRO FALSO COM APARÊN...
by
Dackmens
[
Today
at 01:32:08 am]
¿DÓNDE PUEDO COMPRAR DINE...
by
Dackmens
[
Today
at 01:25:09 am]
DOVE ACQUISTARE VALUTA FA...
by
Dackmens
[
Today
at 01:23:32 am]
DOVE ACQUISTARE VALUTA FA...
by
Dackmens
[
Today
at 01:21:33 am]
Is there a chart displayi...
by
Jeff Duntemann
[
Today
at 12:28:14 am]
login_tty and openpty are...
by
Fred vS
[April 29, 2025, 11:34:52 pm]
How to re use a process
by
Remy Lebeau
[April 29, 2025, 10:49:36 pm]
Lazarus Release Candidate...
by
440bx
[April 29, 2025, 10:09:09 pm]
Why isn't Lazarus / Free ...
by
PascalDragon
[April 29, 2025, 10:06:33 pm]
TListView - please advis...
by
TRon
[April 29, 2025, 09:49:00 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to make semi-transparent BGRABitmap? (Read 952 times)
hedgehog
New Member
Posts: 48
How to make semi-transparent BGRABitmap?
«
on:
May 10, 2024, 03:55:53 pm »
Hi.
I want the TBGRASVG to be drawn semi-transparent in some cases.
Is there an easy way?
Logged
lainz
Hero Member
Posts: 4704
Web, Desktop & Android developer
Re: How to make semi-transparent BGRABitmap?
«
Reply #1 on:
May 10, 2024, 06:01:29 pm »
Create a temporary bitmap, draw the SVG into it. Then draw the temporary bitmap in the target bitmap with transparency-
You can use PutImage
Logged
https://lainz.github.io/
circular
Hero Member
Posts: 4404
Re: How to make semi-transparent BGRABitmap?
«
Reply #2 on:
May 11, 2024, 10:29:14 pm »
Otherwise you can set the globalAlpha property (from 0 to 1) of the Canvas2d before you draw on it. The result might be slightly different, but each element of the SVG will be drawn according to it.
Logged
Conscience is the debugger of the mind
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
»
BGRABitmap and LazPaint
»
How to make semi-transparent BGRABitmap?
TinyPortal
© 2005-2018