Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

Obsolete Members for QPainterPath

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

void addRoundRect ( const QRectF & r, int xRnd, int yRnd ) (obsolete)
void addRoundRect ( const QRectF & rect, int roundness ) (obsolete)
void addRoundRect ( qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd ) (obsolete)
void addRoundRect ( qreal x, qreal y, qreal width, qreal height, int roundness ) (obsolete)
QPainterPath subtractedInverted ( const QPainterPath & p ) const (obsolete)

Member Function Documentation

void QPainterPath::addRoundRect ( const QRectF & r, int xRnd, int yRnd )

Adds a rectangle r with rounded corners to the path.

The xRnd and yRnd arguments specify how rounded the corners should be. 0 is angled corners, 99 is maximum roundedness.

See also addRoundedRect().

void QPainterPath::addRoundRect ( const QRectF & rect, int roundness )

This is an overloaded function.

Adds a rounded rectangle, rect, to the path.

The roundness argument specifies uniform roundness for the rectangle. Vertical and horizontal roundness factors will be adjusted accordingly to act uniformly around both axes. Use this method if you want a rectangle equally rounded across both the X and Y axis.

This function was introduced in Qt 4.3.

See also addRoundedRect().

void QPainterPath::addRoundRect ( qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd )

This is an overloaded function.

Adds a rectangle with rounded corners to the path. The rectangle is constructed from x, y, and the width and height w and h.

The xRnd and yRnd arguments specify how rounded the corners should be. 0 is angled corners, 99 is maximum roundedness.

See also addRoundedRect().

void QPainterPath::addRoundRect ( qreal x, qreal y, qreal width, qreal height, int roundness )

This is an overloaded function.

Adds a rounded rectangle to the path, defined by the coordinates x and y with the specified width and height.

The roundness argument specifies uniform roundness for the rectangle. Vertical and horizontal roundness factors will be adjusted accordingly to act uniformly around both axes. Use this method if you want a rectangle equally rounded across both the X and Y axis.

This function was introduced in Qt 4.3.

See also addRoundedRect().

QPainterPath QPainterPath::subtractedInverted ( const QPainterPath & p ) const

Use subtracted() instead.

This function was introduced in Qt 4.3.

See also subtracted().

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 4.8
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web