w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

pixman-image.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "pixman-private.h"
Include dependency graph for pixman-image.c:

Go to the source code of this file.

Functions

static void gradient_property_changed (pixman_image_t *image)
 
pixman_bool_t _pixman_init_gradient (gradient_t *gradient, const pixman_gradient_stop_t *stops, int n_stops)
 
void _pixman_image_init (pixman_image_t *image)
 
pixman_bool_t _pixman_image_fini (pixman_image_t *image)
 
pixman_image_t_pixman_image_allocate (void)
 
static void image_property_changed (pixman_image_t *image)
 
pixman_image_tpixman_image_ref (pixman_image_t *image)
 
pixman_bool_t pixman_image_unref (pixman_image_t *image)
 
void pixman_image_set_destroy_function (pixman_image_t *image, pixman_image_destroy_func_t func, void *data)
 
voidpixman_image_get_destroy_data (pixman_image_t *image)
 
void _pixman_image_reset_clip_region (pixman_image_t *image)
 
void pixman_disable_out_of_bounds_workaround (void)
 
static void compute_image_info (pixman_image_t *image)
 
void _pixman_image_validate (pixman_image_t *image)
 
pixman_bool_t pixman_image_set_clip_region32 (pixman_image_t *image, pixman_region32_t *region)
 
pixman_bool_t pixman_image_set_clip_region (pixman_image_t *image, pixman_region16_t *region)
 
void pixman_image_set_has_client_clip (pixman_image_t *image, pixman_bool_t client_clip)
 
pixman_bool_t pixman_image_set_transform (pixman_image_t *image, const pixman_transform_t *transform)
 
void pixman_image_set_repeat (pixman_image_t *image, pixman_repeat_t repeat)
 
void pixman_image_set_dither (pixman_image_t *image, pixman_dither_t dither)
 
void pixman_image_set_dither_offset (pixman_image_t *image, int offset_x, int offset_y)
 
pixman_bool_t pixman_image_set_filter (pixman_image_t *image, pixman_filter_t filter, const pixman_fixed_t *params, int n_params)
 
void pixman_image_set_source_clipping (pixman_image_t *image, pixman_bool_t clip_sources)
 
void pixman_image_set_indexed (pixman_image_t *image, const pixman_indexed_t *indexed)
 
void pixman_image_set_alpha_map (pixman_image_t *image, pixman_image_t *alpha_map, int16_t x, int16_t y)
 
void pixman_image_set_component_alpha (pixman_image_t *image, pixman_bool_t component_alpha)
 
pixman_bool_t pixman_image_get_component_alpha (pixman_image_t *image)
 
void pixman_image_set_accessors (pixman_image_t *image, pixman_read_memory_func_t read_func, pixman_write_memory_func_t write_func)
 
uint32_tpixman_image_get_data (pixman_image_t *image)
 
int pixman_image_get_width (pixman_image_t *image)
 
int pixman_image_get_height (pixman_image_t *image)
 
int pixman_image_get_stride (pixman_image_t *image)
 
int pixman_image_get_depth (pixman_image_t *image)
 
pixman_format_code_t pixman_image_get_format (pixman_image_t *image)
 
uint32_t _pixman_image_get_solid (pixman_implementation_t *imp, pixman_image_t *image, pixman_format_code_t format)
 

Variables

static const pixman_color_t transparent_black = { 0, 0, 0, 0 }
 

Function Documentation

◆ _pixman_image_allocate()

◆ _pixman_image_fini()

◆ _pixman_image_get_solid()

◆ _pixman_image_init()

void _pixman_image_init ( pixman_image_t image)

◆ _pixman_image_reset_clip_region()

void _pixman_image_reset_clip_region ( pixman_image_t image)

◆ _pixman_image_validate()

◆ _pixman_init_gradient()

◆ compute_image_info()

◆ gradient_property_changed()

◆ image_property_changed()

◆ pixman_disable_out_of_bounds_workaround()

void pixman_disable_out_of_bounds_workaround ( void  )

Definition at line 260 of file pixman-image.c.

◆ pixman_image_get_component_alpha()

