Name Description Size Coverage
AAStroke.h 1518 -
AppUnits.h _NS_APPUNITS_H_ 504 100 %
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 1035 100 %
components.conf 447 -
CompositorHitTestInfo.h MOZILLA_GFX_COMPOSITORHITTESTINFO_H_ 4423 -
DriverCrashGuard.cpp 16230 25 %
DriverCrashGuard.h 4730 0 %
Etagere.h 2188 -
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. 4853 100 %
FilterSupport.cpp 77714 88 %
FilterSupport.h 15032 22 %
FontPropertyTypes.h font specific types shared by both thebes and layout 4685 71 %
gfxCrashReporterUtils.cpp 4533 98 %
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. 1622 100 %
gfxTelemetry.cpp 3366 34 %
gfxTelemetry.h 2574 -
moz.build 2000 -
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. 3162 100 %
nsColor.cpp 6181 96 %
nsColor.h nsColor_h_ 2652 100 %
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. 11625 98 %
nsDeviceContext.cpp not a reference context 13050 94 %
nsDeviceContext.h Initialize the device context from a widget @param aWidget a widget to initialize the device context from 9788 100 %
nsFont.cpp 10702 97 %
nsFont.h nsFont_h_ 4556 100 %
nsFontCache.cpp 8570 94 %
nsFontCache.h NS_FONTCACHE_H_ 3366 42 %
nsFontMetrics.cpp 16589 64 %
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 pres 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. 9918 100 %
nsGfxCIID.h 606 -
nsIFontEnumerator.idl Return a sorted array of the names of all installed fonts. @return array of names @return void 2224 -
nsITheme.h service providing platform-specific native rendering for widgets 9549 29 %
nsMargin.h NSMARGIN_H 749 100 %
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 3333 100 %
nsRect.cpp 1100 100 %
nsRect.h 19592 93 %
nsRectAbsolute.h NSRECTABSOLUTE_H 1578 100 %
nsRegion.cpp 32696 66 %
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. 73360 91 %
nsRegionFwd.h 576 -
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 2065 80 %
nsThebesFontEnumerator.cpp 7156 89 %
nsThebesFontEnumerator.h NSTHEBESFONTENUMERATOR_H_ 637 -
nsTransform2D.cpp 698 100 %
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 2159 100 %
RegionBuilder.h 742 100 %
RelativeLuminanceUtils.h 2822 100 %
WPFGpuRaster.h 1996 -
X11UndefineNone.h 1508 -
X11Util.cpp 1173 0 %
X11Util.h Return the default X Display created and used by the UI toolkit. 1658 100 %