Rect.roundToPixel

Rounds the origin and the size of the given rectangle to their nearest integer values; the rounding is guaranteed to be large enough to contain the original rectangle.

More...
class Rect
roundToPixel
()

Return Value

Type: Rect

the pixel-aligned rectangle.

Detailed Description

Deprecated: Use graphene_rect_round() instead

Meta