Package: cairo

Function cairo-mesh-pattern-get-control-point

Lambda List

cairo-mesh-pattern-get-control-point (pattern patch-num point-num)

Arguments

pattern -- a cairo-pattern-t instance
patch-num -- an unsigned integer with the patch number to return data for
point-num -- an unsigned integer with the control point number to return data for

Return Value

x -- a double float x coordinate of the control point
y -- a double float y coordinate of the control point
status -- :success, or :invalid-index if patch-num or point-num is not valid for pattern. If pattern is not a mesh pattern, :pattern-type-mismatch is returned.

Details

Gets the control point point-num of patch patch-num for a mesh pattern.

patch-num can range 0 to 1 less than the number returned by the function cairo-mesh-pattern-get-patch-count.

Valid values for point-num are from 0 to 3 and identify the control points as explained for the function cairo-pattern-create-mesh.
 

See also

2020-12-25