Virtual Method
PapersDocumentSelectionrender_selection
Declaration [src]
void
render_selection (
PpsSelection* selection,
PpsRenderContext* rc,
cairo_surface_t** surface,
PpsRectangle* points,
PpsRectangle* old_points,
PpsSelectionStyle style,
GdkRGBA* text,
GdkRGBA* base
)
Parameters
rc-
Type:
PpsRenderContextA
PpsRenderContext.The data is owned by the caller of the method. surface-
Type:
cairo_surface_tA surface, created if it is NULL, otherwise reused.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it. points-
Type:
PpsRectangleCurrent selection points.
The data is owned by the caller of the method. old_points-
Type:
PpsRectangleOld selection points.
The data is owned by the caller of the method. style-
Type:
PpsSelectionStyleA
PpsSelectionStyle. text-
Type:
GdkRGBAForeground text color.
The data is owned by the caller of the method. base-
Type:
GdkRGBABase color.
The data is owned by the caller of the method.