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