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 function. 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 function takes ownership of the data, and is responsible for freeing it. points-
Type:
PpsRectangleCurrent selection points.
The data is owned by the caller of the function. old_points-
Type:
PpsRectangleOld selection points.
The data is owned by the caller of the function. style-
Type:
PpsSelectionStyleA
PpsSelectionStyle. text-
Type:
GdkRGBAForeground text color.
The data is owned by the caller of the function. base-
Type:
GdkRGBABase color.
The data is owned by the caller of the function.