Name Description Size
AppUnits.h _NS_APPUNITS_H_ 625
ArrayView.h This is similar to mfbt/Range.h but has implicit conversion from nsTArray and less bounds checking. For now, prefer Range over ArrayView 1113
components.conf 536
DriverCrashGuard.cpp 16637
DriverCrashGuard.h 4854
FilterDescription.h A data structure to carry attributes for a given primitive that's part of a filter. Will be serializable via IPDL, so it must not contain complex functionality. Used as part of a FilterDescription. 4980
FilterSupport.cpp 78228
FilterSupport.h 15086
FontPropertyTypes.h font specific types shared by both thebes and layout 17196
gfxCrashReporterUtils.cpp 4708
gfxCrashReporterUtils.h \class ScopedGfxFeatureReporter On creation, adds "FeatureName?" to AppNotes On destruction, adds "FeatureName-", or "FeatureName+" if you called SetSuccessful(). Any such string is added at most once to AppNotes, and is subsequently skipped. This ScopedGfxFeatureReporter class is designed to be fool-proof to use in functions that have many exit points. We don't want to encourage having function with many exit points. It just happens that our graphics features initialization functions are like that. 1746
gfxTelemetry.cpp 3487
gfxTelemetry.h 2698 2070
nsBoundingMetrics.h Struct used for accurate measurements of a string, in order to allow precise positioning when processing MathML. This is in its own header file because some very-widely-included headers need it but not the rest of nsFontMetrics, or vice versa. 3246
nsColor.cpp 7889
nsColor.h nsColor_h___ 3267
nsColorNameList.h This file contains the list of all named colors See nsCSSColorNames.h for access to the enum values for colors It is designed to be used as inline input to nsCSSColorNames.cpp *only* through the magic of C preprocessing. All entries must be enclosed in the macro GFX_COLOR which will have cruel and unusual things done to it It is recommended (but not strictly necessary) to keep all entries in alphabetical order The first argument to GFX_COLOR is both the enum identifier of the color and the string value The second argument is the sRGBA value for the named color 'name' entries *must* use only lowercase characters. * Break these invarient and bad things will happen. ** **** 7454
nsColorNames.h nsColorNames_h___ 512
nsCoord.h Basic type used for the geometry classes. Normally all coordinates are maintained in an app unit coordinate space. An app unit is 1/60th of a CSS device pixel, which is, in turn an integer number of device pixels, such at the CSS DPI is as close to 96dpi as possible. 11813
nsDeviceContext.cpp 23645
nsDeviceContext.h Initialize the device context from a widget @param aWidget a widget to initialize the device context from @return error status 10236
nsFont.cpp 10828
nsFont.h nsFont_h___ 4464
nsFontMetrics.cpp 13546
nsFontMetrics.h Font metrics This class may be somewhat misnamed. A better name might be nsFontList. The style system uses the nsFont struct for various font properties, one of which is font-family, which can contain a *list* of font names. The nsFont struct is "realized" by asking the device context to cough up an nsFontMetrics object, which contains a list of real font handles, one for each font mentioned in font-family (and for each fallback when we fall off the end of that list). The style system needs to have access to certain metrics, such as the em height (for the CSS "em" unit), and we use the first Western font's metrics for that purpose. The platform-specific implementations are expected to select non-Western fonts that "fit" reasonably well with the Western font that is loaded at Init time. 8666
nsGfxCIID.h 1219
nsIFontEnumerator.idl Return a sorted array of the names of all installed fonts. @return array of names @return void 2416
nsITheme.h service providing platform-specific native rendering for widgets 10285
nsMargin.h NSMARGIN_H 870
nsPoint.h Return this point scaled to a different appunits per pixel (APP) ratio. @param aFromAPP the APP to scale from @param aToAPP the APP to scale to 3454
nsRect.cpp 1275
nsRect.h 19350
nsRectAbsolute.h NSRECTABSOLUTE_H 1709
nsRegion.cpp 32817
nsRegion.h For information on the internal representation look at pixman-region.c This replaces an older homebrew implementation of nsRegion. The representation used here may use more rectangles than nsRegion however, the representation is canonical. This means that there's no need for an Optimize() method because for a paticular region there is only one representation. This means that nsIntRegion will have more predictable performance characteristics than the old nsRegion and should not become degenerate. The pixman region code originates from X11 which has spread to a variety of projects including Qt, Gtk, Wine. It should perform reasonably well. 73292
nsRegionFwd.h 699
nsSize.h Return this size scaled to a different appunits per pixel (APP) ratio. @param aFromAPP the APP to scale from @param aToAPP the APP to scale to 2492
nsThebesFontEnumerator.cpp 7649
nsThebesFontEnumerator.h _NSTHEBESFONTENUMERATOR_H_ 809
nsTransform2D.cpp 819
nsTransform2D.h This represents the following matrix (note that the order of row/column indices is opposite to usual notation) / m00 0 m20 \ M = | 0 m11 m21 | \ 0 0 1 / Transformation of a coordinate (x, y) is obtained by setting v = (x, y, 1)^T and evaluating M . v 2284
RegionBuilder.h 866
RelativeLuminanceUtils.h 2353
TiledRegion.cpp TiledRegionImpl stores an array of non-empty rectangles (pixman_box32_ts) to represent the region. Each rectangle is contained in a single tile; rectangles never cross tile boundaries. The rectangles are sorted by their tile's origin in top-to-bottom, left-to-right order. (Note that this can mean that a rectangle r1 can come before another rectangle r2 even if r2.y1 < r1.y1, as long as the two rects are in the same row of tiles and r1.x1 < r2.x1.) Empty tiles take up no space in the array - there is no rectangle stored for them. As a result, any algorithm that needs to deal with empty tiles will iterate through the mRects array and compare the positions of two consecutive rects to figure out whether there are any empty tiles between them. 15115
TiledRegion.h A auto-simplifying region type that supports one rectangle per tile. The virtual tile grid is anchored at (0, 0) and has quadratic tiles whose size is hard-coded as kTileSize in TiledRegion.cpp. A TiledRegion starts out empty. You can add rectangles or (regular) regions into it by calling Add(). Add() is a mutating union operation (similar to OrWith on nsRegion) that's *not* exact, because it will enlarge the region as necessary to satisfy the "one rectangle per tile" requirement. Tiled regions convert implicitly to the underlying regular region type. The only way to remove parts from a TiledRegion is by calling SetEmpty(). 5207
X11UndefineNone.h 1557
X11Util.cpp 2628
X11Util.h Return the default X Display created and used by the UI toolkit. 4831