Function: indent-bars--current-depth-stipple

indent-bars--current-depth-stipple is a natively compiled function defined in indent-bars.el.

Signature

(indent-bars--current-depth-stipple &optional W H ROT STYLE)

Documentation

Return the current depth stipple highlight (if any) for STYLE.

One of the keywords :width, :pad, :pattern, or :zigzag must be set in indent-bars-highlight-current-depth config. W, H, and ROT are as in indent-bars--stipple, and have similar default values.

Source Code

;; Defined in /nix/store/zkcdcnmcj3605fj09x584bf58d85brax-emacs-packages-deps/share/emacs/site-lisp/elpa/indent-bars-1.0.1/indent-bars.el
(defun indent-bars--current-depth-stipple (&optional w h rot style)
  "Return the current depth stipple highlight (if any) for STYLE.
One of the keywords :width, :pad, :pattern, or :zigzag must be
set in `indent-bars-highlight-current-depth' config.  W, H, and
ROT are as in `indent-bars--stipple', and have similar default values."
  (cl-destructuring-bind (&key width pad pattern zigzag &allow-other-keys)
      (indent-bars--style style "highlight-current-depth")
    (when (or width pad pattern zigzag)
      (let* ((w (or w (indent-bars--window-font-space-width)))
	     (h (or h (window-font-height)))
	     (rot (or rot (indent-bars--stipple-rot nil w))))
	(indent-bars--stipple w h rot style width pad pattern zigzag)))))