Flutter Engine
The Flutter Engine
Namespaces | Functions
rect_conversions.h File Reference
#include "rect.h"
#include "rect_f.h"

Go to the source code of this file.

Namespaces

namespace  gfx
 

Functions

Rect gfx::ToEnclosingRect (const RectF &r)
 
Rect gfx::ToEnclosingRectIgnoringError (const RectF &r, float error)
 
Rect gfx::ToEnclosedRect (const RectF &rect)
 
Rect gfx::ToEnclosedRectIgnoringError (const RectF &r, float error)
 
Rect gfx::ToNearestRect (const RectF &rect)
 
bool gfx::IsNearestRectWithinDistance (const gfx::RectF &rect, float distance)
 
gfx::Rect gfx::ToRoundedRect (const gfx::RectF &rect)
 
Rect gfx::ToFlooredRectDeprecated (const RectF &rect)