зеркало из https://github.com/mozilla/pjs.git
Bug 345051 - Fix DOS line endings. r+sr=tor
This commit is contained in:
Родитель
f8d46be30c
Коммит
2c192a9d10
|
@ -46,9 +46,9 @@ class nsIDOMSVGPoint;
|
|||
class nsIDOMSVGRect;
|
||||
class nsSVGTextPathFrame;
|
||||
|
||||
// {2C466AED-CF7B-4479-A807-98151215A645}
|
||||
// {2C466AED-CF7B-4479-A807-98151215A645}
|
||||
#define NS_ISVGGLYPHFRAGMENTLEAF_IID \
|
||||
{ 0x2c466aed, 0xcf7b, 0x4479, { 0xa8, 0x7, 0x98, 0x15, 0x12, 0x15, 0xa6, 0x45 } }
|
||||
{ 0x2c466aed, 0xcf7b, 0x4479, { 0xa8, 0x7, 0x98, 0x15, 0x12, 0x15, 0xa6, 0x45 } }
|
||||
|
||||
class nsISVGGlyphFragmentLeaf : public nsISVGGlyphFragmentNode
|
||||
{
|
||||
|
@ -56,19 +56,19 @@ public:
|
|||
|
||||
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISVGGLYPHFRAGMENTLEAF_IID)
|
||||
|
||||
NS_IMETHOD GetStartPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint **_retval)=0;
|
||||
NS_IMETHOD GetEndPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint **_retval)=0;
|
||||
NS_IMETHOD GetExtentOfChar(PRUint32 charnum, nsIDOMSVGRect **_retval)=0;
|
||||
NS_IMETHOD GetRotationOfChar(PRUint32 charnum, float *_retval)=0;
|
||||
NS_IMETHOD GetStartPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint **_retval)=0;
|
||||
NS_IMETHOD GetEndPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint **_retval)=0;
|
||||
NS_IMETHOD GetExtentOfChar(PRUint32 charnum, nsIDOMSVGRect **_retval)=0;
|
||||
NS_IMETHOD GetRotationOfChar(PRUint32 charnum, float *_retval)=0;
|
||||
|
||||
enum { BASELINE_ALPHABETIC = 0U };
|
||||
enum { BASELINE_HANGING = 1U };
|
||||
enum { BASELINE_IDEOGRAPHC = 2U };
|
||||
enum { BASELINE_MATHEMATICAL = 3U };
|
||||
enum { BASELINE_CENTRAL = 4U };
|
||||
enum { BASELINE_MIDDLE = 5U };
|
||||
enum { BASELINE_TEXT_BEFORE_EDGE = 6U };
|
||||
enum { BASELINE_TEXT_AFTER_EDGE = 7U };
|
||||
enum { BASELINE_ALPHABETIC = 0U };
|
||||
enum { BASELINE_HANGING = 1U };
|
||||
enum { BASELINE_IDEOGRAPHC = 2U };
|
||||
enum { BASELINE_MATHEMATICAL = 3U };
|
||||
enum { BASELINE_CENTRAL = 4U };
|
||||
enum { BASELINE_MIDDLE = 5U };
|
||||
enum { BASELINE_TEXT_BEFORE_EDGE = 6U };
|
||||
enum { BASELINE_TEXT_AFTER_EDGE = 7U };
|
||||
|
||||
NS_IMETHOD_(float) GetBaselineOffset(PRUint16 baselineIdentifier)=0;
|
||||
NS_IMETHOD_(float) GetAdvance()=0;
|
||||
|
|
|
@ -1276,10 +1276,10 @@ nsSVGGlyphFrame::GetTextFrame()
|
|||
//----------------------------------------------------------------------
|
||||
// helper class
|
||||
|
||||
nsSVGAutoGlyphHelperContext::nsSVGAutoGlyphHelperContext(nsSVGGlyphFrame *aSource)
|
||||
{
|
||||
nsSVGAutoGlyphHelperContext::nsSVGAutoGlyphHelperContext(nsSVGGlyphFrame *aSource)
|
||||
{
|
||||
mCT = cairo_create(nsSVGUtils::GetCairoComputationalSurface());
|
||||
if (aSource) {
|
||||
aSource->SelectFont(mCT);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче