|
|
|
|
@ -85,11 +85,35 @@ cairo: stroke([])
|
|
|
|
|
cairo: restore([]) |
|
|
|
|
cairo: save([]) |
|
|
|
|
cairo: set_source_color([:black]) |
|
|
|
|
cairo: translate([0, 300]) |
|
|
|
|
cairo: translate([600, 0]) |
|
|
|
|
cairo: rotate([0]) |
|
|
|
|
cairo: move_to([0, 0]) |
|
|
|
|
pango: font_description=([MockDouble]) |
|
|
|
|
pango: text=(["Justify will :tool: work too :purse: with more words just for fun"]) |
|
|
|
|
pango: text=(["Wrapping multiples: These are 1 :tool::tool::tool: and these are multiple :tool::tool: :tool::tool:"]) |
|
|
|
|
pango: width=([184320]) |
|
|
|
|
pango: height=([307200]) |
|
|
|
|
pango: wrap=([#<Pango::Layout::WrapMode word-char>]) |
|
|
|
|
pango: ellipsize=([#<Pango::Layout::EllipsizeMode none>]) |
|
|
|
|
pango: alignment=([#<Pango::Layout::Alignment left>]) |
|
|
|
|
pango: justify=([false]) |
|
|
|
|
pango: spacing=([0]) |
|
|
|
|
cairo: update_pango_layout([MockDouble]) |
|
|
|
|
pango: markup=(["Wrapping multiples: These are 1 :tool::tool::tool: and these are multiple :tool::tool: :tool::tool:"]) |
|
|
|
|
cairo: move_to([0, 0.0]) |
|
|
|
|
cairo: update_pango_layout([MockDouble]) |
|
|
|
|
cairo: show_pango_layout([MockDouble]) |
|
|
|
|
cairo: rounded_rectangle([0, 0, 0, 0, 0, 0]) |
|
|
|
|
cairo: set_source_color([:cyan]) |
|
|
|
|
cairo: set_line_width([2.0]) |
|
|
|
|
cairo: stroke([]) |
|
|
|
|
cairo: restore([]) |
|
|
|
|
cairo: save([]) |
|
|
|
|
cairo: set_source_color([:black]) |
|
|
|
|
cairo: translate([0, 320]) |
|
|
|
|
cairo: rotate([0]) |
|
|
|
|
cairo: move_to([0, 0]) |
|
|
|
|
pango: font_description=([MockDouble]) |
|
|
|
|
pango: text=([":tool:Justify will :tool: work too, and :purse: with more words just for fun"]) |
|
|
|
|
pango: width=([184320]) |
|
|
|
|
pango: height=([307200]) |
|
|
|
|
pango: wrap=([#<Pango::Layout::WrapMode word-char>]) |
|
|
|
|
@ -98,7 +122,7 @@ pango: alignment=([#<Pango::Layout::Alignment left>])
|
|
|
|
|
pango: justify=([true]) |
|
|
|
|
pango: spacing=([0]) |
|
|
|
|
cairo: update_pango_layout([MockDouble]) |
|
|
|
|
pango: markup=(["Justify will :tool: work too :purse: with more words just for fun"]) |
|
|
|
|
pango: markup=([":tool:Justify will :tool: work too, and :purse: with more words just for fun"]) |
|
|
|
|
cairo: move_to([0, 0.0]) |
|
|
|
|
cairo: update_pango_layout([MockDouble]) |
|
|
|
|
cairo: show_pango_layout([MockDouble]) |
|
|
|
|
@ -107,4 +131,52 @@ cairo: set_source_color([:magenta])
|
|
|
|
|
cairo: set_line_width([2.0]) |
|
|
|
|
cairo: stroke([]) |
|
|
|
|
cairo: restore([]) |
|
|
|
|
cairo: save([]) |
|
|
|
|
cairo: set_source_color([:black]) |
|
|
|
|
cairo: translate([200, 320]) |
|
|
|
|
cairo: rotate([0]) |
|
|
|
|
cairo: move_to([0, 0]) |
|
|
|
|
pango: font_description=([MockDouble]) |
|
|
|
|
pango: text=(["Right-aligned works :tool: with :health: and :purse:"]) |
|
|
|
|
pango: width=([184320]) |
|
|
|
|
pango: height=([307200]) |
|
|
|
|
pango: wrap=([#<Pango::Layout::WrapMode word-char>]) |
|
|
|
|
pango: ellipsize=([#<Pango::Layout::EllipsizeMode none>]) |
|
|
|
|
pango: alignment=([#<Pango::Layout::Alignment right>]) |
|
|
|
|
pango: justify=([false]) |
|
|
|
|
pango: spacing=([0]) |
|
|
|
|
cairo: update_pango_layout([MockDouble]) |
|
|
|
|
pango: markup=(["Right-aligned works :tool: with :health: and :purse:"]) |
|
|
|
|
cairo: move_to([0, 0.0]) |
|
|
|
|
cairo: update_pango_layout([MockDouble]) |
|
|
|
|
cairo: show_pango_layout([MockDouble]) |
|
|
|
|
cairo: rounded_rectangle([0, 0, 0, 0, 0, 0]) |
|
|
|
|
cairo: set_source_color([:magenta]) |
|
|
|
|
cairo: set_line_width([2.0]) |
|
|
|
|
cairo: stroke([]) |
|
|
|
|
cairo: restore([]) |
|
|
|
|
cairo: save([]) |
|
|
|
|
cairo: set_source_color([:black]) |
|
|
|
|
cairo: translate([400, 320]) |
|
|
|
|
cairo: rotate([0]) |
|
|
|
|
cairo: move_to([0, 0]) |
|
|
|
|
pango: font_description=([MockDouble]) |
|
|
|
|
pango: text=([":tool:Center-aligned works :tool: with :health: and :purse:"]) |
|
|
|
|
pango: width=([184320]) |
|
|
|
|
pango: height=([307200]) |
|
|
|
|
pango: wrap=([#<Pango::Layout::WrapMode word-char>]) |
|
|
|
|
pango: ellipsize=([#<Pango::Layout::EllipsizeMode none>]) |
|
|
|
|
pango: alignment=([#<Pango::Layout::Alignment center>]) |
|
|
|
|
pango: justify=([false]) |
|
|
|
|
pango: spacing=([0]) |
|
|
|
|
cairo: update_pango_layout([MockDouble]) |
|
|
|
|
pango: markup=([":tool:Center-aligned works :tool: with :health: and :purse:"]) |
|
|
|
|
cairo: move_to([0, 0]) |
|
|
|
|
cairo: update_pango_layout([MockDouble]) |
|
|
|
|
cairo: show_pango_layout([MockDouble]) |
|
|
|
|
cairo: rounded_rectangle([0, 0, 0, 0, 0, 0]) |
|
|
|
|
cairo: set_source_color([:magenta]) |
|
|
|
|
cairo: set_line_width([2.0]) |
|
|
|
|
cairo: stroke([]) |
|
|
|
|
cairo: restore([]) |
|
|
|
|
surface: write_to_png(["_output/embed_00.png"]) |
|
|
|
|
|