pub fn new_y_up(
        ctx: &mut CGContextRef,
        height: f64,
        text: Option<CoreGraphicsText>,
    ) -> CoreGraphicsContext {
        Self::new_impl(ctx, Some(height), text)
    }
/// Create a new context with the y-origin at the top-left corner.
///
/// This is not the default for CoreGraphics; but it is the defualt for piet.
/// To map between the two coordinate spaces you must also pass an explicit
/// height argument.
///
/// The optional `text` argument can be a reuseable `CoreGraphicsText` struct;
/// a new one will be constructed if `None` is passed.
Create a new context with the y-origin at the top-left corner.
This is not the default for CoreGraphics; but it is the defualt for piet.
To map between the two coordinate spaces you must also pass an explicit
height argument.


Create a new context with the y - origin at the top - left corner . This is not the default for CoreGraphics ; but it is the defualt for piet . To map between the two coordinate spaces you must also pass an explicit height argument .
pub fn new_y_up(
        ctx: &mut CGContextRef,
        height: f64,
        text: Option<CoreGraphicsText>,
    ) -> CoreGraphicsContext {
        Self::new_impl(ctx, Some(height), text)
    }
pub fn new_y_up ( ctx : & mut CGContextRef , height : f64 , text : Option < CoreGraphicsText > , ) -> CoreGraphicsContext { Self :: new_impl ( ctx , Some ( height ) , text ) }
Create a new context with the y-origin at the top-left corner.
Create a new context with the y - origin at the top - left corner .
ctx
&mut CGContextRef
height
f64
text
Option<CoreGraphicsText>