Translations:Development/Tutorials/Qt4 Ruby Tutorial/Chapter 09/16/fi: Difference between revisions

From KDE TechBase
(Created page with "Funktio [http://doc.qt.nokia.com/latest/qpainter.html#drawPie Qt::Painter::drawPie()] piirtää piirakkamuodon määritellyn nelikulmion sisälle käyttäen aloituskulmaa ja kaar...")
 
(No difference)

Latest revision as of 17:57, 12 October 2011

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Development/Tutorials/Qt4 Ruby Tutorial/Chapter 09)
The [http://doc.qt.nokia.com/latest/qpainter.html#drawPie Qt::Painter::drawPie()] function draws a pie shape inside the specified rectangle using a start angle and an arc length. The angles are specified in sixteenths of a degree. Zero degrees is at the 3 o'clock position. The drawing direction is counter-clockwise. Here we draw a quarter of a circle in the bottom-left corner of the widget. The pie is filled with blue and has no outline.

Funktio Qt::Painter::drawPie() piirtää piirakkamuodon määritellyn nelikulmion sisälle käyttäen aloituskulmaa ja kaaripituutta. Kulmat määritellään asteen 16-osina. Nolla astetta on kello kolmen sijainnissa. Piirtämisen suunta on vastapäivään. Tässä piirrämme ympyrän neljänneksen käyttöliittymäkomponentin vasempaan alakulmaan. Piirakka täytetään sinisellä ja sillä ei ole ääriviivoja.