summaryrefslogtreecommitdiff
path: root/chromium/ui/gfx/rrect_f_builder.cc
blob: c5f559a1d22879eb555866a6586018aa4c08e703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/gfx/rrect_f_builder.h"

namespace gfx {

RRectFBuilder::RRectFBuilder() = default;
RRectFBuilder::RRectFBuilder(RRectFBuilder&& other) = default;

RRectF RRectFBuilder::Build() {
  return RRectF(x_, y_, width_, height_, upper_left_x_, upper_left_y_,
                upper_right_x_, upper_right_y_, lower_right_x_, lower_right_y_,
                lower_left_x_, lower_left_y_);
}

}  // namespace gfx