[cairo-commit] cairo ChangeLog,1.183,1.184 configure.in,1.51,1.52

David Reveman commit at pdx.freedesktop.org
Thu Apr 29 20:26:59 PDT 2004


Committed by: davidr

Update of /cvs/cairo/cairo
In directory pdx:/tmp/cvs-serv31835

Modified Files:
	ChangeLog configure.in 
Log Message:
Updated linear and radial patterns

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.183
retrieving revision 1.184
diff -C2 -d -r1.183 -r1.184
*** a/ChangeLog	28 Apr 2004 09:14:23 -0000	1.183
--- b/ChangeLog	30 Apr 2004 03:26:56 -0000	1.184
***************
*** 1,2 ****
--- 1,27 ----
+ 2004-04-30  David Reveman  <c99drn at cs.umu.se>
+ 
+ 	* src/cairoint.h: Radial patterns only store radius per circle. 
+ 	Only inverse CTM to _cairo_pattern_transform.
+ 
+ 	* src/cairo_pattern.c (cairo_pattern_create_radial): Only one radius
+ 	per circle now.
+ 	(_cairo_pattern_transform): A matrix multiplication with inverse CTM
+ 	is all that's needed here.
+ 	(_cairo_pattern_calc_color_at_pixel): Fixed extend type reflect.
+ 	(_cairo_image_data_set_linear): New linear gradient code. 
+ 	Transformation of linear gradient is now handled correctly.
+ 	(_cairo_image_data_set_radial): New radial gradient code. Inner circle
+ 	is now used for creating radial gradients. Transformation of radial
+ 	gradient is now handled correctly.
+ 	(_cairo_pattern_get_image): Fixed handling of pattern offset.
+ 
+ 	* src/cairo_gstate.c (_cairo_gstate_create_pattern): All pattern types
+ 	are transformed using inverse CTM.
+ 
+ 	* src/cairo_gl_surface.c (_cairo_gl_surface_create_pattern): Updated
+ 	to use glitz's new linear and radial gradients.
+ 
+ 	* configure.in: Require glitz 0.1.1.
+ 
  2004-04-28  David Reveman  <c99drn at cs.umu.se>
  

Index: configure.in
===================================================================
RCS file: /cvs/cairo/cairo/configure.in,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** a/configure.in	16 Apr 2004 15:56:45 -0000	1.51
--- b/configure.in	30 Apr 2004 03:26:56 -0000	1.52
***************
*** 142,146 ****
  
  if test "x$use_gl" = "xyes"; then
!   PKG_CHECK_MODULES(GL, glitz >= 0.1.0, [
      GL_REQUIRES=glitz
      use_gl=yes], [use_gl="no (requires glitz http://freedesktop.org/software/glitz)"])
--- 142,146 ----
  
  if test "x$use_gl" = "xyes"; then
!   PKG_CHECK_MODULES(GL, glitz >= 0.1.1, [
      GL_REQUIRES=glitz
      use_gl=yes], [use_gl="no (requires glitz http://freedesktop.org/software/glitz)"])





More information about the cairo-commit mailing list