Documentation ¶
Index ¶
Constants ¶
View Source
const ( ThemeLook renditionAttributeType = 0 Element renditionAttributeType = 1 Part renditionAttributeType = 2 Size renditionAttributeType = 3 Direction renditionAttributeType = 4 Value renditionAttributeType = 6 ThemeAppearance renditionAttributeType = 7 Dimension1 renditionAttributeType = 8 Dimension2 renditionAttributeType = 9 State renditionAttributeType = 10 Layer renditionAttributeType = 11 Scale renditionAttributeType = 12 PresentationState renditionAttributeType = 14 Idiom renditionAttributeType = 15 Subtype renditionAttributeType = 16 Identifier renditionAttributeType = 17 PreviousValue renditionAttributeType = 18 PreviousState renditionAttributeType = 19 HorizontalSizeClass renditionAttributeType = 20 VerticalSizeClass renditionAttributeType = 21 MemoryLevelClass renditionAttributeType = 22 GraphicsFeatureSetClass renditionAttributeType = 23 DisplayGamut renditionAttributeType = 24 DeploymentTarget renditionAttributeType = 25 )
View Source
const ( OnePart renditionLayoutType = 0 ThreePartHorizontal renditionLayoutType = 1 ThreePartVertical renditionLayoutType = 2 NinePart renditionLayoutType = 3 TwelvePart renditionLayoutType = 4 ManyPart renditionLayoutType = 5 Gradient renditionLayoutType = 6 Effect renditionLayoutType = 7 Animation renditionLayoutType = 8 Vector renditionLayoutType = 9 RawData renditionLayoutType = 1000 ExternalLink renditionLayoutType = 1001 LayerStack renditionLayoutType = 1002 InternalLink renditionLayoutType = 1003 Packed renditionLayoutType = 1004 NamedContents renditionLayoutType = 1005 ThinningPlaceholder renditionLayoutType = 1006 Texture renditionLayoutType = 1007 TextureImage renditionLayoutType = 1008 Color renditionLayoutType = 1009 MultiSizeImageSet renditionLayoutType = 1010 ModelAsset renditionLayoutType = 1011 ModelMesh renditionLayoutType = 1012 RecognitionGroup renditionLayoutType = 1013 RecognitionObject renditionLayoutType = 1014 )
View Source
const ( Universal coreThemeIdiom = 0 Phone coreThemeIdiom = 1 Tablet coreThemeIdiom = 2 Desktop coreThemeIdiom = 3 Tv coreThemeIdiom = 4 Car coreThemeIdiom = 5 Watch coreThemeIdiom = 6 Marketing coreThemeIdiom = 7 )
View Source
const ( PixFmtARGB = "ARGB" // Color image PixFmtARGB16 = "RGBW" // Deep color image PixFmtRGB555 = "RGB5" // Packed 16-bit per pixel opaque image PixFmtGray = "GA8 " // Gray scale image with alpha PixFmtGray16 = "GA16" // Deep gray scale image with alpha PixFmtPDF = "PDF " // PDF raw bytes PixFmtJPEG = "JPEG" // JPEG raw bytes PixFmtHEIF = "HEIF" // HEIF raw bytes PixFmtRawData = "DATA" // Raw bytes )
View Source
const ( RawBytes csiBitmapEncoding = 0 RLE csiBitmapEncoding = 1 ZIP csiBitmapEncoding = 2 LZVN csiBitmapEncoding = 3 LZFSE csiBitmapEncoding = 4 JPEGLZFSE csiBitmapEncoding = 5 BlurredImage csiBitmapEncoding = 6 ASTCImage csiBitmapEncoding = 7 PaletteImage csiBitmapEncoding = 8 HEVC csiBitmapEncoding = 9 Deepmap csiBitmapEncoding = 10 Deepmap2 csiBitmapEncoding = 11 )
View Source
const ( Deepmap2DecodeNone deepmap2Type = 1 Deepmap2DecodeDefaultScratchBufferSize deepmap2Type = 2 Deepmap2DecodeLosslessScratchBufferSize deepmap2Type = 3 Deepmap2DecodePaletteScratchBufferSize deepmap2Type = 4 )
View Source
const ( CsiFileSignature = 0x49535443 // "CTSI" CsiElementSignature = 0x4D4C4543 // "CELM" CsiBitmapChunkSignature = 0x4B434243 // "CBCK" CsiGradientSignature = 0x44415247 // "GRAD" CsiEffectDataSignature = 0x58465443 // "CTFX" CsiRawDataSignature = 0x44574152 // "RAWD" CsiExternalLinkSignature = 0x4B4C5845 // "EXLK" CsiInternalLinkSignature = 0x4B4C4E49 // "INLK" CsiTextureDataSignature = 0x52545854 // "TXTR" CsiColorSignature = 0x524C4F43 // "COLR" CsiMultisizeImageSetSignature = 0x5349534D // "MSIS" )
View Source
const ( Generic colorSpaceID = iota SRGB Mono DisplayP3 ExtendedSRGB ExtendedLinear ExtendedGray )
View Source
const ( SliceID resourceID = 1001 SampleID resourceID = 1002 MetricsID resourceID = 1003 CompositingOptionsID resourceID = 1004 MetaDataID resourceID = 1005 MetaDataEXIFOrientationID resourceID = 1006 ImageRowBytesID resourceID = 1007 ExternalLinkID resourceID = 1008 LayerReferenceDeprecatedID resourceID = 1009 InternalLinkID resourceID = 1010 AlphaCroppingID resourceID = 1011 LayerReferenceID resourceID = 1012 PackedNamesID resourceID = 1013 TextureInterpretationID resourceID = 1014 PhysicalSizeID resourceID = 1015 RenditionPropertyID resourceID = 1016 TransformationID resourceID = 1017 )
View Source
const ( NoSystemColorFollows csiColorType = iota SystemColorFollows )
View Source
const ( ThemeTexturePixelFormatInvalid = 0 ThemeTexturePixelFormatA8Unorm = 1 ThemeTexturePixelFormatR8Unorm = 10 ThemeTexturePixelFormatR8UnormSRgb = 11 ThemeTexturePixelFormatR8Snorm = 12 ThemeTexturePixelFormatR16Unorm = 20 ThemeTexturePixelFormatR16Snorm = 22 ThemeTexturePixelFormatR16Float = 25 ThemeTexturePixelFormatRg8Unorm = 30 ThemeTexturePixelFormatRg8UnormSRgb = 31 ThemeTexturePixelFormatRg8Snorm = 32 ThemeTexturePixelFormatR32Float = 55 ThemeTexturePixelFormatRg16Unorm = 60 ThemeTexturePixelFormatRg16Snorm = 62 ThemeTexturePixelFormatRg16Float = 65 ThemeTexturePixelFormatRgba8Unorm = 70 ThemeTexturePixelFormatRgba8UnormSRgb = 71 ThemeTexturePixelFormatRgba8Snorm = 72 ThemeTexturePixelFormatBgra8Unorm = 80 ThemeTexturePixelFormatBgra8UnormSRgb = 81 ThemeTexturePixelFormatRgb10A2Unorm = 90 ThemeTexturePixelFormatRg11B10Float = 92 ThemeTexturePixelFormatRgb9E5Float = 93 ThemeTexturePixelFormatBgra10XrSRgb = 553 ThemeTexturePixelFormatBgr10XrSRgb = 555 ThemeTexturePixelFormatRg32Float = 105 ThemeTexturePixelFormatRgba16Unorm = 110 ThemeTexturePixelFormatRgba16Snorm = 112 ThemeTexturePixelFormatRgba16Float = 115 ThemeTexturePixelFormatRgba32Float = 125 ThemeTexturePixelFormatAstc_4x4SRgb = 186 ThemeTexturePixelFormatAstc_8x8SRgb = 194 ThemeTexturePixelFormatAstc_4x4Ldr = 204 ThemeTexturePixelFormatAstc_8x8Ldr = 212 )
View Source
const ( ThemeTextureType2D = 1 ThemeTextureTypeCube = 5 )
View Source
const ( ShapeEffectColorFill = `Colr` ShapeEffectGradientFill = `Grad` ShapeEffectInnerGlow = `iGlw` ShapeEffectInnerShadow = `inSh` ShapeEffectOuterGlow = `oGlw` ShapeEffectDropShadow = `Drop` ShapeEffectBevelEmboss = `Embs` ShapeEffectExtraShadow = `Xtra` ShapeEffectShapeOpacity = `SOpc` ShapeEffectOutputOpacity = `Fade` ShapeEffectHueSaturation = `HueS` )
View Source
const ( EffectParameterColor1 cuiShapeEffectParameter = iota EffectParameterColor2 EffectParameterOpacity EffectParameterOpacity2 EffectParameterBlurSize EffectParameterOffset EffectParameterAngle EffectParameterBlendMode EffectParameterSoftenSize EffectParameterSpread EffectParameterTintable EffectParameterBevelStyle )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type Asset struct { Header Metadata extendedMetadata KeyFormat []renditionAttributeType ImageDB []Rendition ColorDB map[string]color.RGBA // FontDB map[string]Font // FontSizeDB map[string]uint32 // GlyphDB map[string]Glyph // BezelDB map[string]Bezel FacetKeyDB map[string]renditionKeyToken BitmapKeyDB map[any][]byte AppearanceDB map[string]uint16 Globals []byte // bplist data Localizations map[string]uint32 // contains filtered or unexported fields }
type GA8 ¶
func (*GA8) ColorModel ¶
type RenditionKeyformat ¶
Click to show internal directories.
Click to hide internal directories.