vec4
4D Vector Type (f64)
A 4-component vector using 32.32 fixed-point coordinates. Useful for homogeneous coordinates and SIMD-style operations.
Operations
- Vector arithmetic: add, sub, mul, div
- Dot product
- Norm (magnitude) calculation
- Component-wise abs, floor
- Scalar operations
Fully qualified path: cairo_fp::f64::types::vec4
Free functions
Structs
| Vec4 | A 4D vector with fixed-point components. |
Traits
| Vec4Trait | Trait for Vec4 operations. |