fn create_handle_overlay(&self, responses: &mut VecDeque<Message>) -> Vec<LayerId> {
		let layer_path = vec![generate_uuid()];
		let operation = Operation::AddOverlayEllipse {
			path: layer_path.clone(),
			transform: DAffine2::IDENTITY.to_cols_array(),
			style: style::PathStyle::new(Some(Stroke::new(COLOR_ACCENT, 2.0)), Fill::solid(Color::WHITE)),
		};
		responses.push_back(DocumentMessage::Overlays(operation.into()).into());
		layer_path
	}
/// Create a single handle overlay and return its layer id
Create a single handle overlay and return its layer id
Create a single handle overlay and return its layer id
fn create_handle_overlay(&self, responses: &mut VecDeque<Message>) -> Vec<LayerId> {
		let layer_path = vec![generate_uuid()];
		let operation = Operation::AddOverlayEllipse {
			path: layer_path.clone(),
			transform: DAffine2::IDENTITY.to_cols_array(),
			style: style::PathStyle::new(Some(Stroke::new(COLOR_ACCENT, 2.0)), Fill::solid(Color::WHITE)),
		};
		responses.push_back(DocumentMessage::Overlays(operation.into()).into());
		layer_path
	}
fn create_handle_overlay ( & self , responses : & mut VecDeque < Message > ) -> Vec < LayerId > { let layer_path = vec ! [ generate_uuid ( ) ] ; let operation = Operation :: AddOverlayEllipse { path : layer_path . clone ( ) , transform : DAffine2 :: IDENTITY . to_cols_array ( ) , style : style :: PathStyle :: new ( Some ( Stroke :: new ( COLOR_ACCENT , 2.0 ) ) , Fill :: solid ( Color :: WHITE ) ) , } ; responses . push_back ( DocumentMessage :: Overlays ( operation . into ( ) ) . into ( ) ) ; layer_path }
Create a single handle overlay and return its layer id
Create a single handle overlay and return its layer id
&self
responses
&mut VecDeque<Message>
&self
responses
&mut VecDeque<Message>