当前位置: 首页>>代码示例>>C++>>正文


C++ setReplaced函数代码示例

本文整理汇总了C++中setReplaced函数的典型用法代码示例。如果您正苦于以下问题:C++ setReplaced函数的具体用法?C++ setReplaced怎么用?C++ setReplaced使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了setReplaced函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: RenderBox

RenderReplaced::RenderReplaced(Node* node, const IntSize& intrinsicSize)
    : RenderBox(node)
    , m_intrinsicSize(intrinsicSize)
    , m_hasIntrinsicSize(true)
{
    setReplaced(true);
}
开发者ID:ACSOP,项目名称:android_external_webkit,代码行数:7,代码来源:RenderReplaced.cpp

示例2: RenderBlock

RenderRubyRun::RenderRubyRun(Node* node)
    : RenderBlock(node)
    , m_beingDestroyed(false)
{
    setReplaced(true);
    setInline(true);
}
开发者ID:azrul2202,项目名称:WebKit-Smartphone,代码行数:7,代码来源:RenderRubyRun.cpp

示例3: RenderContainer

RenderSVGContainer::RenderSVGContainer(SVGStyledElement *node)
    : RenderContainer(node)
    , m_drawsContents(true)
    , m_slice(false)
{
    setReplaced(true);
}
开发者ID:FilipBE,项目名称:qtextended,代码行数:7,代码来源:RenderSVGContainer.cpp

示例4: RenderBox

RenderSVGRoot::RenderSVGRoot(SVGStyledElement* node)
    : RenderBox(node)
    , m_isLayoutSizeChanged(false)
    , m_needsBoundariesOrTransformUpdate(true)
{
    setReplaced(true);
}
开发者ID:0omega,项目名称:platform_external_webkit,代码行数:7,代码来源:RenderSVGRoot.cpp

示例5: RenderBox

RenderReplaced::RenderReplaced(Node* node)
    : RenderBox(node)
    , m_intrinsicWidth(300)
    , m_intrinsicHeight(150)
    , m_selectionState(SelectionNone)
{
    setReplaced(true);
}
开发者ID:jackiekaon,项目名称:owb-mirror,代码行数:8,代码来源:RenderReplaced.cpp

示例6: RenderBox

RenderReplaced::RenderReplaced(Node* node)
    : RenderBox(node)
    , m_intrinsicSize(cDefaultWidth, cDefaultHeight)
    , m_selectionState(SelectionNone)
    , m_hasOverflow(false)
{
    setReplaced(true);
}
开发者ID:jackyglony,项目名称:DuiBrowser-1,代码行数:8,代码来源:RenderReplaced.cpp

示例7: LayoutBox

LayoutReplica::LayoutReplica()
    : LayoutBox(0)
{
    // This is a hack. Replicas are synthetic, and don't pick up the attributes of the
    // layoutObjects being replicated, so they always report that they are inline, non-replaced.
    // However, we need transforms to be applied to replicas for reflections, so have to pass
    // the if (!isInline() || isReplaced()) check before setHasTransform().
    setReplaced(true);
}
开发者ID:joone,项目名称:blink-crosswalk,代码行数:9,代码来源:LayoutReplica.cpp

示例8: setReplaced

void RenderSummary::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
{
    RenderBlock::styleDidChange(diff, oldStyle);


    // Ensure that if we ended up being inline that we set our replaced flag
    // so that we're treated like an inline-block.
    setReplaced(isInline());
}
开发者ID:1833183060,项目名称:wke,代码行数:9,代码来源:RenderSummary.cpp

示例9: RenderBox

RenderReplica::RenderReplica(Document& document, Ref<RenderStyle>&& style)
    : RenderBox(document, WTFMove(style), 0)
{
    // This is a hack. Replicas are synthetic, and don't pick up the attributes of the
    // renderers being replicated, so they always report that they are inline, non-replaced.
    // However, we need transforms to be applied to replicas for reflections, so have to pass
    // the if (!isInline() || isReplaced()) check before setHasTransform().
    setReplaced(true);
}
开发者ID:quanmo,项目名称:webkit,代码行数:9,代码来源:RenderReplica.cpp

示例10: RenderBox

RenderListMarker::RenderListMarker(RenderListItem* item)
    : RenderBox(item->document())
    , m_image(0)
    , m_listItem(item)
    , m_selectionState(SelectionNone)
{
    // init RenderObject attributes
    setInline(true);   // our object is Inline
    setReplaced(true); // pretend to be replaced
}
开发者ID:FilipBE,项目名称:qtextended,代码行数:10,代码来源:RenderListMarker.cpp

示例11: RenderObject

RenderSVGContainer::RenderSVGContainer(SVGStyledElement* node)
    : RenderObject(node)
    , m_firstChild(0)
    , m_lastChild(0)
    , m_width(0)
    , m_height(0)
    , m_drawsContents(true)
{
    setReplaced(true);
}
开发者ID:jackiekaon,项目名称:owb-mirror,代码行数:10,代码来源:RenderSVGContainer.cpp

示例12: RenderBox

RenderReplaced::RenderReplaced(Document& document, RenderStyle&& style, const LayoutSize& intrinsicSize)
    : RenderBox(document, WTFMove(style), RenderReplacedFlag)
    , m_intrinsicSize(intrinsicSize)
{
    setReplaced(true);
}
开发者ID:edcwconan,项目名称:webkit,代码行数:6,代码来源:RenderReplaced.cpp

示例13: m_intrinsicSize

RenderReplaced::RenderReplaced()
    : m_intrinsicSize(defaultWidth, defaultHeight)
{
    setReplaced(true);
}
开发者ID:aghassemi,项目名称:engine,代码行数:5,代码来源:RenderReplaced.cpp

示例14: RenderBox

RenderReplaced::RenderReplaced(Element& element, Ref<RenderStyle>&& style, const LayoutSize& intrinsicSize)
    : RenderBox(element, WTF::move(style), RenderReplacedFlag)
    , m_intrinsicSize(intrinsicSize)
{
    setReplaced(true);
}
开发者ID:rodrigo-speller,项目名称:webkit,代码行数:6,代码来源:RenderReplaced.cpp

示例15: RenderBlockFlow

RenderRubyRun::RenderRubyRun()
    : RenderBlockFlow(0)
{
    setReplaced(true);
    setInline(true);
}
开发者ID:huningxin,项目名称:blink-crosswalk,代码行数:6,代码来源:RenderRubyRun.cpp


注:本文中的setReplaced函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。