|
| NinePieceImage () |
|
| NinePieceImage (RefPtr< StyleImage > &&, LengthBox imageSlices, bool fill, LengthBox borderSlices, LengthBox outset, ENinePieceImageRule horizontalRule, ENinePieceImageRule verticalRule) |
|
bool | operator== (const NinePieceImage &other) const |
|
bool | operator!= (const NinePieceImage &other) const |
|
bool | hasImage () const |
|
StyleImage * | image () const |
|
void | setImage (RefPtr< StyleImage > &&image) |
|
const LengthBox & | imageSlices () const |
|
void | setImageSlices (LengthBox slices) |
|
bool | fill () const |
|
void | setFill (bool fill) |
|
const LengthBox & | borderSlices () const |
|
void | setBorderSlices (LengthBox slices) |
|
const LengthBox & | outset () const |
|
void | setOutset (LengthBox outset) |
|
ENinePieceImageRule | horizontalRule () const |
|
void | setHorizontalRule (ENinePieceImageRule rule) |
|
ENinePieceImageRule | verticalRule () const |
|
void | setVerticalRule (ENinePieceImageRule rule) |
|
void | copyImageSlicesFrom (const NinePieceImage &other) |
|
void | copyBorderSlicesFrom (const NinePieceImage &other) |
|
void | copyOutsetFrom (const NinePieceImage &other) |
|
void | copyRepeatFrom (const NinePieceImage &other) |
|
void | setMaskDefaults () |
|
void | paint (GraphicsContext &, RenderElement *, const RenderStyle &, const LayoutRect &destination, const LayoutSize &source, float deviceScaleFactor, CompositeOperator) const |
|
| NinePieceImage () |
|
| NinePieceImage (RefPtr< StyleImage > &&, LengthBox imageSlices, bool fill, LengthBox borderSlices, LengthBox outset, ENinePieceImageRule horizontalRule, ENinePieceImageRule verticalRule) |
|
bool | operator== (const NinePieceImage &other) const |
|
bool | operator!= (const NinePieceImage &other) const |
|
bool | hasImage () const |
|
StyleImage * | image () const |
|
void | setImage (RefPtr< StyleImage > &&image) |
|
const LengthBox & | imageSlices () const |
|
void | setImageSlices (LengthBox slices) |
|
bool | fill () const |
|
void | setFill (bool fill) |
|
const LengthBox & | borderSlices () const |
|
void | setBorderSlices (LengthBox slices) |
|
const LengthBox & | outset () const |
|
void | setOutset (LengthBox outset) |
|
ENinePieceImageRule | horizontalRule () const |
|
void | setHorizontalRule (ENinePieceImageRule rule) |
|
ENinePieceImageRule | verticalRule () const |
|
void | setVerticalRule (ENinePieceImageRule rule) |
|
void | copyImageSlicesFrom (const NinePieceImage &other) |
|
void | copyBorderSlicesFrom (const NinePieceImage &other) |
|
void | copyOutsetFrom (const NinePieceImage &other) |
|
void | copyRepeatFrom (const NinePieceImage &other) |
|
void | setMaskDefaults () |
|
void | paint (GraphicsContext &, RenderElement *, const RenderStyle &, const LayoutRect &destination, const LayoutSize &source, float deviceScaleFactor, CompositeOperator) const |
|
|
static LayoutUnit | computeOutset (const Length &outsetSide, LayoutUnit borderSide) |
|
static LayoutUnit | computeSlice (Length, LayoutUnit width, LayoutUnit slice, LayoutUnit extent) |
|
static LayoutBoxExtent | computeSlices (const LayoutSize &, const LengthBox &lengths, int scaleFactor) |
|
static LayoutBoxExtent | computeSlices (const LayoutSize &, const LengthBox &lengths, const FloatBoxExtent &widths, const LayoutBoxExtent &slices) |
|
static bool | isEmptyPieceRect (ImagePiece, const LayoutBoxExtent &slices) |
|
static bool | isEmptyPieceRect (ImagePiece, const Vector< FloatRect > &destinationRects, const Vector< FloatRect > &sourceRects) |
|
static Vector< FloatRect > | computeNineRects (const FloatRect &outer, const LayoutBoxExtent &slices, float deviceScaleFactor) |
|
static void | scaleSlicesIfNeeded (const LayoutSize &, LayoutBoxExtent &slices, float deviceScaleFactor) |
|
static FloatSize | computeSideTileScale (ImagePiece, const Vector< FloatRect > &destinationRects, const Vector< FloatRect > &sourceRects) |
|
static FloatSize | computeMiddleTileScale (const Vector< FloatSize > &scales, const Vector< FloatRect > &destinationRects, const Vector< FloatRect > &sourceRects, ENinePieceImageRule hRule, ENinePieceImageRule vRule) |
|
static Vector< FloatSize > | computeTileScales (const Vector< FloatRect > &destinationRects, const Vector< FloatRect > &sourceRects, ENinePieceImageRule hRule, ENinePieceImageRule vRule) |
|
static LayoutUnit | computeOutset (const Length &outsetSide, LayoutUnit borderSide) |
|
static LayoutUnit | computeSlice (Length, LayoutUnit width, LayoutUnit slice, LayoutUnit extent) |
|
static LayoutBoxExtent | computeSlices (const LayoutSize &, const LengthBox &lengths, int scaleFactor) |
|
static LayoutBoxExtent | computeSlices (const LayoutSize &, const LengthBox &lengths, const FloatBoxExtent &widths, const LayoutBoxExtent &slices) |
|
static bool | isEmptyPieceRect (ImagePiece, const LayoutBoxExtent &slices) |
|
static bool | isEmptyPieceRect (ImagePiece, const Vector< FloatRect > &destinationRects, const Vector< FloatRect > &sourceRects) |
|
static Vector< FloatRect > | computeNineRects (const FloatRect &outer, const LayoutBoxExtent &slices, float deviceScaleFactor) |
|
static void | scaleSlicesIfNeeded (const LayoutSize &, LayoutBoxExtent &slices, float deviceScaleFactor) |
|
static FloatSize | computeSideTileScale (ImagePiece, const Vector< FloatRect > &destinationRects, const Vector< FloatRect > &sourceRects) |
|
static FloatSize | computeMiddleTileScale (const Vector< FloatSize > &scales, const Vector< FloatRect > &destinationRects, const Vector< FloatRect > &sourceRects, ENinePieceImageRule hRule, ENinePieceImageRule vRule) |
|
static Vector< FloatSize > | computeTileScales (const Vector< FloatRect > &destinationRects, const Vector< FloatRect > &sourceRects, ENinePieceImageRule hRule, ENinePieceImageRule vRule) |
|