public Affin()
{
InitializeComponent();
g = panel1.CreateGraphics();
Init();
}
void DrawCurrent(Graphics g)
{
ProectionFigureXY();
float x1, y1, x2, y2;
for(int i = 0; i < edgeFig.Count; i++)
{
x1 = (float)(projectionFigure[edgeFig[i].num_a].X + centerX);
y1 = (float)(-projectionFigure[edgeFig[i].num_a].Y + centerY);
x2 = (float)(projectionFigure[edgeFig[i].num_b].X + centerX);
y2 = (float)(-projectionFigure[edgeFig[i].num_b].Y + centerY);
g.DrawLine(figurePen, x1, y1, x2, y2);
}
}
Если Вы уже зарегистрированы на Портале - войдите в систему, если Вы еще не регистрировались - пройдите простую процедуру регистрации.