Commit Graph

120 Commits

Author SHA1 Message Date
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
atotic
2b30eaf7bd First Checked In. 1998-06-16 21:39:13 +00:00
michaelp
26ea1cc215 PopState() now returns PR_TRUE if there is an empty clip region after the pop. 1998-06-16 16:49:29 +00:00
dcone
cc0628b4d0 intermeditate updates to blend and test program. It now works in 24 bit 1998-06-16 13:09:46 +00:00
spider
1bee8207c3 Fix some Unichar HTML Rendering 1998-06-16 02:21:46 +00:00
spider
f16568df10 Fixes to get viewer to render on Unix 1998-06-16 00:57:33 +00:00
troy
eec17e5d28 Changed to set the polygon fill mode in CommonInit() instead of when drawing
polygons
1998-06-15 18:50:08 +00:00
vidur
4f22a708f9 Asynchronous loading of images 1998-06-12 22:08:39 +00:00
spider
febf8a03db Fix for rendering problem where everything goes black AFTER the first paint on non-8 bit displays 1998-06-12 01:30:52 +00:00
rods
46ffc932b2 kludge for now 1998-06-11 23:10:41 +00:00
spider
ccea853a2f Support for TrueColor display, add nsNativeDeviceContext to Init method of nsIDeviceContext, fix FontMetrics crash if no RenderingContext is available. 1998-06-11 21:26:21 +00:00
rods
e0c80033a0 added GetBitInfo to fix the build 1998-06-11 19:43:26 +00:00
dcone
06a3dd1232 updated blending code, and tests 1998-06-11 17:33:26 +00:00
spider
b558a15b72 Draw text from upper left rather than baseline 1998-06-11 02:15:12 +00:00
spider
2fad7b8ec3 Remove duplicate drawingsurface. fix memory leak 1998-06-11 01:22:26 +00:00
spider
08403cb2d4 Compute TWIPS during Init() of DeviceContext rather than waiting
until the RenderingContext is created.
1998-06-11 00:32:29 +00:00
rods
a7ffce9f67 added PRUint32 cast to unbreak the build 1998-06-10 20:34:38 +00:00
rods
370cc0de49 24 bit color fix 1998-06-10 18:18:35 +00:00
spider
55887d3cbb Attempt to do the right thing on 24 bit displays ... good luck 1998-06-10 17:29:11 +00:00
spider
5f7b6bef1f WIP: XLib Image stuff 1998-06-10 01:59:11 +00:00
spider
36641250db More Region fixes 1998-06-10 00:44:43 +00:00
spider
c1fc037c89 Region fixes - need to create region before they can be used 1998-06-10 00:06:38 +00:00
spider
527833795f Implement SetClipRect 1998-06-06 01:41:42 +00:00
spider
0878340957 Buf fix: Remove extra colormap install. Also remove clip flags from
rendering context
1998-06-05 21:04:18 +00:00
spider
333448c53a Complete double buffering implementation. Be sure to reset the offscreen
device upon destruction of the drawing surface
1998-06-05 18:56:42 +00:00
spider
d01cb72f3d WIP ... GraphicsState maintenance 1998-06-05 01:39:53 +00:00
spider
c0cb1619ec Implement Matrix Transformation 1998-06-05 00:52:54 +00:00