Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
size.h File Reference
#include <algorithm>
#include <iosfwd>
#include <string>
#include "ax_build/build_config.h"
#include "base/compiler_specific.h"
#include "base/numerics/safe_math.h"
#include "gfx/gfx_export.h"

Go to the source code of this file.

Classes

class  gfx::Size
 

Namespaces

namespace  gfx
 

Functions

bool gfx::operator== (const Size &lhs, const Size &rhs)
 
bool gfx::operator!= (const Size &lhs, const Size &rhs)
 
Size gfx::operator+ (Size lhs, const Size &rhs)
 
Size gfx::operator- (Size lhs, const Size &rhs)
 
void gfx::PrintTo (const Size &size, ::std::ostream *os)
 
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)