Recommendations and Best Practice

This page contains recommendations and best practices for creating graphic objects within the GEDI.

Pixel Deviations - Complex Graphic Objects

To minimize the problem with pixel deviations some influences to the rendering must be considered when creating a complex shape. Following recommendations increase the quality of displayed objects:

  • Complex outlines should be created as one polygon line instead of creating it using multiple shapes as the calculation of the coordinates is separately handled by each shape and possible rounding issues might occur.

Example

Below you find an example of such a polygon (with straight and curved sections) that has an improved rendering behavior compared to creating the same symbol by using two rectangles and two arcs:

Picture: Polygon Graphic Object

  • For shapes without border it is recommended to add a border with 1 pixel with the same color as the background color of the object to improve the rendering behavior.
  • When using shapes with different colors that are directly next to each other it is recommended to slightly overlap these objects.
  • Objects that are used n multiple occasions should be inserted as reference so that they have to be created and, in case of rendering issues, only changed once.
  • When creating and editing references, shapes and panels the zoom level 100% should be used. This prevents issues if properties that are using pixels are changed, e.g. line thickness.
  • It is recommended to use the same platform and settings during creating a panel as it will be used for displaying the panels.
  • Snapping should be used for all graphical operations.
  • Moving and changing references must not be performed by overriding the instance of the reference.
  • The Edit mode of the GEDI is recommended to be used for all changes to objects as is reduces the internal scaling and transformations.
  • Due to different rounding in the drawing-algorithms a size difference of +/- 1 pixel may occur when copying/moving. This behaviour occurs sporadically when copying or moving scaled graphics objects and must be considered during such operations.