Commit Graph

146 Commits

Author SHA1 Message Date
atotic
afb360e8c5 Fixed mac warnings 1998-06-27 02:47:44 +00:00
vidur
4656755c8f Fail if the FirstWrite for the image returns an error 1998-06-26 22:08:03 +00:00
dcone
8ea72914e1 Blending now uses the Upper left to place the source image 1998-06-26 14:06:34 +00:00
michaelp
f8578999cb removed flushgc in setfont. 1998-06-25 22:20:30 +00:00
spider
444aece009 Perf improvement... 1998-06-25 21:42:39 +00:00
spider
ff0a8181d6 fixed. 1998-06-25 18:43:50 +00:00
michaelp
a139d7988c killed commented hackyfontname junk. removed malloc()/free(), etc. from unichar
text measurement.
1998-06-25 18:27:26 +00:00
dcone
bcb8bd62ed added the offset for blending, and a routine to save off bits 1998-06-25 15:07:31 +00:00
spider
8c2bccc128 a little cleanup for unix. 1998-06-25 05:54:12 +00:00
spider
da6cb28eba once again runs under linux. 1998-06-25 05:37:54 +00:00
spider
edc069a0e5 fixed build errors. 1998-06-25 04:59:17 +00:00
michaelp
ec4811f612 added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
kmcclusk
043672cd23 Fixed PRInt16 cast 1998-06-24 23:58:59 +00:00
kmcclusk
1303ab9673 fix 16bit visuals 1998-06-24 22:51:16 +00:00
vidur
c0313715e4 Changed over to asynchronous image loading 1998-06-23 18:49:06 +00:00
rpotts
ee995a6cc6 Keep a global reference to the Image Manager to prevent it from being deleted. 1998-06-23 18:38:33 +00:00
rpotts
57b487e386 Do not crash if the Font cache has not been initialized yet... 1998-06-23 18:37:49 +00:00
spider
fc342b6084 Fix nasty crash dereferncing mContext 1998-06-22 21:33:12 +00:00
dcone
e0cdb656de took out printf's and cleaned up code 1998-06-22 17:06:13 +00:00
dcone
052bbf9a8c fixed some bugs, intermediate checkin 1998-06-22 14:41:23 +00:00
kmcclusk
878542fe68 Fix for GIF animation color table bug. Don't create a new color table when converting to a new image format 1998-06-22 01:57:13 +00:00
kmcclusk
8d61f66d77 Changes to nsImageUnix.cpp to support GIF animation. Works but color table is still wrong. 1998-06-22 01:37:17 +00:00
kmcclusk
18d5303ae5 Fixed places which were deleting the mImageBits which was causing viewer to crash. Also fixes some of the GIF animation problems. 1998-06-21 23:55:08 +00:00
spider
1194519a26 Support for Optimized GC and Regions in Rendering 1998-06-21 07:02:44 +00:00
spider
3706465803 Fix dcone bustage 1998-06-19 23:16:07 +00:00
dcone
f41fcceabe fixed some image problems, put 16 bit support in 1998-06-19 22:02:12 +00:00
rods
0196f2a3a6 Optimize fixes 1998-06-19 19:45:47 +00:00
rods
e7baa01f69 Fixed up images even more, added calls to get the appropriate bits_per_pixel 1998-06-19 14:47:36 +00:00
spider
9ef42ff956 Remove NOISY_FONTS ifdef so not printing so much 1998-06-18 23:32:58 +00:00
spider
ddb4ebba46 Cache visual and depth information in drawing surface since it is not available
when the surface is an offscreen PixMap
1998-06-18 23:00:05 +00:00
dcone
2549e80767 fixing up images 1998-06-18 22:19:08 +00:00
spider
3431d24bfc Fix bustage. Change tabbing to be compatible with mozilla.org. 1998-06-18 22:15:31 +00:00
dcone
2f88b77355 fixed a cast to PRInt8 1998-06-18 22:05:26 +00:00
dcone
f349e57fda made some changes 1998-06-18 22:04:23 +00:00
dcone
ba475752d1 Added the computmetrics call, fixed some small bugs 1998-06-18 14:17:17 +00:00
spider
e76b8e1ac9 Really fix Unix builds - should be a pointer 1998-06-18 01:30:06 +00:00
kmcclusk
17b23aaf6e Changed new of mImageBits to PRUint8 instead of unsinged char. doesn't like this under IRIX. 1998-06-18 00:54:07 +00:00
dcone
5e9b478f73 Commented out ComputeMetrics 1998-06-17 23:01:28 +00:00
dcone
a4c0e4c9e9 added code for image, fixed a bug 1998-06-17 22:55:42 +00:00
spider
71a4c698da fontmetrics now work. fixed random crap in rendering context. 1998-06-17 22:23:36 +00:00
dcone
1264cff90f rename commit 1998-06-17 20:43:32 +00:00
dcone
79590b3944 add compute metrics 1998-06-17 20:37:58 +00:00
dcone
adafdafe17 Take out mMask 1998-06-17 20:36:24 +00:00
dcone
944cdce122 Add some member variables 1998-06-17 20:35:21 +00:00
dcone
75ae342956 alpha fix 1998-06-17 20:31:21 +00:00
dcone
210d6c9960 First nsimage work 1998-06-17 20:03:40 +00:00
troy
d410f5fb1d Changed to remember the text color rather than set/restore it each time we
render text
1998-06-17 19:53:57 +00:00
troy
7c60627b66 Changed DrawString() to use ExtTextOut(), and moved SetBkMode() call to
SetupDC()
1998-06-16 21:57:46 +00:00
atotic
6283ad2a30 Last enum should not be followed by a ','. This generates warnings on the Mac 1998-06-16 21:45:48 +00:00
atotic
d1de2069da Made the projects compile in the dist world 1998-06-16 21:41:31 +00:00