View Source ReflectOS.Kernel.GraphHelpers (reflect_os_kernel v0.10.0)

Helper functions for working with Scenic.Graph

Summary

Functions

Gets the bottom boundary of the graph. Note that this could be negative.

Gets the left boundary of the graph. Note that this could be negative.

Gets the right boundary of the graph. Note that this could be negative.

Gets the top boundary of the graph. Note that this could be negative.

Functions

@spec get_bottom_bound(Scenic.Graph.t()) :: number()

Gets the bottom boundary of the graph. Note that this could be negative.

@spec get_left_bound(Scenic.Graph.t()) :: number()

Gets the left boundary of the graph. Note that this could be negative.

@spec get_right_bound(Scenic.Graph.t()) :: number()

Gets the right boundary of the graph. Note that this could be negative.

@spec get_top_bound(Scenic.Graph.t()) :: number()

Gets the top boundary of the graph. Note that this could be negative.