IFlowLayoutAlgorithmDelegates
trait · ferroui-controls-repeater · v0.5.0
trait IFlowLayoutAlgorithmDelegates
The policy hooks used by Stack, Flow and UniformGrid layouts.
Members
algorithm_get_measure_sizealgorithm_get_provisional_arrange_sizealgorithm_should_break_linealgorithm_get_anchor_for_realization_rectalgorithm_get_anchor_for_target_elementalgorithm_get_extentalgorithm_on_element_measuredalgorithm_on_line_arrangedalgorithm_on_layout_round_factor_changedalgorithm_set_anchor_info
algorithm_get_measure_size
fn algorithm_get_measure_size(self: &Self, index: i32, available_size: Size, context: &Ref<VirtualizingLayoutContext>) -> Size
algorithm_get_provisional_arrange_size
fn algorithm_get_provisional_arrange_size(self: &Self, index: i32, measure_size: Size, desired_size: Size, context: &Ref<VirtualizingLayoutContext>) -> Size
algorithm_should_break_line
fn algorithm_should_break_line(self: &Self, index: i32, remaining_space: f64) -> bool
algorithm_get_anchor_for_realization_rect
fn algorithm_get_anchor_for_realization_rect(self: &Self, available_size: Size, context: &Ref<VirtualizingLayoutContext>) -> FlowLayoutAnchorInfo
algorithm_get_anchor_for_target_element
fn algorithm_get_anchor_for_target_element(self: &Self, index: i32, available_size: Size, context: &Ref<VirtualizingLayoutContext>) -> FlowLayoutAnchorInfo
algorithm_get_extent
fn algorithm_get_extent(self: &Self, available_size: Size, context: &Ref<VirtualizingLayoutContext>, first: FlowLayoutRealizedElement, last: FlowLayoutRealizedElement) -> Rect
algorithm_on_element_measured
fn algorithm_on_element_measured(self: &Self, element: &Ref<Control>, index: i32, available_size: Size, measure_size: Size, desired_size: Size, provisional_arrange_size: Size, context: &Ref<VirtualizingLayoutContext>)
algorithm_on_line_arranged
fn algorithm_on_line_arranged(self: &Self, start_index: i32, count: i32, line_size: f64, context: &Ref<VirtualizingLayoutContext>)
algorithm_on_layout_round_factor_changed
fn algorithm_on_layout_round_factor_changed(self: &Self, context: &Ref<VirtualizingLayoutContext>)
algorithm_set_anchor_info
fn algorithm_set_anchor_info(self: &Self, index: i32, offset: f64)
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.