34
31
cd_message ("%s (%.2fx%.2f x %.2f / %d)", __func__, *fWidth, *fHeight,fMaxScale, bApplySizeRestriction);
35
32
g_return_val_if_fail (cairo_status (pSourceContext) == CAIRO_STATUS_SUCCESS, NULL);
36
33
double fIconWidthSaturationFactor, fIconHeightSaturationFactor;
39
36
(bApplySizeRestriction ? g_tIconAuthorizedWidth[CAIRO_DOCK_APPLET] : 0),
40
37
(bApplySizeRestriction ? g_tIconAuthorizedHeight[CAIRO_DOCK_APPLET] : 0),
41
39
&fIconWidthSaturationFactor, &fIconHeightSaturationFactor);
42
40
cd_message (" -> %.2fx%.2f x %.2f", *fWidth, *fHeight,fMaxScale);
43
41
cairo_surface_t *pNewSurface;