jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68: Patterns: Cairo: A Vector Graphics Library jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68:
jpayne@68:

jpayne@68: Patterns

jpayne@68:

jpayne@68: The cairo C API allows for creating a number of different types jpayne@68: of patterns. All of these different types of patterns map to jpayne@68: cairo_pattern_t jpayne@68: in C, but in an object oriented language, there should instead jpayne@68: be a hierarchy of types. (The functions that should map to jpayne@68: constructors or static methods for the various types are listed jpayne@68: after the type, methods on that type are listed below. Note that jpayne@68: cairo_pattern_create_rgb() and cairo_pattern_create_rgba() jpayne@68: should not be overloaded with each other as a SolidPattern() jpayne@68: constructor, but should appear as static methods instead. This jpayne@68: is to maintain code clarity by making it clear how the arguments jpayne@68: relate to color components.) jpayne@68:

jpayne@68:
jpayne@68: cairo_pattern_t
jpayne@68:       cairo_pattern_set_matrix()
jpayne@68:       cairo_pattern_get_matrix()
jpayne@68:    cairo_solid_pattern_t (cairo_pattern_create_rgb() and cairo_pattern_create_rgba())
jpayne@68:    cairo_surface_pattern_t (cairo_pattern_create_for_surface())
jpayne@68:          cairo_pattern_set_extend()
jpayne@68:          cairo_pattern_get_extend()
jpayne@68:          cairo_pattern_set_filter()
jpayne@68:          cairo_pattern_get_filter()
jpayne@68:    cairo_gradient_t
jpayne@68:          cairo_pattern_add_color_stop_rgb()
jpayne@68:          cairo_pattern_add_color_stop_rgba()
jpayne@68:       cairo_linear_gradient_t (cairo_pattern_create_linear())
jpayne@68:       cairo_radial_gradient_t (cairo_pattern_create_radial())
jpayne@68:    cairo_mesh_t (cairo_pattern_create_mesh())
jpayne@68:          cairo_mesh_pattern_begin_patch()
jpayne@68:          cairo_mesh_pattern_end_patch()
jpayne@68:          cairo_mesh_pattern_move_to()
jpayne@68:          cairo_mesh_pattern_line_to()
jpayne@68:          cairo_mesh_pattern_curve_to()
jpayne@68:          cairo_mesh_pattern_set_control_point()
jpayne@68:          cairo_mesh_pattern_set_corner_color_rgb()
jpayne@68:          cairo_mesh_pattern_set_corner_color_rgba()
jpayne@68:          cairo_mesh_pattern_get_patch_count()
jpayne@68:          cairo_mesh_pattern_get_path()
jpayne@68:          cairo_mesh_pattern_get_control_point()
jpayne@68:          cairo_mesh_pattern_get_corner_color_rgba()
jpayne@68:     
jpayne@68:

jpayne@68:

jpayne@68:
jpayne@68: jpayne@68: jpayne@68: