Jump to content

Viktor Akselrod

  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by Viktor Akselrod

  1. 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.
  2. Здравствуйте. Подтверждаю проблему. Это не воспроизводится. Вы можете привести больше деталей относительно окружения? Проявляется ли в пустом проекте?
  3. I have reproduced the problem. Thanks for the report.
  4. Hello. There is currently no cross platform method to display PDF using FGX Please check this thread , it can help you. Thank you.
  5. 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.
  6. Здравствуйте. На всякий случай: HitTest=True ?
  7. 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.
  8. 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.
  9. Здравствуйте. Подтверждаю проблему. Постараемся исправить в ближайшее время. PS строки Bitmap.Canvas.EndPaint; и Bitmap.SaveToFile(filename); надо как минимум поменять местами PPS try finally поставить между конструктором и деструктором для надежности.
  10. Имелось ввиду, что управление маркерами пока не реализовано через объект TfgMapMarker.
  11. Hello. We expect a version today. Thank you.
  12. Hello. This feature has not been implemented. We are working on it. Thank you.
  13. Здравствуйте. Приложите, пожалуйста, минимальное демо, демонстрирующее проблему. Спасибо.
  14. Здравствуйте. Спасибо за пример. В ближайшее время проверим эту проблему.
  15. Здравствуйте. Необходим демо проект, чтобы можно было быстрее ответить на ваш вопрос. Спасибо.
  • Create New...