| 1 | # Test TCastleImage.DrawFrom |
| 2 | |
| 3 | Test drawing one TCastleImage on another (using TCastleImage.DrawFrom) |
| 4 | with various blending modes. |
| 5 | |
| 6 | _It is not advised to use this approach. It may be deprecated in the future._ |
| 7 | It is faster, and more feature-packed, to draw on images using GPU, |
| 8 | following ../draw_images_on_gpu/ approach. |
| 9 | |
| 10 | Using [Castle Game Engine](https://castle-engine.io/). |
| 11 | |
| 12 | ## Building |
| 13 | |
| 14 | Compile by: |
| 15 | |
| 16 | - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_. |
| 17 | |
| 18 | - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory. |
| 19 | |
| 20 | - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `x3d_call_pascal_code_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus). |