本文整理汇总了C++中compareCSSValuePtr函数的典型用法代码示例。如果您正苦于以下问题:C++ compareCSSValuePtr函数的具体用法?C++ compareCSSValuePtr怎么用?C++ compareCSSValuePtr使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了compareCSSValuePtr函数的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: equals
bool equals(const CSSCalcExpressionNode& exp) const override
{
if (type() != exp.type())
return false;
const CSSCalcBinaryOperation& other = static_cast<const CSSCalcBinaryOperation&>(exp);
return compareCSSValuePtr(m_leftSide, other.m_leftSide)
&& compareCSSValuePtr(m_rightSide, other.m_rightSide)
&& m_operator == other.m_operator;
}
开发者ID:techtonik,项目名称:chromium,代码行数:10,代码来源:CSSCalculationValue.cpp
示例2: toCSSBasicShapeCircle
bool CSSBasicShapeCircle::equals(const CSSBasicShape& shape) const
{
if (shape.type() != CSSBasicShapeCircleType)
return false;
const CSSBasicShapeCircle& other = toCSSBasicShapeCircle(shape);
return compareCSSValuePtr(m_centerX, other.m_centerX)
&& compareCSSValuePtr(m_centerY, other.m_centerY)
&& compareCSSValuePtr(m_radius, other.m_radius)
&& compareCSSValuePtr(m_referenceBox, other.m_referenceBox);
}
开发者ID:highweb-project,项目名称:highweb-parallelwebkit,代码行数:11,代码来源:CSSBasicShapes.cpp
示例3: compareCSSValuePtr
bool CSSBasicShapeCircle::equals(const CSSBasicShape& shape) const
{
if (!is<CSSBasicShapeCircle>(shape))
return false;
const CSSBasicShapeCircle& other = downcast<CSSBasicShapeCircle>(shape);
return compareCSSValuePtr(m_centerX, other.m_centerX)
&& compareCSSValuePtr(m_centerY, other.m_centerY)
&& compareCSSValuePtr(m_radius, other.m_radius)
&& compareCSSValuePtr(m_referenceBox, other.m_referenceBox);
}
开发者ID:biddyweb,项目名称:switch-oss,代码行数:11,代码来源:CSSBasicShapes.cpp
示例4: compareCSSValuePtr
bool CSSBasicShapeEllipse::equals(const CSSBasicShape& shape) const
{
if (shape.type() != CSSBasicShapeEllipseType)
return false;
const CSSBasicShapeEllipse& other = static_cast<const CSSBasicShapeEllipse&>(shape);
return compareCSSValuePtr(m_centerX, other.m_centerX)
&& compareCSSValuePtr(m_centerY, other.m_centerY)
&& compareCSSValuePtr(m_radiusX, other.m_radiusX)
&& compareCSSValuePtr(m_radiusY, other.m_radiusY)
&& compareCSSValuePtr(m_referenceBox, other.m_referenceBox);
}
开发者ID:Wrichik1999,项目名称:webkit,代码行数:12,代码来源:CSSBasicShapes.cpp
示例5: compareCSSValuePtr
bool CSSFontValue::equals(const CSSFontValue& other) const
{
return compareCSSValuePtr(style, other.style)
&& compareCSSValuePtr(variant, other.variant)
&& compareCSSValuePtr(weight, other.weight)
&& compareCSSValuePtr(stretch, other.stretch)
&& compareCSSValuePtr(size, other.size)
&& compareCSSValuePtr(lineHeight, other.lineHeight)
&& compareCSSValuePtr(family, other.family);
}
开发者ID:Jamesducque,项目名称:mojo,代码行数:10,代码来源:CSSFontValue.cpp
示例6: compareCSSValuePtr
bool CSSShadowValue::equals(const CSSShadowValue& other) const
{
return compareCSSValuePtr(color, other.color)
&& compareCSSValuePtr(x, other.x)
&& compareCSSValuePtr(y, other.y)
&& compareCSSValuePtr(blur, other.blur)
&& compareCSSValuePtr(spread, other.spread)
&& compareCSSValuePtr(style, other.style);
}
开发者ID:dstockwell,项目名称:blink,代码行数:9,代码来源:CSSShadowValue.cpp
示例7: compareCSSValuePtr
bool CSSFunctionValue::equals(const CSSFunctionValue& other) const
{
return m_name == other.m_name && compareCSSValuePtr(m_args, other.m_args);
}
开发者ID:Miaque,项目名称:mojo,代码行数:4,代码来源:CSSFunctionValue.cpp
示例8: compareCSSValuePtr
bool CSSReflectValue::equals(const CSSReflectValue& other) const
{
return m_direction == other.m_direction
&& compareCSSValuePtr(m_offset, other.m_offset)
&& compareCSSValuePtr(m_mask, other.m_mask);
}
开发者ID:dstockwell,项目名称:blink,代码行数:6,代码来源:CSSReflectValue.cpp
示例9: compareCSSValuePtr
bool CSSCursorImageValue::equals(const CSSCursorImageValue& other) const
{
return m_hasHotSpot ? other.m_hasHotSpot && m_hotSpot == other.m_hotSpot : !other.m_hasHotSpot
&& compareCSSValuePtr(m_imageValue, other.m_imageValue);
}
开发者ID:venkatarajasekhar,项目名称:Qt,代码行数:5,代码来源:CSSCursorImageValue.cpp
示例10: compareCSSValuePtr
bool CSSCalcValue::equals(const CSSCalcValue& other) const
{
return compareCSSValuePtr(m_expression, other.m_expression);
}
开发者ID:venkatarajasekhar,项目名称:Qt,代码行数:4,代码来源:CSSCalculationValue.cpp
示例11: compareCSSValuePtr
bool CSSBorderImageSliceValue::equals(const CSSBorderImageSliceValue& other) const
{
return m_fill == other.m_fill && compareCSSValuePtr(m_slices, other.m_slices);
}
开发者ID:venkatarajasekhar,项目名称:Qt,代码行数:4,代码来源:CSSBorderImageSliceValue.cpp
示例12: compareCSSValuePtr
bool CSSFilterImageValue::equals(const CSSFilterImageValue& other) const
{
return compareCSSValuePtr(m_imageValue, other.m_imageValue)
&& compareCSSValuePtr(m_filterValue, other.m_filterValue);
}
开发者ID:emandino,项目名称:webkit,代码行数:5,代码来源:CSSFilterImageValue.cpp
示例13: equalInputImages
bool CSSCrossfadeValue::equals(const CSSCrossfadeValue& other) const
{
return equalInputImages(other)
&& compareCSSValuePtr(m_percentageValue, other.m_percentageValue);
}
开发者ID:mu326668629,项目名称:webkit,代码行数:5,代码来源:CSSCrossfadeValue.cpp
示例14: compareCSSValuePtr
bool CSSCrossfadeValue::equalInputImages(const CSSCrossfadeValue& other) const
{
return compareCSSValuePtr(m_fromValue, other.m_fromValue)
&& compareCSSValuePtr(m_toValue, other.m_toValue);
}
开发者ID:mu326668629,项目名称:webkit,代码行数:5,代码来源:CSSCrossfadeValue.cpp
注:本文中的compareCSSValuePtr函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论