TCanvas/ru: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: TCanvas/ru
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Класс **TCanvas** является базовым инструментом для рисования графики. | |
| 2 | + | ||
| 3 | + | Для рисования линий, прямоугольников и текста используются [[TPen/ru|TPen]], [[TBrush/ru|TBrush]] и [[TFont/ru|TFont]], чтобы определить размер и цвет карандаша, стиль и цвет кисти, стиль и цвет шрифта. | |
| 4 | + | ||
| 5 | + | | | | | |
| 6 | + | |----|----| | |
| 7 | + | | текст | TextOut( txt ); TextOutXY( x, y, txt ) | | |
| 8 | + | | линии | Line( x1, y1, x2, y2 ); LineTo( x, y ) with MoveTo(x, y ) | | |
| 9 | + | | прямоугольник | Rectangle( l, t, r, b ); Rectangle( R: TRect ); FillRect() | | |
| 10 | + | | окружность (эллипс) | Ellipse( l, t, r, b ); Ellipse( R: TRect ) | | |
| 11 | + | ||
| 12 | + | --- | |
| 13 | + | *From the Free Pascal wiki, page "TCanvas/ru", as it stood on 2018-05-26 after a change by Useroflazarus, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
