Lines Matching refs:VPos
6 text_anchor::{HPos, VPos},
403 VPos::Top => "0.76em", in draw_text()
404 VPos::Center => "0.5ex", in draw_text()
405 VPos::Bottom => "-0.5ex", in draw_text()
418 VPos::Top => y0, in draw_text()
419 VPos::Center => y0 - fy1 / 2 + fy0 / 2, in draw_text()
420 VPos::Bottom => y0 - fy1 + fy0, in draw_text()
582 use plotters::style::text_anchor::{HPos, Pos, VPos};
640 .pos(Pos::new(HPos::Right, VPos::Top)); in test_text_alignments()
643 let style = style.pos(Pos::new(HPos::Center, VPos::Top)); in test_text_alignments()
646 let style = style.pos(Pos::new(HPos::Left, VPos::Top)); in test_text_alignments()
703 for (dx2, v_pos) in [VPos::Top, VPos::Center, VPos::Bottom].iter().enumerate() { in test_text_draw()
737 .pos(Pos::new(HPos::Center, VPos::Center)); in test_text_clipping()