/// Advance the cursor by this many points.
Advance the cursor by this many points.
Advance the cursor by this many points .
pub fn advance_cursor(self, region: &mut Region, amount: f32) {
        match self.main_dir {
            Direction::LeftToRight => region.cursor.x += amount,
            Direction::RightToLeft => region.cursor.x -= amount,
            Direction::TopDown => region.cursor.y += amount,
            Direction::BottomUp => region.cursor.y -= amount,
        }
    }
pub fn advance_cursor ( self , region : & mut Region , amount : f32 ) { match self . main_dir { Direction :: LeftToRight => region . cursor . x += amount , Direction :: RightToLeft => region . cursor . x -= amount , Direction :: TopDown => region . cursor . y += amount , Direction :: BottomUp => region . cursor . y -= amount , } }
Advance the cursor by this many points.
Advance the cursor by this many points .
self
region
&mut Region
amount
f32