sfraser@netscape.com
a9f23f9978
Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. r=pnunn, a=chofmann.
1999-11-04 22:26:57 +00:00
dcone@netscape.com
2b16f7783b
Fixed a divide by zero crasher, and cleaned up borders. r=buster
1999-11-03 05:46:01 +00:00
dcone@netscape.com
8aef5d863c
Added a clip for the borders and fixed how they are rendered. r=karnaze
...
bugs:10311,8737,14566
1999-10-26 14:34:17 +00:00
troy@netscape.com
b8ef6465be
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
dcone@netscape.com
85eca94317
Fixed warning.
1999-10-22 13:29:06 +00:00
dcone@netscape.com
315f2954a9
Fixed the rounded border rendering code to obey solid, and none style types.
...
Also bumped all the rounded rects onto pixel boundaries before rendering.
1999-10-20 14:46:27 +00:00
dcone@netscape.com
a9fe13ac07
Fixed some warnings
1999-10-07 20:40:00 +00:00
dcone@netscape.com
9dc7231ec5
Turned on the background tiling optimization.. Reviewed By rods
1999-10-07 14:57:32 +00:00
dcone@netscape.com
77b0be43e2
added background fix.. commented out for now until other platforms are tested
1999-10-01 14:35:20 +00:00
rods@netscape.com
cbe06e0b20
Added extra parameters so PaintBorder can be used to draw borders with a size that
...
is passed in instead of get the size from style.
1999-09-03 14:12:09 +00:00
troy@netscape.com
4bd26cea33
Fix for bug #12751 . Optimized PaintBorder() so if the dirty rect is completely
...
inside of the border rect, then we don't paint anything. This speed up
incremental painting
1999-08-29 03:25:56 +00:00
dcone@netscape.com
f8d689183b
removed a debug printf
1999-08-27 20:58:37 +00:00
dcone@netscape.com
53ebb15b83
Added a rounding parameter so rounded rects can be used as cirles if the radius is large enough
1999-08-27 14:37:47 +00:00
rods@netscape.com
325fa6e9b8
removed some unused variables to get rid of some warnings
1999-08-25 13:39:41 +00:00
troy@netscape.com
17a060ab89
Changed PaintBackground() so it doesn't always render the background color when
...
there's a background image that doesn't tile the entire bounds
1999-08-25 05:05:04 +00:00
ramiro@netscape.com
0a967756ad
#ifdef out annoying printf.
1999-08-25 04:01:57 +00:00
troy@netscape.com
8f1fde9cec
Added case selectors for NS_STYLE_BORDER_STYLE_HIDDEN. Treated just like
...
NS_STYLE_BORDER_STYLE_NONE
1999-08-24 21:47:55 +00:00
dcone@netscape.com
dea62f3345
Fixed some warnings, and some roundoff for the curves
1999-08-24 14:51:16 +00:00
rods@netscape.com
b1827fd5ee
Added a new method PaintOutline, and added a new parameter to PaintBorder to tell whether to get the style and color information from the border info or the outline info
1999-08-19 14:22:47 +00:00
harishd@netscape.com
7da01e88b0
Changing the order in which borders are painted for compatibility.
...
Used to be TOP,LEFT,BOTTOM,RIGHT, and now it's
BOTTOM,LEFT,TOP,RIGHT. Fix for bug#11022
1999-08-10 18:13:50 +00:00
troy@netscape.com
99ae5771db
Added failure check for call to nsStyleData::GetBorder()
1999-07-28 04:48:34 +00:00
kmcclusk@netscape.com
003825881c
bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
...
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.
1999-07-27 23:26:36 +00:00
troy@netscape.com
590a66f112
Fix for bug #10563 where we were triggering a post condition assertion. Changed
...
ComputeBackgroundAnchorPoint() to correctly calculate tile offset that is a
multiple of the tile
1999-07-27 14:13:09 +00:00
dcone@netscape.com
c3a812ef59
Fixed background rendering
1999-07-27 06:41:34 +00:00
dcone@netscape.com
b5ae889ded
fixed background tile clipping bug.
1999-07-19 14:37:36 +00:00
dcone@netscape.com
10fe138110
Fixed printing to make sure all URL's are loaded before print.
...
Fixed the background tile render'er to save and restore clip.
1999-07-15 14:23:40 +00:00
troy@netscape.com
3542b1543b
Fixed some compiler warnings
1999-07-02 22:39:32 +00:00
dcone@netscape.com
ea1271902d
background Image speed up
...
Commented out the box around the printout until Troy returns
1999-06-11 14:43:14 +00:00
troy@netscape.com
8b0bff229c
Fix for bug #5680 . Re-arranged some assertion checking code
1999-04-29 18:29:56 +00:00
troy@netscape.com
843614e49d
Fixed a comment
1999-04-25 04:14:06 +00:00
troy@netscape.com
c657dd4690
Added support for fixed background attachment
1999-04-25 02:43:50 +00:00
dcone@netscape.com
aae3f76f72
Updated with the background painting and anti-aliasing
1999-04-21 14:23:49 +00:00
dcone@netscape.com
120996d5d1
added the rounded rectangle code for style
1999-04-19 05:27:55 +00:00
kipp@netscape.com
b433979d7b
Updated to use new image loading apis
1999-04-13 21:52:19 +00:00
peterl@netscape.com
d25e534811
added transparent border support
1999-03-28 04:30:28 +00:00
kipp@netscape.com
1d3f183597
Remove dead global-variable nonsense
1999-03-05 19:23:52 +00:00
kipp@netscape.com
89263c1950
Pass in default image size when loading image
1999-02-26 17:12:05 +00:00
kipp@netscape.com
74b2988510
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
troy@netscape.com
5f09e64e3b
Work-in-progress for replaced elements that can't be rendered
1999-02-04 17:03:46 +00:00
harishd@netscape.com
c806c84b6f
Changing the variable aElementColor to aBorderColor in Painborder(),
...
PaintBorderEdge(), DrawSide(), and MakeBevelColor().
The computed colors for all the border style should be based on
the actual 'border-side-color' not the element's color after all.
1999-01-28 00:31:47 +00:00
harishd@netscape.com
d776f3e8f6
Got stylecontext info into PaintBorder() for displaying
...
CSS borders.
1999-01-22 22:24:05 +00:00
troy@netscape.com
217ab2bc29
Fix for bug #1998 . Now we render the background image over the padding area and not over the border area
1999-01-15 18:25:58 +00:00
buster@netscape.com
cb2d544857
comments, so many comments!
1999-01-03 19:23:21 +00:00
buster@netscape.com
357d4ccda8
right dashed borders now work
...
dashed borders along a span now mostly work
1998-12-30 22:39:49 +00:00
buster@netscape.com
ba067d4721
CSS2 table collapsing border rendering
1998-12-30 06:47:26 +00:00
buster@netscape.com
dcaeaec437
DrawBorderEdge fixes
1998-12-23 15:48:50 +00:00
buster@netscape.com
6d1e13ecd0
fixes for PaintBorderEdges
1998-12-21 06:37:10 +00:00
buster@netscape.com
02541201eb
added PainBorderSegments
1998-12-17 22:58:51 +00:00
kipp@netscape.com
7513d3619c
Repaired the background image rendering code to properly factor in the dirty-rect with background-position handling (bug #912 )
1998-12-12 03:06:02 +00:00
kipp@netscape.com
85923ca558
Fixed border drawing to not draw zero sized borders
1998-12-10 17:50:11 +00:00