INNER CODE UNIT · Rust

create_pdf

matiaskorhonen/paper-age · src/builder.rs:372

    pub fn create_pdf(
        mut self,
        grid: bool,
        notes_label: String,
        skip_notes_line: bool,
        encrypted: String,
    ) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
        if grid {
            self.draw_grid();
        }

        self.insert_title_text(self.title.clone());

        self.insert_qr_code(encrypted.clone())?;

        self.insert_notes_field(notes_label, skip_notes_line);

        self.draw_line(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…