Home | History | Annotate | Download | only in geometry

Lines Matching refs:size

11 Size ToFlooredSize(const SizeF& size) {
12 int w = ToFlooredInt(size.width());
13 int h = ToFlooredInt(size.height());
14 return Size(w, h);
17 Size ToCeiledSize(const SizeF& size) {
18 int w = ToCeiledInt(size.width());
19 int h = ToCeiledInt(size.height());
20 return Size(w, h);
23 Size ToRoundedSize(const SizeF& size) {
24 int w = ToRoundedInt(size.width());
25 int h = ToRoundedInt(size.height());
26 return Size(w, h);