Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Vec2

A 2D vector with fixed-point components.

Fully qualified path: cairo_fp::f64::types::vec2::Vec2

#[derive(Copy, Drop, Serde)]
struct Vec2 {
    x: Fixed,
    y: Fixed,
}

Members

x

Fully qualified path: cairo_fp::f64::types::vec2::Vec2::x

x: Fixed

y

Fully qualified path: cairo_fp::f64::types::vec2::Vec2::y

y: Fixed