|
You are right, I have tested an older version from our archives and it does not have a "RoundRect". I guess you can define your own shape; here is how it looks in the current version -
// RoundRect CComObject<ShapeTemplate>::CreateInstance(&shape); shape->AddRef(); shape->AddOutlineStraight(10, 0); shape->AddOutlineArc(80, 0, 100, 20, -90, 90); shape->AddOutlineStraight(100, 10); shape->AddOutlineArc(80, 80, 100, 100, 0, 90); shape->AddOutlineStraight(90, 100); shape->AddOutlineArc(0, 80, 20, 100, 90, 90); shape->AddOutlineStraight(0, 90); shape->AddOutlineArc(0, 0, 20, 20, 180, 90); shape->CompleteDefinition(_T("RoundRect"));
Stoyan
|