summaryrefslogtreecommitdiff
path: root/src/cairo-fixed.c
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF addressAndrea Canciani2010-04-271-1/+1
| | | | | | | | | | | I updated the Free Software Foundation address using the following script. for i in $(git grep Temple | cut -d: -f1 ) do sed -e 's/59 Temple Place[, -]* Suite 330, Boston, MA *02111-1307[, ]* USA/51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA/' -i "$i" done Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21356
* [fixpt] Make fixed point methods static inline and genericVladimir Vukicevic2007-07-181-99/+1
| | | | | Move the fixed point methods to static inline versions in cairo-fixed-private.h, and don't hardcode fixed to be 16.16.
* Change _cairo_fixed_from_double to use the "magic number" techniqueDan Amelang2006-11-061-1/+47
| | | | | | | | | | | | | | | | | | See long thread here: http://lists.freedesktop.org/archives/cairo/2006-October/008285.html This patch provides a 3x performance improvement (on x86) for the conversion of floating-point to fixed-point values as measured by the recent pattern_create_radial performance test: image-rgba pattern_create_radial-16 8.98 3.36% -> 2.97 1.03%: 3.38x speedup ██▍ image-rgb pattern_create_radial-16 8.94 3.21% -> 2.97 0.18%: 3.36x speedup ██▍ xlib-rgb pattern_create_radial-16 9.55 3.17% -> 3.64 0.51%: 2.93x speedup █▉ xlib-rgba pattern_create_radial-16 9.63 3.53% -> 3.69 0.66%: 2.91x speedup █▉
* Fix for bug #4137:Carl Worth2005-08-191-1/+1
| | | | Fix to round properly.
* Fix to not right-shift a negative number when called with an argument of 0.Carl Worth2005-08-181-1/+1
|
* Switch from broken cworth@isi.edu address to canonical cworth@cworth.org ↵Carl Worth2005-02-221-1/+1
| | | | address.
* Add _cairo_gstate_restore_external_state, _cairo_fixed_integer_floor and ↵Alexander Larsson2004-12-201-0/+18
| | | | | | | | | | _cairo_fixed_integer_ceil. Call _cairo_gstate_restore_external_state on restore. Fix cache-misses. Implement floor and ceil Restore surface clip region on restroe. (_calculate_region_for_intermediate_clip_surface), (_cairo_gstate_clip_and_composite_trapezoids), (_cairo_gstate_show_surface), (_cairo_gstate_show_glyphs): Create intermediate clip surfaces of the minimal required size.
* Convert all files to utf-8. Add copyright information to cairo_png_surface.c.Carl Worth2004-10-211-1/+1
|
* Add the MPL as a new license option, in addition to the LGPL.Carl Worth2004-09-041-12/+29
|
* Fix to explicitly refer to GNU Lesser Public License 2.1 rather than the ↵Carl Worth2004-08-021-7/+5
| | | | Library Public License version 2 or 'any later version'
* Change from MIT license to LGPL.Carl Worth2004-08-021-20/+14
|
* Add sanity checking feature configury.Graydon Hoare2004-05-201-0/+11
| | | | | | | | | | Add sanity checking feature. Add sanity checking. Add prototypes. New functions. New function. Use fixed functions. (_cairo_gstate_clip): Arithmetic fixes. (_cairo_gstate_clip_and_composite_trapezoids): (_cairo_gstate_show_surface): (_cairo_gstate_show_text): (_cairo_gstate_show_glyphs): Corrections to clipping. Add XCopyArea fast path. (_cairo_xlib_surface_set_clip_region): Drive clip to drawable.
* Add typedefs for new callbacks to be used by cairo_current_path: ↵Carl Worth2004-02-121-0/+7
| | | | | | | | | | | | cairo_move_to_func, cairo_line_to_func, cairo_curve_to_func, and cairo_close_path_func. cairo_path.last_move_point and cairo_path.current_point are now fixed-point not doubles for consistency. Now accept 4 explicit function pointers rather than a structure. Eliminate unnecessary done_path callback. Track change in _cairo_path_interpret. Code previously in done_path callback is now here immediately after call to _cairo_path_interpret. Internal _cairo_path API modified to accept fixed-point data everywhere. Much cleaner this way. Have to convert doubles to fixed-point to track changes in _cairo_path API. Keep data in fixed-point rather than going through intermediate doubles. Track changes in _cairo_path API. New function to help when working with freetype.
* Fixed copyright attribution to refer to "University of Southern CaliforniaCarl Worth2003-10-231-1/+1
|
* Preliminary support for running Cairo with X servers without the Render ↵Carl Worth2003-09-051-0/+46
extension. This is still horribly slow. Removed many uses of X-specific macros, (eg. XDoubleToFixed)