|
1 - I am encountering a strange behavior when a shape has a small size (eg 30x30). For example, the shape DOutDelay is truncated when the size is 30x30. The shape is RoundRect without rounded edges for small sizes. I noticed that for a ArcTemplate to define a width, the internal dimensions remain unchanged (as defined), but the external is the increased width. Example:
var = new RRS MindFusion.Diagramming.Silverlight.Shape ( ElementTemplate new [] ( new ArcTemplate (0, 0, 100, 100, 0, 360, Colors.Blue, 1) ), null, null, FillRule.Nonzero, "testA");
RRS = new MindFusion.Diagramming.Silverlight.Shape ( ElementTemplate new [] ( new ArcTemplate (0, 0, 100, 100, 0, 360, Colors.Blue, 5) ), null, null, FillRule.Nonzero, "testB");
The shape "testA" is not fully contained within the shape. I would have to subtract its width to obtain this result (new ArcTemplate (1, 1, 98, 98, 0, 360, Colors.Blue, 1)).
The shape "testB" is even more wrong.
2 - The templates should not be drawn from outside rather than inside out? All templates follow the same logic.
3 - This behavior also occurs for the pre-defined shapes.
4 - The resolution of the templates seem to be of low quality. For small sizes this is clearly
|