boost::gil::center_rotate

rotates an image from its center point using consecutive affine transformations.

Synopsis

template<
    typename T,
    typename F>
boost::gil::matrix3x2<F>
center_rotate(
    boost::gil::point<T> dims,
    F rads);

Return Value

A transformation matrix for rotating the source image about its center

Template Parameters

Name

Description

T

Data type for source image dimensions

F

Data type for angle through which image is to be rotated

Parameters

Name

Description

dims

dimensions of source image

rads

angle through which image is to be rotated

Created with MrDocs