Flutter Engine
The Flutter Engine
Classes | Typedefs | Enumerations
SkSVGTypes.h File Reference
#include "include/core/SkColor.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPath.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkSpan.h"
#include "include/core/SkString.h"
#include "include/core/SkTypes.h"
#include <optional>
#include <vector>

Go to the source code of this file.

Classes

class  SkSVGProperty< T, kInheritable >
 
class  SkSVGLength
 
class  SkSVGIRI
 
class  SkSVGColor
 
class  SkSVGPaint
 
class  SkSVGFuncIRI
 
class  SkSVGLineJoin
 
class  SkSVGSpreadMethod
 
class  SkSVGFillRule
 
class  SkSVGVisibility
 
class  SkSVGDashArray
 
class  SkSVGStopColor
 
class  SkSVGObjectBoundingBoxUnits
 
class  SkSVGFontFamily
 
class  SkSVGFontStyle
 
class  SkSVGFontSize
 
class  SkSVGFontWeight
 
struct  SkSVGPreserveAspectRatio
 
class  SkSVGTextAnchor
 
class  SkSVGFeInputType
 
class  SkSVGFeTurbulenceBaseFrequency
 
struct  SkSVGFeTurbulenceType
 

Typedefs

using SkSVGColorType = SkColor
 
using SkSVGIntegerType = int
 
using SkSVGNumberType = SkScalar
 
using SkSVGStringType = SkString
 
using SkSVGViewBoxType = SkRect
 
using SkSVGTransformType = SkMatrix
 
using SkSVGPointsType = std::vector< SkPoint >
 
using SkSVGFeColorMatrixValues = std::vector< SkSVGNumberType >
 

Enumerations

enum class  SkSVGPropertyState { kUnspecified , kInherit , kValue }
 
enum class  SkSVGLineCap { kButt , kRound , kSquare }
 
enum class  SkSVGFeColorMatrixType { kMatrix , kSaturate , kHueRotate , kLuminanceToAlpha }
 
enum class  SkSVGFeCompositeOperator {
  kOver , kIn , kOut , kAtop ,
  kXor , kArithmetic
}
 
enum class  SkSVGXmlSpace { kDefault , kPreserve }
 
enum class  SkSVGColorspace { kAuto , kSRGB , kLinearRGB }
 
enum class  SkSVGDisplay { kInline , kNone }
 
enum class  SkSVGFeFuncType {
  kIdentity , kTable , kDiscrete , kLinear ,
  kGamma
}
 

Typedef Documentation

◆ SkSVGColorType

Definition at line 25 of file SkSVGTypes.h.

◆ SkSVGFeColorMatrixValues

Definition at line 677 of file SkSVGTypes.h.

◆ SkSVGIntegerType

Definition at line 26 of file SkSVGTypes.h.

◆ SkSVGNumberType

Definition at line 27 of file SkSVGTypes.h.

◆ SkSVGPointsType

using SkSVGPointsType = std::vector<SkPoint>

Definition at line 31 of file SkSVGTypes.h.

◆ SkSVGStringType

Definition at line 28 of file SkSVGTypes.h.

◆ SkSVGTransformType

Definition at line 30 of file SkSVGTypes.h.

◆ SkSVGViewBoxType

Definition at line 29 of file SkSVGTypes.h.

Enumeration Type Documentation

◆ SkSVGColorspace

enum class SkSVGColorspace
strong
Enumerator
kAuto 
kSRGB 
kLinearRGB 

Definition at line 719 of file SkSVGTypes.h.

719 {
720 kAuto,
721 kSRGB,
723};
@ kSRGB
Definition: image.h:17

◆ SkSVGDisplay

enum class SkSVGDisplay
strong
Enumerator
kInline 
kNone 

Definition at line 726 of file SkSVGTypes.h.

726 {
727 kInline,
728 kNone,
729};
@ kNone
Definition: layer.h:53

◆ SkSVGFeColorMatrixType

enum class SkSVGFeColorMatrixType
strong
Enumerator
kMatrix 
kSaturate 
kHueRotate 
kLuminanceToAlpha 

Definition at line 670 of file SkSVGTypes.h.

◆ SkSVGFeCompositeOperator

enum class SkSVGFeCompositeOperator
strong
Enumerator
kOver 
kIn 
kOut 
kAtop 
kXor 
kArithmetic 

Definition at line 679 of file SkSVGTypes.h.

◆ SkSVGFeFuncType

enum class SkSVGFeFuncType
strong
Enumerator
kIdentity 
kTable 
kDiscrete 
kLinear 
kGamma 

Definition at line 732 of file SkSVGTypes.h.

732 {
733 kIdentity,
734 kTable,
735 kDiscrete,
736 kLinear,
737 kGamma,
738};
constexpr std::array< float, 9 > kIdentity

◆ SkSVGLineCap

enum class SkSVGLineCap
strong
Enumerator
kButt 
kRound 
kSquare 

Definition at line 288 of file SkSVGTypes.h.

288 {
289 kButt,
290 kRound,
291 kSquare,
292};
@ kRound
adds circle
@ kButt
no stroke extension
@ kSquare
adds square

◆ SkSVGPropertyState

enum class SkSVGPropertyState
strong
Enumerator
kUnspecified 
kInherit 
kValue 

Definition at line 33 of file SkSVGTypes.h.

33 {
36 kValue,
37};
@ kUnspecified
The absence of a specialized TaskSourceGrade.

◆ SkSVGXmlSpace

enum class SkSVGXmlSpace
strong
Enumerator
kDefault 
kPreserve 

Definition at line 714 of file SkSVGTypes.h.

714 {
715 kDefault,
716 kPreserve,
717};
@ kDefault