Commit Graph

6285 Commits

Author SHA1 Message Date
Carsten Haitzler e2ffcf313c dissalow resizing for line and text objects - doesnt make sense -
change the font or string to resize text, and chnage line coords.

add ability for color settings to apply to image objects too (image colors get
multiplid by color set on image - 255, 255, 255, 255 is "normal" so it's fast
path rendering - all other colors go thru color modifiers in the imlib engines
and gl handles it int he gl engine. if alpha is 0 the object draw is aborted
immediately for fast path.


SVN revision: 3468
2000-09-15 13:49:14 +00:00
Carsten Haitzler a751ec1b21 we have a new rendering target for evas - an imlib image buffer.
it will render to a virtual image buffer just like it would to a window.
the logic works the exact same way as a window - it wil lonly render the rects
that changed. if a rect chnaged it expects that rect to have been cleared and
will blend the canvas ontop of the image - so you can use it to augment the
current image contents (though they will be permenantly modified). This is
specifically designed for doing things like rendering a canvas to be saved
to an image file.

WHEEEEEEEE :)


SVN revision: 3460
2000-09-13 22:36:46 +00:00
Carsten Haitzler 3a1fb0355c add the api routines to query the text objects
SVN revision: 3455
2000-09-13 17:19:38 +00:00
Carsten Haitzler 54af8d51ff routiens for mroe text info.....
SVN revision: 3454
2000-09-13 17:11:53 +00:00
Carsten Haitzler 361f941365 ok- work again.. was just testing..... :)
SVN revision: 3444
2000-09-13 15:46:54 +00:00
Carsten Haitzler d660812fe8 add font ascent/descent checking
SVN revision: 3442
2000-09-13 15:08:05 +00:00
Carsten Haitzler 71d101387e dont need that file
SVN revision: 3441
2000-09-13 14:43:21 +00:00
Carsten Haitzler 85188b4c49 silly - move that free
SVN revision: 3323
2000-09-05 17:20:10 +00:00
Carsten Haitzler f59266a099 double free of callbakcs! no no no - don't do that!
SVN revision: 3315
2000-09-04 23:01:03 +00:00
Term 81ba1e730a Adding yet another spec file.
SVN revision: 3289
2000-09-01 03:16:12 +00:00
Carsten Haitzler 738f9d5fea slight stakcing chnage redraw problem - didnt queue a redraw if stacking
changed (ie raise or lower)


SVN revision: 3288
2000-08-31 23:30:54 +00:00
Carsten Haitzler afe928e120 missing border attribute setting on render.
SVN revision: 3272
2000-08-28 23:40:38 +00:00
pabs 48f4745b8d evas_get_color() attempts to dereference and write to every color
channel ptr without checking to see if it's null. -- ie things like
evas_get_color(evas, obj, &r, &g, &b, 0) will actually work now.

raster is a naugty boy.  no pudding for raster tonight.


