Skia
2D Graphics Library
SkSVGPreserveAspectRatio Struct Reference

#include <SkSVGTypes.h>

Public Types

enum  Align : uint8_t {
  kXMinYMin = 0x00 , kXMidYMin = 0x01 , kXMaxYMin = 0x02 , kXMinYMid = 0x04 ,
  kXMidYMid = 0x05 , kXMaxYMid = 0x06 , kXMinYMax = 0x08 , kXMidYMax = 0x09 ,
  kXMaxYMax = 0x0a , kNone = 0x10
}
 
enum  Scale { kMeet , kSlice }
 

Public Attributes

Align fAlign = kXMidYMid
 
Scale fScale = kMeet
 

Member Enumeration Documentation

◆ Align

Enumerator
kXMinYMin 
kXMidYMin 
kXMaxYMin 
kXMinYMid 
kXMidYMid 
kXMaxYMid 
kXMinYMax 
kXMidYMax 
kXMaxYMax 
kNone 

◆ Scale

Enumerator
kMeet 
kSlice 

Member Data Documentation

◆ fAlign

Align SkSVGPreserveAspectRatio::fAlign = kXMidYMid

◆ fScale

Scale SkSVGPreserveAspectRatio::fScale = kMeet

The documentation for this struct was generated from the following file: