-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5b8438
commit 83e9c71
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#pragma once | ||
|
||
namespace Vaev { | ||
|
||
// https://drafts.csswg.org/css-page/#marks | ||
enum struct PageMarks { | ||
NONE, | ||
CROSS, | ||
BOX, | ||
}; | ||
|
||
// https://drafts.csswg.org/css-page/#margin-boxes | ||
enum struct PageMargin { | ||
NONE, | ||
|
||
TOP_LEFT_CORNER, | ||
TOP_LEFT, | ||
TOP_CENTER, | ||
TOP_RIGHT, | ||
TOP_RIGHT_CORNER, | ||
RIGHT_TOP, | ||
RIGHT_MIDDLE, | ||
RIGHT_BOTTOM, | ||
BOTTOM_RIGHT_CORNER, | ||
BOTTOM_RIGHT, | ||
BOTTOM_CENTER, | ||
BOTTOM_LEFT, | ||
BOTTOM_LEFT_CORNER, | ||
LEFT_BOTTOM, | ||
LEFT_MIDDLE, | ||
LEFT_TOP, | ||
|
||
_LEN, | ||
}; | ||
|
||
// https://drafts.csswg.org/css-page/#page-orientation-prop | ||
enum struct PageOrientation { | ||
UPRIGHT, | ||
ROTATE_LEFT, | ||
ROTATE_RIGHT, | ||
|
||
_LEN | ||
}; | ||
|
||
} // namespace Vaev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters