Commit Graph

766 Commits

Author SHA1 Message Date
Franz Marini 830b576dd1 ok, just wrote this little function to do pixel drawing with blending.
In fact, I wrote it just for the Bezier drawing function, but I thought it
could be useful in other cases too.
Have fun, Lightman :)


SVN revision: 5302
2001-08-28 12:50:15 +00:00
Franz Marini 3210af70fb added nick. nothing important. :)
SVN revision: 5301
2001-08-28 12:48:17 +00:00
Tom Gilbert 3ae994e663 bad logic there tom
SVN revision: 5291
2001-08-26 21:20:02 +00:00
Tom Gilbert c86e7b86ab fixed filled ellipses - note, this isn't the cleanest fix in the world.
set_cliprect(0,0,0,0) is supposed to disable clipping, but the calls in
api.c subtract one from maxx and maxy, so that breaks some of the logic that
checked for the need to clip. This is a temporary fix, but it does work.

That "whether to clip or not" logic needs a rewrite, but I'm real tired.


SVN revision: 5275
2001-08-25 01:01:09 +00:00
Carsten Haitzler 7be07a6635 hmm - fix segv with x font support
SVN revision: 5204
2001-08-18 02:49:42 +00:00
Carsten Haitzler de446b41a3 aha! oops :)
SVN revision: 5186
2001-08-17 00:17:58 +00:00
Mark Bainter aa3d5e61dd Changed --with-freetype to --with-ttf to make it consistant with the other
modules.


SVN revision: 5182
2001-08-16 16:10:57 +00:00
Carsten Haitzler ae28a02941 db loader out of imlib2...
SVN revision: 5175
2001-08-16 09:48:23 +00:00
Carsten Haitzler 1889718e75 ooooh that would leak if we added the same path all the time... which shoudl
be ignored... :)


SVN revision: 5155
2001-08-13 23:24:13 +00:00
Tom Gilbert c0a35f2a2f Expunged all the raw_file stuff and fixed a warning.
SVN revision: 5143
2001-08-13 18:16:03 +00:00
Carsten Haitzler 70d6cef5b3 oops.. free pointers that might be null.. checdk for that first!
SVN revision: 5140
2001-08-13 13:38:19 +00:00
Tom Gilbert d1227e7040 another one
SVN revision: 5138
2001-08-13 08:29:05 +00:00
Carsten Haitzler 7cc89cb9ba oops developer debug info wrong.. fix
SVN revision: 5137
2001-08-13 07:48:12 +00:00
Tom Gilbert f0b1398bbf that doesn't actually do anything different
SVN revision: 5132
2001-08-12 23:19:28 +00:00
Carsten Haitzler fc59b342fa double up modified date checks... incase of colon
SVN revision: 5131
2001-08-12 22:57:19 +00:00
Tom Gilbert 39c1c0eeda ewps!
SVN revision: 5126
2001-08-12 14:35:41 +00:00
Tom Gilbert 49b98d08de sorry, debugging stuff
SVN revision: 5125
2001-08-12 13:47:39 +00:00
Tom Gilbert f537ac14e3 er no
SVN revision: 5124
2001-08-12 13:45:47 +00:00
Tom Gilbert f2ba676428 safer
SVN revision: 5123
2001-08-12 13:45:32 +00:00
Tom Gilbert ab067f4fc5 This is what I meant.
I have tested:

feh test:image.jpg                                     WORKS
imlib2_view e/data/icons/image/png.db:/icon/clicked    WORKS

I have tested saving with geist too and that works.

The patch is bigger than it would have been because I had to revert some of
raster's attempt. There is more debris left over (unused functions and
params etc) but I won't clean all that out until people have checked out
this and are happy.

I might make something like imlib_get_real_filename available in the public
API. So that apps (like feh) that use stat() that do their own error checking
can also do the right thing, but this is a separate issue and not totally
necessary.


SVN revision: 5122
2001-08-12 13:41:11 +00:00
Carsten Haitzler a3dae08a37 alright - comprimise. theres a imlib_context_set_filename_raw_mode()
call now - if you want to deal with filenames and not have them interpreted
use this and set it to 1.


SVN revision: 5096
2001-08-11 03:33:05 +00:00
Tom Gilbert dd082b7d0b warnings suck
SVN revision: 5095
2001-08-11 00:47:49 +00:00
Michael Jennings 64cbfee4fe Fri Aug 10 13:33:13 PDT 2001
(KainX)

