Пример #1
0
 //----------------------------------------------------------------------------------------------------x
 /// <summary>Prints the specified number of lines.</summary>
 private void PrintLines(StaticContainer cont, String sLabel, Double rX, Double rAlignH, Double rY, Double rAlignV, Double rSize, Int32 iCount)
 {
     cont.AddCB_MM(rX, rY - rSize, new RepString(fontProp_Label, sLabel));
     cont.AddCC_MM(rX, rY, new RepCircleMM(penProp_Symbol, 3));
     for (Int32 i = 0; i < iCount; i++)
     {
         penProp_Line.color = aColor[i];
         RepLine repLine = new RepLineMM(penProp_Line, rSize / 1.414, rSize / 1.414);
         repLine.RotateTransform(i * 30);
         cont.AddAlignedMM(rX, rAlignH, rY, rAlignV, repLine);
     }
 }