Browse Source

Text: these directionality guarantees are too strong, remove.

I don't want to restrict myself this much, especially given various
tests don't hold onto these.
pull/168/head
Vladimír Vondruš 3 years ago
parent
commit
f6256359c6
  1. 16
      src/Magnum/Text/Direction.h

16
src/Magnum/Text/Direction.h

@ -55,29 +55,29 @@ enum class ShapeDirection: UnsignedByte {
/**
* Left to right. When returned from @ref AbstractShaper::direction(),
* the @p advances filled by @ref AbstractShaper::glyphsInto() are
* guaranteed to have their Y components @cpp 0.0f @ce.
* the @p advances filled by @ref AbstractShaper::glyphsInto() have their Y
* components @cpp 0.0f @ce.
*/
LeftToRight = 1,
/**
* Right to left. When returned from @ref AbstractShaper::direction(),
* the @p advances filled by @ref AbstractShaper::glyphsInto() are
* guaranteed to have their Y components @cpp 0.0f @ce.
* the @p advances filled by @ref AbstractShaper::glyphsInto() have their Y
* components @cpp 0.0f @ce.
*/
RightToLeft,
/**
* Top to bottom. When returned from @ref AbstractShaper::direction(),
* the @p advances filled by @ref AbstractShaper::glyphsInto() are
* guaranteed to have their X components @cpp 0.0f @ce.
* the @p advances filled by @ref AbstractShaper::glyphsInto() have their X
* components @cpp 0.0f @ce.
*/
TopToBottom,
/**
* Bottom to top. When returned from @ref AbstractShaper::direction(),
* the @p advances filled by @ref AbstractShaper::glyphsInto() are
* guaranteed to have their X components @cpp 0.0f @ce.
* the @p advances filled by @ref AbstractShaper::glyphsInto() have their X
* components @cpp 0.0f @ce.
*/
BottomToTop
};

Loading…
Cancel
Save