Commit Graph

86 Commits

Author SHA1 Message Date
Kim Woelders 68171bdf7c test: Add basic heif loader check 2022-01-29 19:59:47 +01:00
Kim Woelders dde8b3fcd1 test: Add some more PNM type loading tests
Also avoid that .gz file contents depend on contained file's time stamp.
2022-01-19 19:38:32 +01:00
Kim Woelders 10f692c946 test: Add makefile to generate test images 2022-01-18 20:42:13 +01:00
Kim Woelders da2ce0d94b test: Move generated image files out of source dir
Simplifies cleaning up.
2022-01-18 20:40:59 +01:00
Kim Woelders 64c031acab test: Check __imlib_FileKey() 2022-01-17 13:06:16 +01:00
Kim Woelders a542fb6724 Add svg loader 2022-01-08 16:08:37 +01:00
Kim Woelders 503e8527c3 Add lzma loader 2021-12-28 16:08:06 +01:00
Kim Woelders cbe7408bd8 test: Add a couple of ico depth test images 2021-12-26 12:22:20 +01:00
Kim Woelders 8370777a31 Make initial context static
Avoids having to check on every API function call.
2021-12-08 19:12:29 +01:00
Kim Woelders dbdea2a4a6 test: Add context test 2021-12-06 14:30:30 +01:00
Kim Woelders 9b29249619 test: Add some scaling/rotation tests 2021-12-04 06:55:21 +01:00
Kim Woelders 074c408608 test_save: Check images with alpha too 2021-12-04 06:55:21 +01:00
Kim Woelders e0e4f883e9 test_grab: Add scale-down tests 2021-11-25 15:46:23 +01:00
Kim Woelders 00d050901d test_grab: Cleanups, cosmetics 2021-11-25 15:46:23 +01:00
Kim Woelders 6e27c1e2c3 Fix y-upscaling in imlib_create_scaled_image_from_drawable() 2021-11-25 15:45:56 +01:00
Kim Woelders 008e4e9fd4 test: Add X11 drawable grabbing test 2021-11-23 20:33:25 +01:00
Kim Woelders 0ef105d43c test: test_load improvements 2021-11-05 17:22:01 +01:00
Kim Woelders 81b4e7b56b test: Add test_load_2
Checking signature (CRC) of loaded images.
2021-10-18 19:33:25 +02:00
Kim Woelders 579b1b3366 test: Add icon-64.pbm 2021-10-16 20:46:49 +02:00
Kim Woelders 4e15a7974c Fix build (Imlib2.h is now built) 2021-10-08 19:43:14 +02:00
Kim Woelders e99c7a3bf0 Test: Fix dist
Also do proper clean.
2021-09-25 11:06:02 +02:00
Kim Woelders 8ac8041adf Test: Add some minimal regression testing 2021-09-19 13:12:20 +02:00
Sytse Wielinga 20d8416051 A lot of moving around in imlib2{,loaders} caused lots of unignored files
SVN revision: 13131
2005-01-29 18:26:35 +00:00
Michael Jennings ac4750e3d9 Ssssh!
SVN revision: 12740
2005-01-04 14:47:04 +00:00
Carsten Haitzler 31660022d0 remooov!
SVN revision: 12112
2004-11-01 09:34:29 +00:00
Carsten Haitzler 66934e2c8c sorry - mej - you seem to have broken the build on other systems and
imlib2-config wasnt being installed - also it was deciding it had to
cross-compile and build i686-gnu-linux-imlib2-config etc. files... had to
move autogen.sh to this... :(


SVN revision: 10710
2004-07-06 07:03:51 +00:00
Carsten Haitzler fdc031b0c0 --without-x works again
SVN revision: 10123
2004-05-08 14:30:32 +00:00
Carsten Haitzler 38607c4b9f fix distcheck
SVN revision: 9733
2004-04-15 11:54:59 +00:00
Michael Jennings 7c65468d34 Sat Jul 12 21:06:14 EDT 2003
(KainX)

Patch from Yuri Hudobin <glassy_ape@users.sourceforge.net>
for Freetype2 support.


SVN revision: 7158
2003-07-13 01:09:17 +00:00
Michael Jennings 103226eb98 Thu Apr 3 14:06:53 EST 2003
(KainX)

Rearranged include directory order to make sure
local headers are found before system ones.


SVN revision: 6821
2003-04-03 19:08:17 +00:00
Michael Jennings cab8f00e06 Mon Mar 31 15:20:43 EST 2003
(KainX)

Finally got around to fixing the build.  Having Imlib2 already installed
should no longer be necessary to build it.

PS:  The next person who breaks this will be in for a severe beating.


SVN revision: 6800
2003-03-31 20:23:19 +00:00
Carsten Haitzler 1c024508d2 bmtext dithers....
filters work.. :)


