Flutter Engine
The Flutter Engine
Namespaces | Functions
size.cc File Reference
#include "size.h"
#include "ax_build/build_config.h"
#include "base/numerics/clamped_math.h"
#include "base/numerics/safe_math.h"
#include "base/string_utils.h"
#include "size_conversions.h"

Go to the source code of this file.

Namespaces

namespace  gfx
 

Functions

Size gfx::ScaleToCeiledSize (const Size &size, float x_scale, float y_scale)
 
Size gfx::ScaleToCeiledSize (const Size &size, float scale)
 
Size gfx::ScaleToFlooredSize (const Size &size, float x_scale, float y_scale)
 
Size gfx::ScaleToFlooredSize (const Size &size, float scale)
 
Size gfx::ScaleToRoundedSize (const Size &size, float x_scale, float y_scale)
 
Size gfx::ScaleToRoundedSize (const Size &size, float scale)