UnifiedPaintSettings

Struct UnifiedPaintSettings 

Source
#[repr(C, packed(4))]
pub struct UnifiedPaintSettings {
Show 30 fields pub size: i32, pub unprojected_radius: f32, pub alpha: f32, pub weight: f32, pub rgb: [f32; 3], pub secondary_rgb: [f32; 3], pub flag: i32, pub last_rake: [f32; 2], pub last_rake_angle: f32, pub last_stroke_valid: i32, pub average_stroke_accum: [f32; 3], pub average_stroke_counter: i32, pub brush_rotation: f32, pub brush_rotation_sec: f32, pub anchored_size: i32, pub overlap_factor: f32, pub draw_inverted: i8, pub stroke_active: i8, pub draw_anchored: i8, pub do_linear_conversion: i8, pub last_location: [f32; 3], pub last_hit: i32, pub anchored_initial_mouse: [f32; 2], pub pixel_radius: f32, pub initial_pixel_radius: f32, pub start_pixel_radius: f32, pub size_pressure_value: f32, pub tex_mouse: [f32; 2], pub mask_tex_mouse: [f32; 2], pub colorspace: Pointer<Nothing>,
}

Fields§

§size: i32§unprojected_radius: f32§alpha: f32§weight: f32§rgb: [f32; 3]§secondary_rgb: [f32; 3]§flag: i32§last_rake: [f32; 2]§last_rake_angle: f32§last_stroke_valid: i32§average_stroke_accum: [f32; 3]§average_stroke_counter: i32§brush_rotation: f32§brush_rotation_sec: f32§anchored_size: i32§overlap_factor: f32§draw_inverted: i8§stroke_active: i8§draw_anchored: i8§do_linear_conversion: i8§last_location: [f32; 3]§last_hit: i32§anchored_initial_mouse: [f32; 2]§pixel_radius: f32§initial_pixel_radius: f32§start_pixel_radius: f32§size_pressure_value: f32§tex_mouse: [f32; 2]§mask_tex_mouse: [f32; 2]§colorspace: Pointer<Nothing>

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.