cIntBMP - Library for creating BMP images - Library for MetaTrader 5 - MT4/MT5 resources





This class is designed for creating bmp images.

Example of DrawTriangle() method

Example of DrawRectangle() method

Example of DrawCircle() method

Example of Fill() method
The cIntBMP.mqh file should be located in the MQL5/Include folder. A demo for the use of the cIntBMP class is located in the eBMP.mq5 file. Copy this file to the MQL5/Experts folder, open it in MetaEditor, compile and attach it to the chart.
Use the cIntBMP class:
1. Files containing classes:
#include2. Delete cIntBMP class variables, such as "bmp":
cIntBMP bmp;
3. Set the image size and background color (using the Create(...) method, see below).
4. Draw on the image.
5. Save (using the Save(...) method).
6. Display (using Show(...) method);
After completion:
1. Delete the graphics object (using the Hide(...) method).
2. Delete the file (using the Delete(...) method).
Attachment download
📎 cintbmp.mqh (39.29 KB)
📎ebmp.mq5 (48.02 KB)
Source: MQL5 #251
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •