Community
Participate
Working Groups
Created attachment 209481 [details] Figure of a client/server port (based on a 7x15 icon) when zooming-in It would be nice to use icons with a higher resolution, for instance for MARTE's client/server port. Currently, figures do not look nice when zooming-in or printing. Ideally, icons for stereotypes are stored in a vector format (such as SVG) to be resolution independent. An alternative that is closer to the current implementation is the use of bitmaps with a higher resolution that are scaled down when shown on the screen.
r7267 : Done on the Trunk
Initial support for high-resolution icons consists in scaling these appropriately: - In case of "AffixedNamedElementFigure" such as ports, the icon is scaled down to fit in the bounding box. - In case of NodeNamedElementFigures" the icon is scaled to the height of the text font If the icons are smaller, they are not scaled i.e. not affected by the patch. The patch has been checked in revision 7257 for the branch and 7267 (as already in the previous post) for the trunk.
Created attachment 211425 [details] High resolution icons for MARTE GCM, ports within composite-structure diagram after patch application There are still unresolved cases in which the icons appear unscaled (e.g. when used within the label of a port). The MARTE profile with the new icons has not been checked in.
r8628: Fix a NPE when the LabelWithScalableIcons does not have a Font. Avoid diagram corruption (Especially on Deployment Diagram)
Some support for higher-resolution icons is available. The feature has become less important with the possibility to use SVG icons. Therefore, it is unlikely that we will take the time to resolve cases in which larger icons are not scaled (see comment 2 and 3) and I propose to close the bug.