[BLACKBOX] Transparent Bitmaps (for LaTeX ?)

From: [at]} <Robert>
Date: Wed, 26 Nov 2008 22:56:16 +0000

----boundary-LibPST-iamunique-2070441017_-_-
Content-type: text/plain

Hi

I was wondering how to Restore Transparent Bitmaps.

The functions I have used (eg WinApi.StretchDIBits & WinApi.SetDIBitsToDevice)
do not seem to support transparency. HostBitmaps are 24 bit, and don't (I think)
support transparency.

I had a look on MSDN, and found a reference to AlphaBlend
(http://msdn.microsoft.com/en-us/library/ms532324(VS.85).aspx)
whick looks like it might be on the right track. But there is no interface
to AlphaBlend in the BlackBox WinApi interface.

I thought that it might be desirable to be able to draw LaTeX equations (etc)
with a transparent background.

Any suggestions would be welcome.

Thanks

Robert


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-2070441017_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhpXHBhcg0KXHBhcg0KSSB3YXMgd29uZGVyaW5n
IGhvdyB0byBSZXN0b3JlIFRyYW5zcGFyZW50IEJpdG1hcHMuXHBhcg0KXHBhcg0KVGhlIGZ1bmN0
aW9ucyBJIGhhdmUgdXNlZCAoZWcgV2luQXBpLlN0cmV0Y2hESUJpdHMgJiBXaW5BcGkuU2V0RElC
aX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Sep 26 2013 - 06:30:50 UTC