Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
bryner%uiuc.edu e5c3adbd79 New and improved background tiling code for GTK. We take an offset into
the image as a parameter so we avoid drawing the whole tile if it's not
all needed.  Also, we can avoid setting any clip regions at all this
way, and avoid trips to the X server.  Fixes several background rendering
problems.  Also fix a signedness problem in the compositing code
(r=tor).  r=pavlov.
2000-05-12 06:29:37 +00:00
dcone%netscape.com 25178094e4 Added some rasterization of polygons, moved some point definitions to correct locations. 2000-05-11 03:58:58 +00:00
dcone%netscape.com 0875c88ec5 Added the FillPath call. 2000-05-08 14:25:51 +00:00
dcone%netscape.com a15ebee0dc Added FillStdPoly() call to the nsRenderingContext for drawing post tranformation. 2000-05-04 04:03:10 +00:00
dcone%netscape.com 4f0cf14145 Added some API's for the curve drawing code 2000-05-02 14:24:08 +00:00
dcone%netscape.com 2f712d777f Moving the curve drawing into the nsRenderingContextImpl class. 2000-04-28 20:46:40 +00:00
dcone%netscape.com 2d436119b0 Added a DrawPath method to nsRenderingContext, currenly does nothing. 2000-04-25 13:51:46 +00:00
troy%netscape.com b2bf96d0c6 b=34731 Fixed bug in Unicode version of GetWidth() that takes a line break array.
Also added an ascii version of function
2000-04-12 14:49:46 +00:00
troy%netscape.com 04d42a3503 Added new GetWidth() function that takes as additional arguments an
array of break points and an available width and then returns how many
characters fit in the available width. This allows the text frame code
to measure in chunks instead of just a single word at a time
2000-03-31 03:34:05 +00:00
dcone%netscape.com 63dae09a9e Added a new interface for the tiling of backgrounds. r=rods 2000-03-20 15:53:17 +00:00
rbs%maths.uq.edu.au e1fd5b686c [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics() 2000-01-14 06:15:37 +00:00
rbs%maths.uq.edu.au 0f95730da9 [#ifdef MOZ_MATHML] Added GetItalicSlope() in nsIFontMetrics.h to get the tagent of the italic angle needed for the italic correction. Added leftItalicCorrection in nsBoundingMetrics and updated documentation 2000-01-07 14:16:02 +00:00
rbs%maths.uq.edu.au b357f84d41 [GFX] GetBoundingMetrics() added in nsIRenderingContext and associated changes elsewhere (patform-specific) to support its implementation. Fixes for existing bugs discovered while doing the implementation. Details for public: API of the GetBoundingMetrics() method for accurate measurements of a string in order to allow precise positionning when processing MathML. review: Erik, Shyjan. 1999-11-11 04:24:51 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
pavlov%netscape.com 66e73b18eb make things use NS_GET_IID macros and DECL_ISUPPORTS1 macro. added a CopyClipRegion method 1999-09-13 03:42:37 +00:00
kmcclusk%netscape.com c73496735f added comment that NS_COPYBITS_TO_BACK_BUFFER flag passed to nsRenderingContext::CopyOffscreenBits is obsolete and going away 1999-08-19 22:34:22 +00:00
ramiro%netscape.com 12f5c30340 Adding support for XOR selection. Updated nsIRenderingContext interface
to support InvertRect() for the XOR-ing of rectangles.  Makes selection
work as expected on windows and unix as opposed to the rectangle hack.
Stubs added for all other platforms.
1999-07-20 07:26:09 +00:00
av%netscape.com 076a0e2e7e Adding a method to retrieve native drawing data 1999-06-26 21:53:07 +00:00
bruce%cybersight.com 1e47eb8696 Interface classes really do need to define |GetIID()|. 5 of these files are just being switched over to the macro. The others were all lacking |GetIID()| implementations. 1999-06-14 06:16:08 +00:00
michaelp%netscape.com 423c436a70 added blender method that takes rendering contexts.
added LockDrawingSurface() and UnlockDrawingSurface() to rendering
context.
fixed state maintenance errors in rendering context win.
added IsReleaseDCDestructive() to drawingsurfacewin.
1999-03-09 22:07:06 +00:00
scc%netscape.com 2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
michaelp%netscape.com 99c3ddd186 added nsIDrawingSurface, a windows specific counterpart and a windows
implementation. cleaned up windows blending code to the point where we
don't really need platform specific blending implementations at all
anymore. added region area return from nsIRegion::GetRects(). unified all
windows bitmap management code under nsDrawingSurfaceWin.cpp.
1999-02-25 18:53:31 +00:00
michaelp%netscape.com f92bfd0fa2 added GetRects()/FreeRects() to nsIRegion. add GetDrawingSurface() to
nsIRenderingContext.
1999-02-10 02:15:47 +00:00
michaelp%netscape.com b4c034f217 removed aWidth from DrawString(). added aFontID to DrawString() and GetWidth(). 1999-01-28 05:03:05 +00:00
michaelp%netscape.com c8e0ba6a08 moving headers from src to public. added support for dib sections to windows
drawing surface. WIP on making blender work with arbitrary pixel organizations.
1999-01-25 22:16:47 +00:00