Files
Christian Poveda 1213b3dfb1 split the repo into a workspace
remove `clap` dependency 🎉

update the book installation instructions
2022-10-04 20:47:17 -05:00

37 lines
1.6 KiB
C++

// bindgen-flags: --rustified-enum ".*"
// You can guess where this is taken from...
enum nsStyleSVGOpacitySource {
eStyleSVGOpacitySource_Normal,
eStyleSVGOpacitySource_ContextFillOpacity,
eStyleSVGOpacitySource_ContextStrokeOpacity
};
class Weird {
unsigned int mStrokeDasharrayLength;
unsigned int bitTest: 16;
unsigned int bitTest2: 15;
unsigned char mClipRule; // [inherited]
unsigned char mColorInterpolation; // [inherited] see nsStyleConsts.h
unsigned char mColorInterpolationFilters; // [inherited] see nsStyleConsts.h
unsigned char mFillRule; // [inherited] see nsStyleConsts.h
unsigned char mImageRendering; // [inherited] see nsStyleConsts.h
unsigned char mPaintOrder; // [inherited] see nsStyleConsts.h
unsigned char mShapeRendering; // [inherited] see nsStyleConsts.h
unsigned char mStrokeLinecap; // [inherited] see nsStyleConsts.h
unsigned char mStrokeLinejoin; // [inherited] see nsStyleConsts.h
unsigned char mTextAnchor; // [inherited] see nsStyleConsts.h
unsigned char mTextRendering; // [inherited] see nsStyleConsts.h
// In SVG glyphs, whether we inherit fill or stroke opacity from the outer
// text object.
// Use 3 bits to avoid signedness problems in MSVC.
nsStyleSVGOpacitySource mFillOpacitySource : 3;
nsStyleSVGOpacitySource mStrokeOpacitySource : 3;
// SVG glyph outer object inheritance for other properties
bool mStrokeDasharrayFromObject : 1;
bool mStrokeDashoffsetFromObject : 1;
bool mStrokeWidthFromObject : 1;
};