|
3 years
experience
|
8
products
|
38
demo versions
|
|
3
jobs
|
0
signals
|
0
subscribers
|
The article turns drawing primitives into PDF output: one cm flip installs a top‑left, y‑down system, while CPdfPage writes m/l/c/h/re, S/f/B, W n, and transforms from calls on CPdfSurface. PdfColor keeps RGB bytes and fixes MQL5 byte order when writing fractions. It also covers caps, joins, dashes, clipping, and Bezier circles. Demos include a printable ruler, a feature sampler, and a ready letterhead script.
The engine learns to draw lines by stroking arbitrary paths with width, cap and join styles, miter limiting, and dashes. The stroker outputs overlapping geometry that the non-zero rule welds during fill, so no new raster code is required. In practice, you can render solid or dashed outlines with predictable caps and joins for chart series, widgets, and other UI shapes.
We add the missing pieces: an affine transform and a context layer for the Cairo-style engine in MQL5. The six-number matrix is applied as paths are built, turning user coordinates into pixels and enabling reusable widgets by translation, scale, and rotation. CCairoContext stores transform, clip, source, and fill rule, with Save/Restore to manage state safely.
This article extends a Cairo-style vector engine in MQL5 with anti-aliased clipping. We build rectangular and path-based clipping regions, combine their coverage in the rasterizer, and discuss the limitations of mask multiplication. We also implement path bounds and point containment for sizing masks and testing interface interactions.
Gradients are introduced by making the source a polymorphic paint: the rasterizer calls ColorAt(x, y) for each pixel. This enables solid, linear and radial fills on any path with a single inner‑loop change, keeping Path.mqh untouched. The article details color stops and padding, corner‑based normalization for linear gradients, normalized centers/radii for radial ones, a CCairoFillStyle handle, and compatibility with the legacy uint Fill().
Rhino Dashboard Trade Panel is a trade panel and risk manager for MetaTrader 4 , made for manual traders. A top bar and one panel replace the order dialogs. A position size calculator turns your stop into a volume , each order is sent with its exits already planned, and a daily loss limit, weekly and monthly rules watch the whole account. The dashboard trades only when you click. Its rules can block new trades or close positions when a limit you chose is reached. MetaTrader 5 version: Rhino
Rhino Dashboard Trade Panel is a trade panel and risk manager for MetaTrader 5 , made for manual traders. A top bar and one panel replace the order dialogs. A position size calculator turns your stop into a volume , each order is sent with its exits already planned, and a daily loss limit, weekly and monthly rules watch the whole account. The dashboard trades only when you click. Its rules can block new trades or close positions when a limit you chose is reached. MetaTrader 4 version: Rhino