fn create_handle_line_overlay(&self, handle: &Option<VectorControlPoint>, responses: &mut VecDeque<Message>) -> Option<Vec<LayerId>> {
		if handle.is_none() {
			return None;
		}

		let layer_path = vec![generate_uuid()];
		let operation = Operation::AddOverlayLine {
			path: layer_path.clone(),
			transform: DAffine2::IDENTITY.to_cols_array(),
			style: style::PathStyle::new(Some(Stroke::new(COLOR_ACCENT, 1.0)), style::Fill::None),
		};
		responses.push_front(DocumentMessage::Overlays(operation.into()).into());

		Some(layer_path)
	}
/// Create the shape outline overlay and return its layer id
Create the shape outline overlay and return its layer id
Create the shape outline overlay and return its layer id
fn create_handle_line_overlay(&self, handle: &Option<VectorControlPoint>, responses: &mut VecDeque<Message>) -> Option<Vec<LayerId>> {
		if handle.is_none() {
			return None;
		}
		let layer_path = vec![generate_uuid()];
		let operation = Operation::AddOverlayLine {
			path: layer_path.clone(),
			transform: DAffine2::IDENTITY.to_cols_array(),
			style: style::PathStyle::new(Some(Stroke::new(COLOR_ACCENT, 1.0)), style::Fill::None),
		};
		responses.push_front(DocumentMessage::Overlays(operation.into()).into());
		Some(layer_path)
	}
fn create_handle_line_overlay ( & self , handle : & Option < VectorControlPoint > , responses : & mut VecDeque < Message > ) -> Option < Vec < LayerId > > { if handle . is_none ( ) { return None ; } let layer_path = vec ! [ generate_uuid ( ) ] ; let operation = Operation :: AddOverlayLine { path : layer_path . clone ( ) , transform : DAffine2 :: IDENTITY . to_cols_array ( ) , style : style :: PathStyle :: new ( Some ( Stroke :: new ( COLOR_ACCENT , 1.0 ) ) , style :: Fill :: None ) , } ; responses . push_front ( DocumentMessage :: Overlays ( operation . into ( ) ) . into ( ) ) ; Some ( layer_path ) }
Create the shape outline overlay and return its layer id
Create the shape outline overlay and return its layer id
&self
handle
&Option<VectorControlPoint>
responses
&mut VecDeque<Message>
&self
handle
&Option<VectorControlPoint>
responses
&mut VecDeque<Message>