问题:官方 QC 的一个 Firemonkey 移动平台画线问题: 
RSP-14309: [iOS & Android] Delphi 10.1 Berlin - drawing problems
https://quality.embarcadero.com/browse/RSP-14309

适用:所有 Firemonkey 版本 for Android & iOS

修复方法:

请将源码 FMX.StrokeBuilder.pas 复制到自己的工程目录里,再进行修改。

Step1: 找到下列函数

procedure TStrokeBuilder.InsertDash(SrcPos, DestPos: TPointF; const DashDirVec, ThickPerp: TPointF);

Step2: 修改代码

原始代码:RoundShift := DashDirVec * FHalfThickness; // Delete this line
修正代码:RoundShift := DashDirVec;                  // Add this line

修正前:

[修复] Firemonkey 画线问题(Android & iOS 平台)

修正后:

[修复] Firemonkey 画线问题(Android & iOS 平台)

 

其它相关 QC:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
  • 2021-11-19
  • 2022-12-23
  • 2021-12-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-11
  • 2022-12-23
  • 2021-12-17
  • 2021-05-19
相关资源
相似解决方案