Hi Micah,
thanks for the PGFX library. It work like I was expecting. Now, I need
some additions :
- clip functions. Can you implement two functions like :
pgSetClip( gc, x, y, w, h );
pgClearClip( gc );
After a call to pgSetClip, all the drawing outside the (x,y,x+w,y+h)
don't go to the screen. I'm not shure if this is easy or not with the
PGFX_PERSISTENT mode, but with PGFX_IMMEDIATE I hope this can be done
easly. ;-)
- something like gdk_gc_set_function() : "Determines how the current
pixel values and the pixel values being drawn are combined to produce
the final pixel values." This mean the following drawing are either
COPY, OR, AND, XOR, INVERT, etc., with the allready drawed. Something
like :
pgSetDrawFunction( gc, flag );
Where flag can be PG_LGOP_OR, PG_LGOP_AND...
- read of the actual drawed value, both for one pixel and for one
region. Like :
pgcolor pgGetPixel( gc, y, x );
pgcolor **pgGetRegion( gc, x, y, w, h );
- of course, I also need the same functions with a bitmap instead of a
canvas widget. ;-)
Other comments :
- you have define pgSetcolor(), pgMoveto(), pgLineto(), pgTilebitmap().
I think is better if you put an upcase for the 2nd word like all other
functions in clieng_c.h. This mean, having for example pgSetColor().
- try to use helvetica with PG_FSTYLE_BOLD. Letters are not all on the
same baseline (y).
- I have some problems at start with PGFX_IMMEDIATE, and not with
PGFX_PERSISTENT (nothing draw in my 1st "paint" function, but after
all is OK). I will try now to find why, but if only this small
explanation give you an idea, let me know.
- using pgSetIdle() cause sometime error on the server :
*** PicoGUI ERROR (HANDLE) : The handle you seek has been found, but
it is not what you are looking for.
I suspect this is when I have a too low value for the timeout, but
this is strange. This is also a point I will look, but if you have an
idea...
Thanks for the good job, and have a nice week.
Olivier
--
Olivier Bornet SMARTDATA SA
[EMAIL PROTECTED] Centre du Parc
http://www.smartdata.ch av. des Prés-Beudin 20
Phone +41-27-723'55'03 1920 Martigny
Fax +41-27-723'55'19 Phone +41-27-723'55'18
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/pgui-devel