TkGS Specification - Changes
Current specification:
- Updated GC structure and renamed drawwing parameters accessors from
TkGS_{Get|Set}<attribute> to
TkGS_{Get|Set}Drawable<attribute>
- Removed the useless
gc
variable from the Tk porting example
code.
- Changed
drawable
to d
as the
TkGS_Drawable argument of drawing primitives.
- Added section on fonts and text handling as
well as the corresponding internals.
- Updated my mail address.
- Changed TkGS_GetDevice to TkGS_GetDrawableDevice
- Changed
int
to unsigned int
for width
and height in
TkGS_Rectangle
- Added drawing primitives
TkGS_DrawRectangles
and TkGS_DrawEllipses
- Renamed TkGS_DrawPixel to TkGS_DrawPoint, as "point"
is more generic than "pixel", which is usually only used for raster devices
- Added support for multiple simultaneous internal reps in TkGS_Objs. This can be useful for
heavyweight objects such as fonts, where type shimmering may hit
performances if the objects are used on multiple devices (eg. font used for
displaying and printing). Modified related structures and functions in
consequence.
- Added Tcl_Interps for error reporting to TkGS_Obj and some
color functions. TkGS is now (slightly) Tcl-dependent. Porters may replace
Tcl constructs with the apropriate counterparts.
09/02/2000
- Added section on internals (TkGS_Obj and friends)
- Added specification and implementation status
- Changed URLs from MultiMania to PURL
- Cleaned up the porting example
09/07/1999
- Added the change log
- Renamed TkGS_GraphicsDevice and related functions to TkGS_Device
(idea
by Paul Duffin)
- Corrected typos in some pages' title
- Changed type of valueMask from
int
to unsigned
long
in GC functions, and renamed valuesPtr to values, to better
match the Xlib functions prototypes