None of the libraries are now absolute requirements.  Everything that
requires external support which Imlib2 itself doesn't specifically
need can now be optionally built.


SVN revision: 5090
2001-08-10 20:34:33 +00:00
Carsten Haitzler f5a26225a1 oops - chekc for keys and real files first
SVN revision: 5083
2001-08-10 09:05:02 +00:00
Carsten Haitzler 0564389a26 virtualize real file and key splitting nicely into image data struct.
now we escpae literal colons with double colons. it's documented too. (this
was easier to do as i also have to do it for ssving files and you cant stat
to see if a file exisit fi you havent saved it yet)


SVN revision: 5080
2001-08-10 08:35:05 +00:00
Carsten Haitzler 2523237b33 beat me silly. i forgot to allocate the memory... :) yay.. fixed :)
SVN revision: 4998
2001-07-28 00:53:41 +00:00
Carsten Haitzler c0b2c98eab and add author...
SVN revision: 4877
2001-07-01 02:42:02 +00:00
Carsten Haitzler 4259371c2c add mark's patch
SVN revision: 4876
2001-07-01 02:41:16 +00:00
Carsten Haitzler 1c024508d2 bmtext dithers....
filters work.. :)


SVN revision: 4836
2001-06-19 03:01:46 +00:00
Carsten Haitzler 94828db44e add a color clearer too
SVN revision: 4762
2001-05-11 07:22:40 +00:00
Carsten Haitzler 05d0572575 in cvs :) clear function :)
SVN revision: 4761
2001-05-11 07:14:47 +00:00
Carsten Haitzler 62ceffab44 add :)
SVN revision: 4749
2001-05-09 06:15:44 +00:00
Carsten Haitzler 02a6912ad4 add then :)
SVN revision: 4746
2001-05-09 01:57:02 +00:00
Carsten Haitzler fee04bcdde franz's patches to support other color spaces :)
SVN revision: 4745
2001-05-08 20:29:16 +00:00
Horms 60e02c7594 flum
SVN revision: 4732
2001-05-06 01:22:29 +00:00
Carsten Haitzler e27efa2f2e imconvert.c added to tarball
SVN revision: 4703
2001-05-02 17:40:49 +00:00
Carsten Haitzler c994718676 up to 1.0.3
SVN revision: 4682
2001-04-29 05:58:36 +00:00
Carsten Haitzler 22cdb56e43 oooooooooooooooops
fix fix fix bug bug :)


SVN revision: 4678
2001-04-29 02:55:55 +00:00
Carsten Haitzler 895027d9fe oops - widht & height 1 grad get div by 0 .. fix fix fix :)
SVN revision: 4635
2001-04-16 19:10:58 +00:00
Carsten Haitzler c2e1328e53 carsten's context stack patch... with a default context entry too.. :)
SVN revision: 4572
2001-04-11 19:27:32 +00:00
Laurence J. Lane b753afba1d clean up for build
SVN revision: 4382
2001-03-17 10:19:13 +00:00
Laurence J. Lane 49e18fc3b8 cleanup source names
SVN revision: 4348
2001-03-07 14:14:02 +00:00
Michael Jennings d2b05e00e9 Fix error building with dmalloc support.
SVN revision: 4309
2001-03-04 08:40:43 +00:00
Carsten Haitzler 76b69f298e oops and a leak in the png loader.. and fix a potential leak in the jpeg
saver for when things go awry.


SVN revision: 4308
2001-03-04 04:33:59 +00:00
Carsten Haitzler 22c26c8c2b errr oops - aleak.. fix fix fix :)
SVN revision: 4307
2001-03-04 04:17:15 +00:00
Tom Gilbert 4c3d00f262 fix memory leak
SVN revision: 4300
2001-03-03 22:32:16 +00:00
Carsten Haitzler 15263ed166 sorry - debain dir breaks build. removed form configure and makefile... also
up to 1.0.2


SVN revision: 4297
2001-03-02 18:58:47 +00:00
Tom Gilbert 70edd4110f Adam's font fixer-upper patch :)
SVN revision: 4291
2001-02-28 19:48:38 +00:00
Richard Lowe 8810bb633e Please Miss, I need -lm too.
SVN revision: 4286
2001-02-25 11:31:47 +00:00
Carsten Haitzler 415da06493 add adam to AUTHORS
SVN revision: 4265
2001-02-20 05:58:26 +00:00