diff options
author | Murray Cumming <murrayc@murrayc.com> | 2017-04-19 12:04:00 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2017-04-19 12:36:12 +0200 |
commit | 2c2e56715a6ff971c60f3adaab027b06870a5179 (patch) | |
tree | fbf54163c297d8ec1dd65aa6533d32c1b9fc0764 /examples | |
parent | 2adabd4e5712f2574b0e2396504114961bbf3a17 (diff) |
Change Cairo::HintStyle enum to Cairo::FontOptions::HintStyle.
And change this from an old-style enum to a C++11 enum class.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/text/text-rotate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/text/text-rotate.cc b/examples/text/text-rotate.cc index bf7c24f..ce57338 100644 --- a/examples/text/text-rotate.cc +++ b/examples/text/text-rotate.cc @@ -50,7 +50,7 @@ void draw(Cairo::RefPtr<Cairo::Context> cr, int width, int height) Cairo::FontOptions font_options; - font_options.set_hint_style(Cairo::HINT_STYLE_NONE); + font_options.set_hint_style(Cairo::FontOptions::HintStyle::NONE); font_options.set_hint_metrics(Cairo::HINT_METRICS_OFF); font_options.set_antialias(Cairo::ANTIALIAS_GRAY); |