Flutter Engine
The Flutter Engine
Classes | Enumerations
SkSVGAttribute.h File Reference
#include "modules/svg/include/SkSVGTypes.h"
#include "src/base/SkTLazy.h"

Go to the source code of this file.

Classes

struct  SkSVGPresentationAttributes
 

Enumerations

enum class  SkSVGAttribute {
  kClipRule , kColor , kColorInterpolation , kColorInterpolationFilters ,
  kCx , kCy , kFill , kFillOpacity ,
  kFillRule , kFilter , kFilterUnits , kFontFamily ,
  kFontSize , kFontStyle , kFontWeight , kFx ,
  kFy , kGradientUnits , kGradientTransform , kHeight ,
  kHref , kOpacity , kPoints , kPreserveAspectRatio ,
  kR , kRx , kRy , kSpreadMethod ,
  kStroke , kStrokeDashArray , kStrokeDashOffset , kStrokeOpacity ,
  kStrokeLineCap , kStrokeLineJoin , kStrokeMiterLimit , kStrokeWidth ,
  kTransform , kText , kTextAnchor , kViewBox ,
  kVisibility , kWidth , kX , kX1 ,
  kX2 , kY , kY1 , kY2 ,
  kUnknown
}
 

Enumeration Type Documentation

◆ SkSVGAttribute

enum class SkSVGAttribute
strong
Enumerator
kClipRule 
kColor 
kColorInterpolation 
kColorInterpolationFilters 
kCx 
kCy 
kFill 
kFillOpacity 
kFillRule 
kFilter 
kFilterUnits 
kFontFamily 
kFontSize 
kFontStyle 
kFontWeight 
kFx 
kFy 
kGradientUnits 
kGradientTransform 
kHeight 
kHref 
kOpacity 
kPoints 
kPreserveAspectRatio 
kR 
kRx 
kRy 
kSpreadMethod 
kStroke 
kStrokeDashArray 
kStrokeDashOffset 
kStrokeOpacity 
kStrokeLineCap 
kStrokeLineJoin 
kStrokeMiterLimit 
kStrokeWidth 
kTransform 
kText 
kTextAnchor 
kViewBox 
kVisibility 
kWidth 
kX 
kX1 
kX2 
kY 
kY1 
kY2 
kUnknown 

Definition at line 16 of file SkSVGAttribute.h.

16 {
18 kColor,
21 kCx, // <circle>, <ellipse>, <radialGradient>: center x position
22 kCy, // <circle>, <ellipse>, <radialGradient>: center y position
23 kFill,
26 kFilter,
32 kFx, // <radialGradient>: focal point x position
33 kFy, // <radialGradient>: focal point y position
36 kHeight,
37 kHref,
39 kPoints,
41 kR, // <circle>, <radialGradient>: radius
42 kRx, // <ellipse>,<rect>: horizontal (corner) radius
43 kRy, // <ellipse>,<rect>: vertical (corner) radius
45 kStroke,
54 kText,
58 kWidth,
59 kX,
60 kX1, // <line>: first endpoint x
61 kX2, // <line>: second endpoint x
62 kY,
63 kY1, // <line>: first endpoint y
64 kY2, // <line>: second endpoint y
65
67};
@ kColorInterpolationFilters
constexpr char kText[]
Definition: glyph_pos.cpp:28
const auto kX
@ kStroke
strokes boundary of shapes
@ kFill
fills interior of shapes
@ kColor
hue and saturation of source with luminosity of destination
constexpr SkScalar kStrokeWidth
constexpr size_t kHeight
constexpr size_t kWidth