- m_ok = false;
- bool success;
-
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_arc, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_arc_negative, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_clip, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_close_path, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_create, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_curve_to, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_destroy, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_fill, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_fill_preserve, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_get_target, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_image_surface_create_for_data, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_line_to, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_move_to, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_new_path, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_paint, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_pattern_add_color_stop_rgba, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_pattern_create_for_surface, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_pattern_create_linear, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_pattern_create_radial, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_pattern_destroy, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_pattern_set_extend, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_pattern_set_filter, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_rectangle, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_reset_clip, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_restore, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_rotate, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_save, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_scale, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_set_dash, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_set_fill_rule, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_set_line_cap, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_set_line_join, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_set_line_width, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_set_operator, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_set_source, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_set_source_rgba, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_stroke, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_stroke_preserve, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_surface_create_similar, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_surface_destroy, success )
- wxDL_METHOD_LOAD( m_cairo_lib, cairo_translate, success )
-
- wxDL_METHOD_LOAD( m_pango_cairo_lib, pango_cairo_update_layout, success )
- wxDL_METHOD_LOAD( m_pango_cairo_lib, pango_cairo_show_layout, success )
-
- m_ok = true;
+ wxDL_METHOD_LOAD(m_libCairo, cairo_arc);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_arc_negative);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_clip);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_close_path);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_create);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_curve_to);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_destroy);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_fill);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_fill_preserve);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_get_target);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_image_surface_create_for_data);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_line_to);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_move_to);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_new_path);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_paint);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_pattern_add_color_stop_rgba);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_pattern_create_for_surface);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_pattern_create_linear);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_pattern_create_radial);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_pattern_destroy);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_pattern_set_extend);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_pattern_set_filter);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_rectangle);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_reset_clip);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_restore);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_rotate);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_save);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_scale);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_set_dash);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_set_fill_rule);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_set_line_cap);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_set_line_join);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_set_line_width);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_set_operator);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_set_source);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_set_source_rgba);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_stroke);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_stroke_preserve);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_surface_create_similar);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_surface_destroy);
+ wxDL_METHOD_LOAD(m_libCairo, cairo_translate);
+
+#if wxUSE_PANGO
+ wxDL_METHOD_LOAD(m_libPangoCairo, pango_cairo_update_layout);
+ wxDL_METHOD_LOAD(m_libPangoCairo, pango_cairo_show_layout);
+#endif
+
+ return true;