Jump to content

Viktor Akselrod

Administrators
  • Posts

    470
  • Joined

  • Last visited

  • Days Won

    88

Everything posted by Viktor Akselrod

  1. Здравствуйте. Проверим информацию. Спасибо за отчет.
  2. All right. Still need a fix from our side. Thank you
  3. Спасибо за ответ. Проверим на вашем окружении.
  4. Hello. TfgAnimationHelper.HideForm(Self, [TfgAnimationOption.ReleaseOnFinish]) - this call does not close immediately form. first plays the animation, then enqueues the deletion and only then deletes the form. during this time fgBarcodeScanDetected may fire several more times. so it is important to prevent for double form destruction.
  5. Besides the bugfix, please fix the logic as follows: procedure TFCamera.CloseForm (OK: boolean); begin if FCamera = nil then Exit; if OK and Assigned (FOnReadCode) and (fgLabCode.Text <> '-') then FOnReadCode (fgLabCode.Text); TfgAnimationHelper.HideForm (Self, [TfgAnimationOption.ReleaseOnFinish]); FCamera: = nil; end; fgBarcodeScanDetected and TfgAnimationHelper.HideForm both are called asynchronously. TfgAnimationHelper.HideForm with TfgAnimationOption.ReleaseOnFinish flag should not be allowed to call more than once, otherwise it will lead to double destruction of the form and memory corruption.
  6. Здравствуйте. Подтверждаю проблему. Это не воспроизводится. Вы можете привести больше деталей относительно окружения? Проявляется ли в пустом проекте?
  7. I have reproduced the problem. Thanks for the report.
  8. Hello. There is currently no cross platform method to display PDF using FGX Please check this thread , it can help you. Thank you.
  9. Hello. 1) Which version of Delphi are you using? 2) Please attach a call stack from IDE. 3) What happens in the ReturnOkCodigo? Thank you.
  10. Здравствуйте. На всякий случай: HitTest=True ?
  11. Hello, Michal. M0,0 L100,100 200,200 is one diagonal line, nothing is visually clear. M0.0 L100.0 200,200 will be much clearer - here you will see a triangle. This happens because when two bezier curves go in a row, the first control point is taken not from the "pen position", but more details (command "S") In order not to break the path and start drawing a second bezier curve from the "pen position" you can replace MoveTo with LineTo. path:=TfgPath.Create; path.MoveTo(10,10); path.AddSmoothCurve(PointF(40,10),PointF(40,20)); path.LineTo(40,20); // !!! path.AddSmoothCurve(PointF(80,10),PointF(120,50)); Result (bottom image): Thank you.
  12. Hello, Michal. The fill is applied to closed subpaths. The command MoveTo interrupts the current subpath and the next command starts a new subpath. Please, try to remove all MoveTo commands and check the result. In most cases, it makes no sense to use the MoveTo command explicitly, since the pen will be at the end point of the last command. Thank you.
  13. Здравствуйте. Подтверждаю проблему. Постараемся исправить в ближайшее время. PS строки Bitmap.Canvas.EndPaint; и Bitmap.SaveToFile(filename); надо как минимум поменять местами PPS try finally поставить между конструктором и деструктором для надежности.
  14. Имелось ввиду, что управление маркерами пока не реализовано через объект TfgMapMarker.
  15. Hello. We expect a version 1.6.0.0 today. Thank you.
×
×
  • Create New...