[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Polygon decorator with square and circle combined

Hello All,

I'm using Polgon Decorator for my connection.i was successful in getting the circle as decorator but i want combination of square and circle attached together.

The problem comes when i set the scale.

for circle i should have df.setScale(getMapMode().DPtoLP(1), getMapMode().DPtoLP(1));

for square i need df.setScale(getMapMode().DPtoLP(7), getMapMode().DPtoLP(3));

Any idea how to make a decorator with square+ small line(linking)+circle.

Thanks and Regards,
Shwetha