rrect_f_builder.cc 588 B

123456789101112131415161718
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "ui/gfx/geometry/rrect_f_builder.h"
  5. namespace gfx {
  6. RRectFBuilder::RRectFBuilder() = default;
  7. RRectFBuilder::RRectFBuilder(RRectFBuilder&& other) = default;
  8. RRectF RRectFBuilder::Build() {
  9. return RRectF(x_, y_, width_, height_, upper_left_x_, upper_left_y_,
  10. upper_right_x_, upper_right_y_, lower_right_x_, lower_right_y_,
  11. lower_left_x_, lower_left_y_);
  12. }
  13. } // namespace gfx