本文整理汇总了C++中SkFlattenableWriteBuffer类的典型用法代码示例。如果您正苦于以下问题:C++ SkFlattenableWriteBuffer类的具体用法?C++ SkFlattenableWriteBuffer怎么用?C++ SkFlattenableWriteBuffer使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了SkFlattenableWriteBuffer类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1:
void SkLine2DPathEffect::flatten(SkFlattenableWriteBuffer &buffer) const {
this->INHERITED::flatten(buffer);
buffer.writeScalar(fWidth);
}
示例2: flatten
void SkXfermodeImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const {
this->INHERITED::flatten(buffer);
buffer.writeFlattenable(fMode);
}
示例3: flatten
void SkLinearGradient::flatten(SkFlattenableWriteBuffer& buffer) const {
this->INHERITED::flatten(buffer);
buffer.writePoint(fStart);
buffer.writePoint(fEnd);
}
示例4: flatten
void SkMorphologyImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const {
this->INHERITED::flatten(buffer);
buffer.writeInt(fRadius.fWidth);
buffer.writeInt(fRadius.fHeight);
}
示例5: flatten
void SkBicubicImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const {
this->INHERITED::flatten(buffer);
buffer.writeScalarArray(fCoefficients, 16);
buffer.writeScalar(fScale.fWidth);
buffer.writeScalar(fScale.fHeight);
}
示例6: flatten
void SkPixelRef::flatten(SkFlattenableWriteBuffer& buffer) const {
buffer.writeBool(fIsImmutable);
}
示例7: flatten
void SkDownSampleImageFilter::flatten(SkFlattenableWriteBuffer& buffer) {
this->INHERITED::flatten(buffer);
buffer.writeScalar(fScale);
}
示例8: flatten
void SkLumaMaskXfermode::flatten(SkFlattenableWriteBuffer& buffer) const {
INHERITED::flatten(buffer);
buffer.writeUInt(fMode);
}
示例9: flatten
void SkDisplacementMapEffect::flatten(SkFlattenableWriteBuffer& buffer) const {
this->INHERITED::flatten(buffer);
buffer.writeInt((int) fXChannelSelector);
buffer.writeInt((int) fYChannelSelector);
buffer.writeScalar(fScale);
}
开发者ID:IllusionRom-deprecated,项目名称:android_platform_external_chromium_org_third_party_skia_src,代码行数:6,代码来源:SkDisplacementMapEffect.cpp
示例10: flatten
virtual void flatten(SkFlattenableWriteBuffer& buffer) {
this->INHERITED::flatten(buffer);
buffer.write32(fMul);
buffer.write32(fAdd);
}
示例11: flatten
void SkBlendImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const {
this->INHERITED::flatten(buffer);
buffer.writeInt((int) fMode);
}
示例12: flatten
void SkPixelXorXfermode::flatten(SkFlattenableWriteBuffer& wb) const {
this->INHERITED::flatten(wb);
wb.write32(fOpColor);
}
示例13: flatten
void SkAnnotation::flatten(SkFlattenableWriteBuffer& buffer) const {
buffer.writeUInt(fFlags);
buffer.writeFlattenable(fDataSet);
}
示例14: flatten
void SkDataPixelRef::flatten(SkFlattenableWriteBuffer& buffer) const {
this->INHERITED::flatten(buffer);
buffer.writeFlattenable(fData);
}
示例15: flatten
virtual void flatten(SkFlattenableWriteBuffer& buffer) const
{
this->SkImageFilter::flatten(buffer);
buffer.writeInt((int) m_mode);
}