Function
MtkRectanglefrom_graphene_rect
Declaration [src]
void
mtk_rectangle_from_graphene_rect (
const graphene_rect_t* rect,
MtkRoundingStrategy rounding_strategy,
MtkRectangle* dest
)
Parameters
rect-
Type:
graphene_rect_tA rectangle.
The data is owned by the caller of the function. rounding_strategy-
Type:
MtkRoundingStrategyThe rounding strategy.
dest-
Type:
MtkRectangleAn empty
MtkRectangle, to be filled with the coordinates ofrect.The argument will be set by the function. The returned data is owned by the function.