boxes: Add 'round' rounding strategy
It just calls roundf(), and is intended to be used when the graphene rectangle is approximately integer aligned. https://gitlab.gnome.org/GNOME/mutter/merge_requests/1042
This commit is contained in:
@ -45,6 +45,7 @@ typedef enum _MetaRoundingStrategy
|
||||
{
|
||||
META_ROUNDING_STRATEGY_SHRINK,
|
||||
META_ROUNDING_STRATEGY_GROW,
|
||||
META_ROUNDING_STRATEGY_ROUND,
|
||||
} MetaRoundingStrategy;
|
||||
|
||||
/* Output functions -- note that the output buffer had better be big enough:
|
||||
|
Reference in New Issue
Block a user