commit -- more graphics reorg

Matt Kimball (robozapp@xmission.com)
Sun, 23 May 1999 16:33:19 -0600


I made more changes to cut down on the code which assumes all graphics
are PNGs. The impGraphic classes in impexp are now actually used, so
someone could easily write, say, ie_impGraphic_JPG or something which
would convert a UT_ByteBuf full of JPG info to PNG and returns a
FG_GraphicRaster object, and then AbiWord would have support for jpeg
images.

I added the FG_Graphic and FG_GraphicRaster classes to the fmt code so
that code in there can refer to a graphic without knowning the details
of the format. FG_GraphicRaster is a subclass of FG_Graphic and I'll
be adding FG_GraphicVector later. Right now these classes are only
being used when you insert a new image, but I plan to change that.

All these changes should be invisible to the user. No new behavior in
this checkin.

-- 
Matt Kimball
mkimball@xmission.com


This archive was generated by hypermail 1.03b2.