MariuszJ 0 Posted December 5, 2019 I do not want to mess with installing the components https://graphics32.github.io/Docs/_Body.htm as I just need one transformation: rectangle to perspective quadrangle. So what I need is someone to tell me which procedure to use an which unit to declare in uses section. I will create Tbitmap32 dynamically. I shall also need help on detecting and convert 24 to 32 bitmap and vice versa . Share this post Link to post
Anders Melander 1783 Posted December 5, 2019 1 hour ago, MariuszJ said: I do not want to mess with installing the components You don't have to install anything but you could at least read the documentation and examine the examples... Share this post Link to post
MariuszJ 0 Posted December 5, 2019 Running examples requires installing components. Share this post Link to post
Anders Melander 1783 Posted December 5, 2019 No it doesn't. Looking at the source also doesn't require installing them I'm a contributor to Graphics32 and I don't have the component installed. Share this post Link to post
MariuszJ 0 Posted December 5, 2019 I open graphics32-master\Examples\Transformation\Transform\MainUnit.dfm and see object Src: TImage32 which means that component was put on the form, so had had to be installed as a component first. Share this post Link to post
Anders Melander 1783 Posted December 5, 2019 You don't need to open the form to compile the project. But if you need to see what the example source looks like, open the unit, ignore the error messages about unknown components, look through the source, close the unit without saving the changes. Share this post Link to post
MariuszJ 0 Posted December 5, 2019 I've already done it. There is not a single procedure to transform. There are several of them nested, probably four. The main one calls the next one and the fourth one (transform) is declared in another module. I don't have time to play with that puzzle. The modules have several thousand lines. Share this post Link to post
David Heffernan 2345 Posted December 6, 2019 It's a shame you don't have enough time to do this. 1 Share this post Link to post