|
-
Jun 15th, 2010, 05:35 PM
#32
Re: [Vb6] AlphaBlend API function(strange result)
 Originally Posted by joaquim
confuse... i don't know IPictureDisp object.
"I really don't see any reason why you'd want to use a DIB. Per-pixel calculations are comparatively slow."
i know, but i'm finish these code, then i will convert it 
Form.Image, Form.Picture, PictureBox.Image, PictureBox.Picture, UserControl.Image, PropertyPage.Image, UserDocument.Image, etc. These are all IPictureDisp objects.
IPictureDisp is a class. Its members include: Handle, Height, hPal, Render(method), Type, and Width.
GDI+ facilitates loading a 32 bpp image file(like PNG) such that AlphaBlend can immediately be used on the resulting dc/bitmap. Meaning you don't need any DIBs, and performance will be much better.
Software I use and highly recommend: Opera, Miranda IM, Peerblock, Winamp, Unlocker Assistant, JoyToKey, Virtual CloneDrive, Secunia PSI, ExplorerXP, GOM Player, Real Alternative, Quicktime Alternative,Sumatra PDF, and non-freeware: Photoshop and VB6( ).
My codebank: AllRGB, Rounded Rectangle(math), Binary Server, Buddy Paint, LoadPictureGDI+, System GUID/Volume Serial, HexToAsc, List all processes and their paths, quasiString matching
Strings(search, extraction, retrieval etc): Retrieve BBCode Link from HTML, RemoveBetween ()'s, strFindBetween(str1,str2), Insert text in HTML, HTML - GetSpanByID
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|