|
3 年
经验
|
8
产品
|
38
演示版
|
|
3
工作
|
0
信号
|
0
订阅者
|
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 是一款为 MetaTrader 4 手动交易者打造的交易面板和风险管理工具。一个顶部栏和一个面板取代了下单对话框。 仓位大小计算器把您的止损转换为交易量 ,每个订单在发送时都已规划好出场,日亏损上限以及每周和每月规则会监控整个账户。 只有在您点击时,面板才会交易。 当达到您设定的上限时,它的规则可以阻止新交易或平仓。 MetaTrader 5 版本: Rhino Dashboard Trade Panel MT5 用户手册: Rhino Dashboard Trade Panel user manual 下载演示版: 7-Days Trial version 顶部栏:账户、价格和盈亏 顶部栏位于图表上方,让您一眼看清账户状态。 账户 产品名称和版本, DEMO 、 LIVE 或 TESTER 标记,对冲或净额模式,以及交易被关闭时带有原因的警告。 交易品种和价格 点击交易品种打开观察列表:搜索经纪商的所有品种,为常用品种加星标,并切换图表的品种和周期。旁边显示 Bid、Ask、点差和当日涨跌。 资金
Rhino Dashboard Trade Panel 是一款为 MetaTrader 5 手动交易者打造的交易面板和风险管理工具。一个顶部栏和一个面板取代了下单对话框。 仓位大小计算器把您的止损转换为交易量 ,每个订单在发送时都已规划好出场,日亏损上限以及每周和每月规则会监控整个账户。 只有在您点击时,面板才会交易。 当达到您设定的上限时,它的规则可以阻止新交易或平仓。 MetaTrader 4 版本: Rhino Dashboard Trade Panel MT4 用户手册: Rhino Dashboard Trade Panel user manual 下载演示版: 7-Days Trial version 顶部栏:账户、价格和盈亏 顶部栏位于图表上方,让您一眼看清账户状态。 账户 产品名称和版本, DEMO 、 LIVE 或 TESTER 标记,对冲或净额模式,以及交易被关闭时带有原因的警告。 交易品种和价格 点击交易品种打开观察列表:搜索经纪商的所有品种,为常用品种加星标,并切换图表的品种和周期。旁边显示 Bid、Ask、点差和当日涨跌。 资金