forked from KolibriOS/kolibrios
libcairo && libpixman: replace printf() with fprintf()
git-svn-id: svn://kolibrios.org@6073 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d7596a5f82
commit
36d7425fb6
@ -51,8 +51,8 @@
|
|||||||
* @See_Also: #cairo_t, #cairo_surface_t
|
* @See_Also: #cairo_t, #cairo_surface_t
|
||||||
*
|
*
|
||||||
* #cairo_pattern_t is the paint with which cairo draws.
|
* #cairo_pattern_t is the paint with which cairo draws.
|
||||||
* The primary use of patterns is as the source for all cairo drawing
|
* The primary use of patterns is as the source for all cairo drawing
|
||||||
* operations, although they can also be used as masks, that is, as the
|
* operations, although they can also be used as masks, that is, as the
|
||||||
* brush too.
|
* brush too.
|
||||||
*
|
*
|
||||||
* A cairo pattern is created by using one of the many constructors,
|
* A cairo pattern is created by using one of the many constructors,
|
||||||
@ -4022,7 +4022,7 @@ cairo_pattern_get_rgba (cairo_pattern_t *pattern,
|
|||||||
* cairo_pattern_get_surface:
|
* cairo_pattern_get_surface:
|
||||||
* @pattern: a #cairo_pattern_t
|
* @pattern: a #cairo_pattern_t
|
||||||
* @surface: return value for surface of pattern, or %NULL
|
* @surface: return value for surface of pattern, or %NULL
|
||||||
*
|
*
|
||||||
* Gets the surface of a surface pattern. The reference returned in
|
* Gets the surface of a surface pattern. The reference returned in
|
||||||
* @surface is owned by the pattern; the caller should call
|
* @surface is owned by the pattern; the caller should call
|
||||||
* cairo_surface_reference() if the surface is to be retained.
|
* cairo_surface_reference() if the surface is to be retained.
|
||||||
@ -4499,14 +4499,14 @@ static void
|
|||||||
_cairo_debug_print_surface_pattern (FILE *file,
|
_cairo_debug_print_surface_pattern (FILE *file,
|
||||||
const cairo_surface_pattern_t *pattern)
|
const cairo_surface_pattern_t *pattern)
|
||||||
{
|
{
|
||||||
printf (" surface type: %d\n", pattern->surface->type);
|
fprintf (file," surface type: %d\n", pattern->surface->type);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_cairo_debug_print_raster_source_pattern (FILE *file,
|
_cairo_debug_print_raster_source_pattern (FILE *file,
|
||||||
const cairo_raster_source_pattern_t *raster)
|
const cairo_raster_source_pattern_t *raster)
|
||||||
{
|
{
|
||||||
printf (" content: %x, size %dx%d\n", raster->content, raster->extents.width, raster->extents.height);
|
fprintf (file, " content: %x, size %dx%d\n", raster->content, raster->extents.width, raster->extents.height);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -368,7 +368,7 @@ _pixman_disabled (const char *name)
|
|||||||
|
|
||||||
if (strlen (name) == len && strncmp (name, env, len) == 0)
|
if (strlen (name) == len && strncmp (name, env, len) == 0)
|
||||||
{
|
{
|
||||||
printf ("pixman: Disabled %s implementation\n", name);
|
fprintf (stderr, "pixman: Disabled %s implementation\n", name);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user