#[repr(C)]pub struct R_GE_gcontext {}Expand description
A structure containing graphical parameters
This is how graphical parameters are passed from graphics systems to the graphics engine AND from the graphics engine to graphics devices.
Devices are not required to honour graphical parameters (e.g., alpha transparency is going to be tough for some)
Fields§
§col: c_intpen colour (lines, text, borders, …)
fill: c_intfill colour (for polygons, circles, rects, …)
gamma: f64Gamma correction
lwd: f64Line width (roughly number of pixels)
lty: c_intLine type (solid, dashed, dotted, …)
lend: R_GE_lineendLine end
ljoin: R_GE_linejoinline join
lmitre: f64line mitre
cex: f64Character expansion (font size = fontsize*cex)
ps: f64Font size in points
lineheight: f64Line height (multiply by font size)
fontface: c_intFont face (plain, italic, bold, …)
fontfamily: [c_char; 201]Font family
patternFill: SEXPReference to a pattern fill
Trait Implementations§
Source§impl Clone for R_GE_gcontext
impl Clone for R_GE_gcontext
Source§fn clone(&self) -> R_GE_gcontext
fn clone(&self) -> R_GE_gcontext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for R_GE_gcontext
impl Debug for R_GE_gcontext
impl Copy for R_GE_gcontext
Auto Trait Implementations§
impl Freeze for R_GE_gcontext
impl RefUnwindSafe for R_GE_gcontext
impl !Send for R_GE_gcontext
impl !Sync for R_GE_gcontext
impl Unpin for R_GE_gcontext
impl UnwindSafe for R_GE_gcontext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more