SVN revision: 4836
2001-06-19 03:01:46 +00:00
Carsten Haitzler 62ceffab44 add :)
SVN revision: 4749
2001-05-09 06:15:44 +00:00
Carsten Haitzler fee04bcdde franz's patches to support other color spaces :)
SVN revision: 4745
2001-05-08 20:29:16 +00:00
Richard Lowe 8810bb633e Please Miss, I need -lm too.
SVN revision: 4286
2001-02-25 11:31:47 +00:00
Carsten Haitzler 45ba00f3fd ewwwww - fix infinte loop bug... :)
SVN revision: 4152
2001-01-26 03:29:55 +00:00
Carsten Haitzler 571d51a852 masa's internationalization + x font support for imlib2 :)
SVN revision: 3980
2000-12-12 21:07:38 +00:00
Carsten Haitzler 490383f4d7 patch for grabbing form ximage's - plug dont segv when u set the format to
NULL.


SVN revision: 3782
2000-10-29 23:55:04 +00:00
Carsten Haitzler 1a457d0029 --without-x patch from steve
SVN revision: 3584
2000-10-13 00:11:34 +00:00
Tom Gilbert 0776d7ff0d not quite there yet
SVN revision: 3504
2000-09-17 13:23:15 +00:00
Tom Gilbert eebefe5ede Commiting what I have so far. More to do tomorrow, but it's 3am.
Polygons are now filled with antialiasing, if context_antialias is set.

So are ellipses.

I fixed some clipping bugs.

There is a bug with the AA span though, it's just a little one, but I'm too
tired to find it now. You will see it if you look closely at the top of the
filled ellipse in test/imlib2, using xmag or something.

I'll fix that tomorrow, speed things up a bit, and hopefully implement AA
drawing for ellipse outlines. Oh, I'll unroll some more loops too.

raster: your last commit broke the two test apps. a segv in _RGBA_init()
somewhere, I know it's not my new code, as I tried a fresh checkout and it
did the same thing. I don't have time to check it out tonight though.


SVN revision: 3498
2000-09-17 01:57:01 +00:00
Tom Gilbert 9fce1f5580 shuddup
SVN revision: 3481
2000-09-15 23:24:52 +00:00
Carsten Haitzler 0883f1b746 and enable the fast path again
SVN revision: 3403
2000-09-12 05:46:17 +00:00
Carsten Haitzler 9e7ce74391 simple commented demo
SVN revision: 3393
2000-09-12 00:08:25 +00:00
Tom Gilbert 82824227fc slight speedup
SVN revision: 3312
2000-09-04 15:56:59 +00:00
Tom Gilbert 6a4d800e92 imlib_image_fill_ellipse()
SVN revision: 3306
2000-09-03 19:31:03 +00:00
Tom Gilbert e3d927d32c Better API, simpler polygon struct. imlib_polygon_new() now, no type member.
Then _draw_polygon(polygon, unsigned int closed), and _fill_polygon(poly).


SVN revision: 3305
2000-09-03 19:14:02 +00:00
Tom Gilbert 222e1b5f32 Polygon filling. Right now only works for convex polygons. Works with a
clipping rect, but highly suboptimally (I'm not doing proper polygon
clipping here yet, just clipping slowly on each point drawn - really nasty).

There are probably some rounding errors in here. I need to work more on
this, but I have *so* little time for the next few weeks.

Please don't kill me for this code. It's not finished, but I'm about to move
house, and I have to get something working before I pack my PC away.


SVN revision: 3303
2000-09-03 18:04:00 +00:00
Tom Gilbert 0794fb0f14 imlib_image_draw_ellipse()
Check test/imlib2 for example. Clipped too.

TODO: Not antialiased. yet. point drawing needs to be inlined, or something.


SVN revision: 3287
2000-08-31 22:49:06 +00:00
Tom Gilbert b5ababf0b7 Polygons. Not filled ones yet =P Empty ones are easier ;-)
Hard to come up with a nice API for this, but here's what I have:

ImlibPolygon imlib_polygon_new(int type);
void imlib_polygon_free(ImlibPolygon poly);
void imlib_polygon_add_point(ImlibPolygon poly, int x, int y);
void imlib_image_draw_polygon(ImlibPolygon poly);

Clipping works with these, as demonstrated by test/imlib2

The type paramter may be: POLY_OPEN, POLY_CLOSED or POLY_FILLED (last one
not implemented yet).

I was wondering if draw_polygon should genererate updates, like draw_line.

Thoughts?


SVN revision: 3279
2000-08-30 19:52:57 +00:00