摘要:
剪切bmp:效果为指定的rect大小,若图片比rect小,则会放大。都要uses Vcl.Imaging.jpeg;需要注意的是FMX里也需要jpeg的支持,虽然没引用编译器不会报错,但用到jpg时会报内存错误。procedure TForm1.Button1Click(Sender: TObjec... 阅读全文
摘要:
首先创建一个DLL文件,项目自带的代码为:library ProjectPnr;{ Important note about DLL memory management: ShareMem must be the first unit in your library's USES clause A... 阅读全文