pub(crate) fn spc_util_read_colorspec(
    spe: &mut SpcEnv,
    ap: &mut SpcArg,
    syntax: bool,
) -> Result<PdfColor, ()> {
    ap.cur.skip_blank();
    if ap.cur.is_empty() {
        Err(())
    } else if syntax {
        spc_read_color_color(spe, ap)
    } else {
        spc_read_color_pdf(spe, ap)
    }
}
/* This is for reading *single* color specification. */
This is for reading *single* color specification.
This is for reading * single * color specification .
pub(crate) fn spc_util_read_colorspec(
    spe: &mut SpcEnv,
    ap: &mut SpcArg,
    syntax: bool,
) -> Result<PdfColor, ()> {
    ap.cur.skip_blank();
    if ap.cur.is_empty() {
        Err(())
    } else if syntax {
        spc_read_color_color(spe, ap)
    } else {
        spc_read_color_pdf(spe, ap)
    }
}
pub ( crate ) fn spc_util_read_colorspec ( spe : & mut SpcEnv , ap : & mut SpcArg , syntax : bool , ) -> Result < PdfColor , ( ) > { ap . cur . skip_blank ( ) ; if ap . cur . is_empty ( ) { Err ( ( ) ) } else if syntax { spc_read_color_color ( spe , ap ) } else { spc_read_color_pdf ( spe , ap ) } }
This is for reading *single* color specification.
This is for reading * single * color specification .
spe
&mut SpcEnv
ap
&mut SpcArg
syntax
bool