/// <summary> /// Rysuj fotografię /// </summary> /// <param name="g"></param> public override void Rysuj(Graphics g) { string tekst = string.Format("Fot. {0}", _numer); if (_selected) { g.DrawString(tekst, StylSzkicu.FotoFont, StylSzkicu.SelectedBrush, _x, _y, _format); } else { g.DrawString(tekst, StylSzkicu.FotoFont, StylSzkicu.TekstBrush, _x, _y, _format); } int rozmiar = (int)StylSzkicu.FotoFont.Size; Kierunek.Rysuj(g, _x - rozmiar * 2, _y + rozmiar, StylSzkicu.FotoColor, rozmiar, _rotacja, true, true, false); }
public static void DrawDart(Graphics g, int x, int y, Color kolor, int rozmiar, float angle, bool fill, bool border) { Kierunek.Rysuj(g, x, y, kolor, rozmiar, angle, fill, border, true); }