IMGElement.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * ImageMeter confidential
  3. *
  4. * Copyright (C) 2019 by Dirk Farin, Kronenstr. 49b, 70174 Stuttgart, Germany
  5. * All Rights Reserved.
  6. *
  7. * NOTICE: All information contained herein is, and remains the property
  8. * of Dirk Farin. The intellectual and technical concepts contained
  9. * herein are proprietary to Dirk Farin and are protected by trade secret
  10. * and copyright law.
  11. * Dissemination of this information or reproduction of this material
  12. * is strictly forbidden unless prior written permission is obtained
  13. * from Dirk Farin.
  14. */
  15. #ifndef IMAGEMETER_IMGELEMENT_H
  16. #define IMAGEMETER_IMGELEMENT_H
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. #include <stdint.h>
  21. #include <stdbool.h>
  22. struct IM_GElement;
  23. void IM_GElement_release(struct IM_GElement*);
  24. void IM_GElement_set_main_color_argb(struct IM_GElement*, uint32_t argb);
  25. uint32_t IM_GElement_get_main_color_argb(struct IM_GElement*);
  26. void IM_GElement_set_main_line_width(struct IM_GElement*, float width);
  27. float IM_GElement_get_main_line_width(struct IM_GElement*);
  28. void IM_GElement_set_main_line_width_magnification(struct IM_GElement*, float magnification);
  29. float IM_GElement_get_main_line_width_magnification(struct IM_GElement*);
  30. void IM_GElement_set_main_font_base_size(struct IM_GElement*, float fontSize);
  31. float IM_GElement_get_main_font_base_size(struct IM_GElement*);
  32. void IM_GElement_set_main_font_base_size_magnification(struct IM_GElement*, float magnification);
  33. float IM_GElement_get_main_font_base_size_magnification(struct IM_GElement*);
  34. struct IM_Label* IM_GElement_get_label(struct IM_GElement*, int id);
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38. #endif //IMAGEMETER_IMGELEMENT_H