fn field(&self, number: i64, attr: &Attribute) -> String {
        format!(
            "F{number} \"{text}\" {x} {y} {dimension} {orientation} {visibility} {hjustify} {vjustify}NN",
            number = number,
            text = attr.value,
            x = attr.origin.x,
            y = attr.origin.y,
            dimension = attr.font_size,
            orientation = attr.orientation,
            visibility = attr.visibility,
            hjustify = attr.halign,
            vjustify = attr.valign,
        )
    }
// Render field to a library file record
Render field to a library file record
Render field to a library file record
fn field(&self, number: i64, attr: &Attribute) -> String {
        format!(
            "F{number} \"{text}\" {x} {y} {dimension} {orientation} {visibility} {hjustify} {vjustify}NN",
            number = number,
            text = attr.value,
            x = attr.origin.x,
            y = attr.origin.y,
            dimension = attr.font_size,
            orientation = attr.orientation,
            visibility = attr.visibility,
            hjustify = attr.halign,
            vjustify = attr.valign,
        )
    }
fn field ( & self , number : i64 , attr : & Attribute ) -> String { format ! ( " \" \" " number number text attr value x attr origin x y attr origin y dimension attr font_size orientation attr orientation visibility attr visibility hjustify attr halign vjustify attr valign ) }
Render field to a library file record
Render field to a library file record
&self
number
i64
attr
&Attribute
&self
number
i64
attr
&Attribute