• Delphi 与 DirectX 之 DelphiX(95): TDIB.x



    //让 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;
    
  • 相关阅读:
    部署prerender服务器
    Bzoj4727--Poi2017Turysta
    Bzoj4818--Sdoi2017序列计数
    Heoi2014系列题解
    scoi2017酱油记
    Burnside引理与Pólya定理
    2017省选前北京集训总结
    奥妙重重的随机发生器
    ???--???Insection is not allowed
    反演
  • 原文地址:https://www.cnblogs.com/del/p/1380846.html
Copyright © 2020-2023  润新知