pixman_bool_t pixman_image_get_component_alpha ( pixman_image_t image)

Definition at line 866 of file pixman-image.c.

Referenced by _cairo_ft_scaled_glyph_init(), and _transform_glyph_bitmap().

◆ pixman_image_get_data()

◆ pixman_image_get_depth()

int pixman_image_get_depth ( pixman_image_t image)

Definition at line 928 of file pixman-image.c.

References BITS, and PIXMAN_FORMAT_DEPTH.

Referenced by _cairo_image_surface_init().

◆ pixman_image_get_destroy_data()

void* pixman_image_get_destroy_data ( pixman_image_t image)

Definition at line 230 of file pixman-image.c.

◆ pixman_image_get_format()

pixman_format_code_t pixman_image_get_format ( pixman_image_t image)

Definition at line 937 of file pixman-image.c.

References BITS, and PIXMAN_null.

Referenced by _cairo_ft_scaled_glyph_init().

◆ pixman_image_get_height()

int pixman_image_get_height ( pixman_image_t image)

Definition at line 910 of file pixman-image.c.

References BITS.

Referenced by _cairo_image_surface_init(), and _init_from_image().

◆ pixman_image_get_stride()

◆ pixman_image_get_width()

int pixman_image_get_width ( pixman_image_t image)

Definition at line 901 of file pixman-image.c.

References BITS.

Referenced by _cairo_image_surface_init(), and _init_from_image().

◆ pixman_image_ref()

◆ pixman_image_set_accessors()

void pixman_image_set_accessors ( pixman_image_t image,
pixman_read_memory_func_t  read_func,
pixman_write_memory_func_t  write_func 
)

Definition at line 872 of file pixman-image.c.

References BITS, image_property_changed(), NULL, PIXMAN_FORMAT_BPP, and return_if_fail.

◆ pixman_image_set_alpha_map()

◆ pixman_image_set_clip_region()

◆ pixman_image_set_clip_region32()

pixman_bool_t pixman_image_set_clip_region32 ( pixman_image_t image,
pixman_region32_t region 
)

◆ pixman_image_set_component_alpha()

◆ pixman_image_set_destroy_function()

void pixman_image_set_destroy_function ( pixman_image_t image,
pixman_image_destroy_func_t  func,
void data 
)

Definition at line 221 of file pixman-image.c.

References data, and func.

Referenced by _get_image(), _pixman_image_for_raster(), _pixman_image_for_surface(), and inplace_renderer_init().

◆ pixman_image_set_dither()

void pixman_image_set_dither ( pixman_image_t image,
pixman_dither_t  dither 
)

Definition at line 688 of file pixman-image.c.

References BITS, dither, and image_property_changed().

◆ pixman_image_set_dither_offset()

void pixman_image_set_dither_offset ( pixman_image_t image,
int  offset_x,
int  offset_y 
)

Definition at line 703 of file pixman-image.c.

References BITS, image_property_changed(), offset_x, and offset_y.

◆ pixman_image_set_filter()

◆ pixman_image_set_has_client_clip()

void pixman_image_set_has_client_clip ( pixman_image_t image,
pixman_bool_t  client_clip 
)

Definition at line 617 of file pixman-image.c.

◆ pixman_image_set_indexed()

void pixman_image_set_indexed ( pixman_image_t image,
const pixman_indexed_t indexed 
)

Definition at line 787 of file pixman-image.c.

References image_property_changed().

◆ pixman_image_set_repeat()

void pixman_image_set_repeat ( pixman_image_t image,
pixman_repeat_t  repeat 
)

◆ pixman_image_set_source_clipping()

void pixman_image_set_source_clipping ( pixman_image_t image,
pixman_bool_t  clip_sources 
)

Definition at line 771 of file pixman-image.c.

References image_property_changed().

◆ pixman_image_set_transform()

◆ pixman_image_unref()

Variable Documentation

◆ transparent_black

const pixman_color_t transparent_black = { 0, 0, 0, 0 }
static

Definition at line 34 of file pixman-image.c.

Referenced by gradient_property_changed().