2017-10-27 20:33:53 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
2015-08-06 05:42:09 +03:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#ifndef mozilla_BorderConsts_h_
|
|
|
|
#define mozilla_BorderConsts_h_
|
|
|
|
|
|
|
|
// thickness of dashed line relative to dotted line
|
|
|
|
#define DOT_LENGTH 1 // square
|
|
|
|
#define DASH_LENGTH 3 // 3 times longer than dot
|
|
|
|
|
2017-01-04 13:15:30 +03:00
|
|
|
#define C_TL mozilla::eCornerTopLeft
|
|
|
|
#define C_TR mozilla::eCornerTopRight
|
|
|
|
#define C_BR mozilla::eCornerBottomRight
|
|
|
|
#define C_BL mozilla::eCornerBottomLeft
|
2015-08-06 05:42:09 +03:00
|
|
|
|
2016-06-10 07:10:03 +03:00
|
|
|
#define BORDER_SEGMENT_COUNT_MAX 100
|
2016-06-10 07:10:03 +03:00
|
|
|
#define BORDER_DOTTED_CORNER_MAX_RADIUS 100000
|
2016-06-10 07:10:03 +03:00
|
|
|
|
2015-08-06 05:42:09 +03:00
|
|
|
#endif /* mozilla_BorderConsts_h_ */
|