get_selection_region


Description:

[ Version ( deprecated = true , deprecated_since = "0.16" ) ]
public List<Rectangle?> get_selection_region (double scale, SelectionStyle style, Rectangle selection)

Warning: get_selection_region is deprecated since 0.16.

Returns a region containing the area that would be rendered by render_selection as a List of Rectangle.

Note:

Use get_selected_region instead.

The returned list must be freed with selection_region_free.

Parameters:

this

a Page

scale

scale specified as pixels per point

style

a SelectionStyle

selection

start and end point of selection as a rectangle

Returns:

a List of Rectangle