roundToPixel

⚠️ Deprecated ⚠️

This is deprecated since version 1.4.

Use graphene_rect_round() instead

---

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.

Return

the pixel-aligned rectangle.

Since

1.0