BorderConsts.h (807B)
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */ 3 /* This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7 #ifndef mozilla_BorderConsts_h_ 8 #define mozilla_BorderConsts_h_ 9 10 // thickness of dashed line relative to dotted line 11 #define DOT_LENGTH 1 // square 12 #define DASH_LENGTH 3 // 3 times longer than dot 13 14 #define C_TL mozilla::eCornerTopLeft 15 #define C_TR mozilla::eCornerTopRight 16 #define C_BR mozilla::eCornerBottomRight 17 #define C_BL mozilla::eCornerBottomLeft 18 19 #define BORDER_SEGMENT_COUNT_MAX 100 20 #define BORDER_DOTTED_CORNER_MAX_RADIUS 100000 21 22 #endif /* mozilla_BorderConsts_h_ */