[−][src]Function gdl::presets::quote
pub fn quote(
background_img: &mut DynamicImage,
main_text: &str,
_small_text: &str
)
Preset: Quote-style graphic, featuring prominence on the main text.
Arguments
img
- A mutable ref to a DynamicImage.main_text
- Main heading for the graphic.small_text
- Sub-heading/smaller text.width
- u32 - Desired width of final graphicheight
- ù32 - Desired height of final graphic