SVN revision: 3266
2000-08-27 01:54:14 +00:00
Carsten Haitzler 02b1d9d83e get rid of replace
SVN revision: 3234
2000-08-22 21:25:52 +00:00
Mandrake 2501387eae hush cvs don't say a word
SVN revision: 3229
2000-08-22 19:15:52 +00:00
Carsten Haitzler 0fb877cf9f add some more query calls.
SVN revision: 3226
2000-08-22 07:02:35 +00:00
Carsten Haitzler 5c95f4d5b9 missed those libs
SVN revision: 3224
2000-08-22 04:46:25 +00:00
Carsten Haitzler 254126cc37 fux fux fux
SVN revision: 3222
2000-08-22 04:32:05 +00:00
Carsten Haitzler 22a8ecd6fb evas-config scritp added
SVN revision: 3220
2000-08-22 04:26:18 +00:00
Carsten Haitzler eb7ec35dbc fix line draw bug - add event pass through flag for objects
SVN revision: 3219
2000-08-22 03:45:58 +00:00
Carsten Haitzler 3a0a2fe1fa add to the README
SVN revision: 3201
2000-08-20 23:04:55 +00:00
Carsten Haitzler 38577b210e and prinfs out the fps :)
SVN revision: 3200
2000-08-20 22:53:48 +00:00
Carsten Haitzler a677bd8076 handle events better on other property chnages
SVN revision: 3198
2000-08-20 22:25:08 +00:00
Carsten Haitzler 69125b70ea big click me to drag text object
SVN revision: 3196
2000-08-20 22:05:46 +00:00
Carsten Haitzler e37fccc450 event system works - callbakcs happen.. WOOHOO :)
SVN revision: 3193
2000-08-20 21:49:41 +00:00
Carsten Haitzler 5173a08776 get geometyr right when changing text
SVN revision: 3192
2000-08-20 20:31:08 +00:00
Carsten Haitzler 11fcd34b25 much better - fix that function name
SVN revision: 3188
2000-08-20 07:31:45 +00:00
Carsten Haitzler cabfad7522 add that
SVN revision: 3187
2000-08-20 07:28:43 +00:00
Carsten Haitzler 056e350668 api filled out much better now........ infact... i'm almost done :)
SVN revision: 3186
2000-08-20 07:13:31 +00:00
Carsten Haitzler da571e5aac better gl lib/header checkign in configure
SVN revision: 3121
2000-08-14 21:49:03 +00:00
Carsten Haitzler 8cef1bc011 test uses evas inlcudes in tarball not system
SVN revision: 3119
2000-08-14 17:42:24 +00:00
Carsten Haitzler 5c0c1289d6 endianess chekc for texture gneration
SVN revision: 3118
2000-08-14 16:43:52 +00:00
Carsten Haitzler aaf7e4ffb9 clean clean
SVN revision: 3117
2000-08-14 07:01:00 +00:00
Carsten Haitzler e7d5045576 oops bugs in line backend for imlb - fixed :)
SVN revision: 3116
2000-08-14 06:53:30 +00:00
Carsten Haitzler 28d61bace7 default fotn cache and image cache for imlib subsystem are bigger
SVN revision: 3115
2000-08-14 06:44:07 +00:00
Carsten Haitzler 0a73a07edf gradients added and work
SVN revision: 3114
2000-08-14 06:37:51 +00:00
Carsten Haitzler 842031ebaa lines and rectangles work. woop! :)
SVN revision: 3113
2000-08-14 05:41:56 +00:00
Carsten Haitzler c64671e765 text objects work! dude! like totally! :)
SVN revision: 3112
2000-08-14 03:23:46 +00:00
Carsten Haitzler 331b113f4d evas detects gl and build in gl backend optionally if it finds it. evas will
fall back to stfware imlib2 rendering if an app requests GL rendering..


SVN revision: 3111
2000-08-14 00:14:22 +00:00
Carsten Haitzler bcb7bcea6c dont need bits code.. that will go in another lib - higher level than a canvas
item IMHO


SVN revision: 3110
2000-08-13 22:57:22 +00:00
Carsten Haitzler fc068cdd82 eas now handles fill params for image. tile and offset of image to be filled
within an image object. just a conveneint tile & svcale and offset fill method
for programs.


SVN revision: 3109
2000-08-13 22:45:48 +00:00
Carsten Haitzler 95dbe50e98 check for gl & glu now too - better checks
SVN revision: 3099
2000-08-13 06:31:54 +00:00
Carsten Haitzler 3123dadb40 add data :)
SVN revision: 3098
2000-08-13 06:10:27 +00:00
Carsten Haitzler 95353b03d2 a bit cleaner now too :)
SVN revision: 3097
2000-08-13 06:10:02 +00:00
Carsten Haitzler a5ba53be87 cleaner use func pointers for rendering backend funcs - too much copy & paste
SVN revision: 3096
2000-08-13 06:06:43 +00:00
Carsten Haitzler cda8d8b1b8 fix trails
SVN revision: 3091
2000-08-11 08:32:03 +00:00
Carsten Haitzler 73de169494 wooooo!
core bits of evas api actually do stuff now.. evas test it beginning to use them
if you want to have ann ide how easy it is to use evas as a rendeirng engine
just look at evas_test.. notice the evas setup is just a few calls (create,
set the output drawable, the output size of the window and the viewport into
the evas's virtual world - the its a mater of creating a few objects
and notice the main loo ONLy does 2 things - move the objects then call
render - evas will optimize to only render the bits that changed all for you.
there's a lot fo thank;less nasty state chekcing code just for this.
i'm going to have to write a lot fo it - image obejcts only done sofar.
you cant do anytign except move and resize them and add them and show and hide
them. freeing them wont work. layers dont work. no api to set performance cache
or to access it. fill modes for images dont work either nor is there an api
to set an images border scaling)


SVN revision: 3090
2000-08-11 07:47:52 +00:00
Carsten Haitzler c72ef1301d 2 more text geometry rotuines......... um........ done! :)
SVN revision: 3088
2000-08-10 22:12:42 +00:00
Carsten Haitzler b6a389103c add images........
SVN revision: 3083
2000-08-10 10:15:23 +00:00
Carsten Haitzler 905635f680 whooooppppppeeeeeeeeeeeeeeeeee!
gl image enign handles disparate src and dest rects fine. it also handles
border scaling for images.... after a lot fo work and fiddling.


SVN revision: 3082
2000-08-10 10:14:55 +00:00