Interface PangoConstants


public interface PangoConstants
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Whether the segment should be shifted to center around the baseline.
    static final int
    Whether this run holds ellipsized text.
    static final int
    Whether to add a hyphen at the end of the run during shaping.
    static final int
    Value for @start_index in `PangoAttribute` that indicates
    the beginning of the text.
    static final int
    The scale between dimensions used for Pango distances and device units.
    static final int
    The major component of the version of Pango available at compile-time.
    static final int
    The micro component of the version of Pango available at compile-time.
    static final int
    The minor component of the version of Pango available at compile-time.
    static final String
    A string literal containing the version of Pango available at compile-time.
  • Field Details

    • ANALYSIS_FLAG_CENTERED_BASELINE

      static final int ANALYSIS_FLAG_CENTERED_BASELINE
      Whether the segment should be shifted to center around the baseline.

      This is mainly used in vertical writing directions.
      See Also:
    • ANALYSIS_FLAG_IS_ELLIPSIS

      static final int ANALYSIS_FLAG_IS_ELLIPSIS
      Whether this run holds ellipsized text.
      See Also:
    • ANALYSIS_FLAG_NEED_HYPHEN

      static final int ANALYSIS_FLAG_NEED_HYPHEN
      Whether to add a hyphen at the end of the run during shaping.
      See Also:
    • ATTR_INDEX_FROM_TEXT_BEGINNING

      static final int ATTR_INDEX_FROM_TEXT_BEGINNING
      Value for @start_index in `PangoAttribute` that indicates
      the beginning of the text.
      See Also:
    • SCALE

      static final int SCALE
      The scale between dimensions used for Pango distances and device units.

      The definition of device units is dependent on the output device; it will
      typically be pixels for a screen, and points for a printer. %PANGO_SCALE is
      currently 1024, but this may be changed in the future.

      When setting font sizes, device units are always considered to be
      points (as in "12 point font"), rather than pixels.
      See Also:
    • VERSION_MAJOR

      static final int VERSION_MAJOR
      The major component of the version of Pango available at compile-time.
      See Also:
    • VERSION_MICRO

      static final int VERSION_MICRO
      The micro component of the version of Pango available at compile-time.
      See Also:
    • VERSION_MINOR

      static final int VERSION_MINOR
      The minor component of the version of Pango available at compile-time.
      See Also:
    • VERSION_STRING

      static final String VERSION_STRING
      A string literal containing the version of Pango available at compile-time.
      See Also: