在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
//让 TDIB 的这些特效烦透了: 多、还重复、又不完善; 还没有测试或测试失败的方法: procedure DrawShadow(SrcDIB: TDIB; X, Y, Width, Height, Frame: Integer; FilterMode: TFilterMode); procedure DrawShadows(SrcDIB: TDIB; X, Y, Width, Height, Frame: Integer; Alpha: Byte); procedure DrawAntialias(SrcDIB: TDIB); procedure DoZoom(DIB2: TDIB; ZoomRatio: Real); procedure DoBlur(DIB2: TDIB); procedure DoRotate(DIB1: TDIB; cX, cY, Angle: Integer); function HasAlphaChannel: Boolean; function AssignAlphaChannel(ALPHA: TDIB; ForceResize: Boolean{$IFDEF VER4UP} = False{$ENDIF}): Boolean; procedure RetAlphaChannel(out DIB: TDIB); procedure Compress; procedure Decompress; //另外, 从 TBitmap 到 TDIB, 本来也简单, TDIB 还是给提供了方便的互通方法: procedure TDIB.CreateDIBFromBitmap(const Bitmap: TBitmap); function TDIB.CreateBitmapFromDIB: TBitmap; |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论