Documentation ¶
Index ¶
- Constants
- Variables
- func CairoBoxDeviceToUser(cairo *cairo.Context, to, from *Box)
- func CairoBoxUserToDevice(cairo *cairo.Context, to, from *Box)
- func CairoEllipticalArc(cairo *cairo.Context, rx, ry, xAxisRotation float64, ...)
- func CairoEmitSVGPath(cr *cairo.Context, path string)
- func CairoHorizontal(cairo *cairo.Context, x float64)
- func CairoQuadraticCurveTo(cr *cairo.Context, x1, y1, x, y float64)
- func CairoRelEllipticalArc(cairo *cairo.Context, rx, ry, xAxisRotation float64, ...)
- func CairoRelHorizontal(cairo *cairo.Context, dx float64)
- func CairoRelQuadraticCurveTo(cr *cairo.Context, dx1, dy1, dx, dy float64)
- func CairoRelVertical(cairo *cairo.Context, dy float64)
- func CairoSetSourcePixbuf(cairo *cairo.Context, pixbuf *gdkpixbuf.Pixbuf, pixbufX, pixbufY float64)
- func CairoVertical(cairo *cairo.Context, y float64)
- func DOMGetEntity(name string) string
- func DOMImplementationCleanup()
- func DebugEnable(categorySelection string)
- func ItexFreeMathMLBuffer(mathml string)
- func ItexToMathML(itex string) string
- func MathMLColumnAlignToString(columnAlign MathMLColumnAlign) string
- func MathMLDisplayToString(display MathMLDisplay) string
- func MathMLFontStyleToString(fontStyle MathMLFontStyle) string
- func MathMLFontWeightToString(fontWeight MathMLFontWeight) string
- func MathMLFormToString(form MathMLForm) string
- func MathMLGlyphTableGetOperatorSlant(text string) float64
- func MathMLLayoutSubSup(parent MathMLElementer, view *MathMLView, x, y float64, ...)
- func MathMLLineToString(line MathMLLine) string
- func MathMLLinebreakToString(linebreak MathMLLinebreak) string
- func MathMLMeasureSubSup(parent MathMLElementer, view *MathMLView, ...)
- func MathMLModeToString(mode MathMLMode) string
- func MathMLNotationToString(notation MathMLNotation) string
- func MathMLRowAlignToString(rowAlign MathMLRowAlign) string
- func MathMLSpaceNameToString(name MathMLSpaceName) string
- func MathMLUnitToString(unit MathMLUnit) string
- func MathMLVariantSetFontStyle(variant *MathMLVariant, style MathMLFontStyle)
- func MathMLVariantSetFontWeight(variant *MathMLVariant, weight MathMLFontWeight)
- func MathMLVariantToString(variant MathMLVariant) string
- func SVGAlignToString(align SVGAlign) string
- func SVGBlendingModeToString(blendingMode SVGBlendingMode) string
- func SVGChannelSelectorToString(channelSelector SVGChannelSelector) string
- func SVGColorFilterTypeToString(typ SVGColorFilterType) string
- func SVGColorFromString(name string) uint
- func SVGCompOpToString(compOp SVGCompOp) string
- func SVGDisplayToString(display SVGDisplay) string
- func SVGEdgeModeToString(edgeMode SVGEdgeMode) string
- func SVGEnableBackgroundToString(enableBackground SVGEnableBackground) string
- func SVGFillRuleToString(fillRule SVGFillRule) string
- func SVGFontStretchToString(fontStretch SVGFontStretch) string
- func SVGFontStyleToString(fontStyle SVGFontStyle) string
- func SVGFontWeightToString(fontWeight SVGFontWeight) string
- func SVGLengthTypeToString(lengthType SVGLengthType) string
- func SVGLineCapToString(lineCap SVGLineCap) string
- func SVGLineJoinToString(lineJoin SVGLineJoin) string
- func SVGMarkerUnitsToString(units SVGMarkerUnits) string
- func SVGMeetOrSliceToString(meetOrSlice SVGMeetOrSlice) string
- func SVGMorphologyOperatorToString(morpholoyOperator SVGMorphologyOperator) string
- func SVGOverflowToString(overflow SVGOverflow) string
- func SVGPatternUnitsToString(units SVGPatternUnits) string
- func SVGPropertyBagClean(propertyBag *PropertyBag)
- func SVGPropertyBagGetProperty(propertyBag *PropertyBag, name string) string
- func SVGPropertyBagSerialize(propertyBag *PropertyBag) string
- func SVGPropertyBagSetProperty(propertyBag *PropertyBag, name, value string)
- func SVGSpreadMethodToString(method SVGSpreadMethod) string
- func SVGStitchTilesToString(stitchTiles SVGStitchTiles) string
- func SVGTextAnchorToString(textAnchor SVGTextAnchor) string
- func SVGTurbulenceTypeToString(turbulenceType SVGTurbulenceType) string
- func SVGVisibilityToString(visibility SVGVisibility) string
- func SVGWritingModeToString(writingMode SVGWritingMode) string
- func Shutdown()
- func StrIsURI(str string) bool
- func StrPointListExents(pointList string, extents *Extents)
- func StrToURI(str string) string
- type Attribute
- type AttributeInfos
- type AttributeManager
- type Box
- type DOMCharacterData
- type DOMCharacterDataOverrider
- type DOMCharacterDatar
- type DOMDocument
- func (document *DOMDocument) AppendFromMemory(node DOMNoder, buffer string) error
- func (self *DOMDocument) CreateElement(tagName string) DOMElementer
- func (self *DOMDocument) CreateTextNode(data string) *DOMText
- func (self *DOMDocument) CreateView() DOMViewer
- func (self *DOMDocument) DocumentElement() DOMElementer
- func (document *DOMDocument) SaveToMemory() (string, uint, error)
- func (document *DOMDocument) SaveToPath(path string) error
- func (document *DOMDocument) SaveToStream(stream gio.OutputStreamer) error
- func (document *DOMDocument) SaveToURL(url string) error
- func (self *DOMDocument) SetPath(path string)
- func (self *DOMDocument) SetURL(url string)
- func (self *DOMDocument) URL() string
- type DOMDocumentFragment
- type DOMDocumentFragmentOverrider
- type DOMDocumentFragmenter
- type DOMDocumentOverrider
- type DOMDocumenter
- type DOMElement
- type DOMElementOverrider
- type DOMElementer
- type DOMNamedNodeMap
- type DOMNamedNodeMapOverrider
- type DOMNamedNodeMapper
- type DOMNode
- func (self *DOMNode) AppendChild(newChild DOMNoder) DOMNoder
- func (self *DOMNode) Changed()
- func (self *DOMNode) ChildNodes() DOMNodeLister
- func (self *DOMNode) FirstChild() DOMNoder
- func (self *DOMNode) HasChildNodes() bool
- func (self *DOMNode) InsertBefore(newChild, refChild DOMNoder) DOMNoder
- func (self *DOMNode) LastChild() DOMNoder
- func (self *DOMNode) NextSibling() DOMNoder
- func (self *DOMNode) NodeName() string
- func (self *DOMNode) NodeType() DOMNodeType
- func (self *DOMNode) NodeValue() string
- func (self *DOMNode) OwnerDocument() DOMDocumenter
- func (self *DOMNode) ParentNode() DOMNoder
- func (self *DOMNode) PreviousSibling() DOMNoder
- func (self *DOMNode) RemoveChild(oldChild DOMNoder) DOMNoder
- func (self *DOMNode) ReplaceChild(newChild, oldChild DOMNoder) DOMNoder
- func (self *DOMNode) SetNodeValue(newValue string)
- func (self *DOMNode) WriteToStream(stream gio.OutputStreamer) error
- type DOMNodeList
- type DOMNodeListOverrider
- type DOMNodeLister
- type DOMNodeOverrider
- type DOMNodeType
- type DOMNoder
- type DOMText
- type DOMTextOverrider
- type DOMView
- func (view *DOMView) Render(cairo *cairo.Context, x, y float64)
- func (self *DOMView) Resolution() float64
- func (view *DOMView) SetDebug(feature string, enable bool)
- func (view *DOMView) SetDocument(document DOMDocumenter)
- func (self *DOMView) SetResolution(ppi float64)
- func (self *DOMView) SetViewport(viewportPt *Box)
- func (self *DOMView) SetViewportPixels(viewport *Box)
- func (view *DOMView) Size() (width float64, height float64, baseline float64)
- func (view *DOMView) SizePixels() (width uint, height uint, baseline uint)
- func (self *DOMView) Viewport() *Box
- func (self *DOMView) ViewportPixels() *Box
- type DOMViewOverrider
- type DOMViewer
- type DebugLevel
- type Extents
- type MathMLActionElement
- type MathMLActionElementOverrider
- type MathMLAlignGroupElement
- type MathMLAlignGroupElementOverrider
- type MathMLAlignMarkElement
- type MathMLAlignMarkElementOverrider
- type MathMLBbox
- func (bbox *MathMLBbox) AddHorizontally(newBbox *MathMLBbox)
- func (self *MathMLBbox) AddOver(bbox *MathMLBbox)
- func (self *MathMLBbox) AddUnder(bbox *MathMLBbox)
- func (m *MathMLBbox) Depth() float64
- func (m *MathMLBbox) Height() float64
- func (m *MathMLBbox) IsDefined() bool
- func (self *MathMLBbox) MergeVertically(bbox *MathMLBbox, offset float64)
- func (self *MathMLBbox) Stretch(bbox *MathMLBbox)
- func (self *MathMLBbox) StretchHorizontally(bbox *MathMLBbox)
- func (self *MathMLBbox) StretchVertically(bbox *MathMLBbox)
- func (m *MathMLBbox) Width() float64
- type MathMLBooleanAttribute
- type MathMLCSSType
- type MathMLColor
- type MathMLColorAttribute
- type MathMLColumnAlign
- type MathMLDisplay
- type MathMLDocument
- type MathMLDocumentOverrider
- type MathMLDoubleAttribute
- type MathMLElement
- func (self *MathMLElement) Bbox() *MathMLBbox
- func (self *MathMLElement) IsInferredRow() bool
- func (element *MathMLElement) Layout(view *MathMLView, x, y float64, bbox *MathMLBbox)
- func (element *MathMLElement) Measure(view *MathMLView, stretchBbox *MathMLBbox) *MathMLBbox
- func (element *MathMLElement) Render(view *MathMLView)
- func (element *MathMLElement) Update(style *MathMLStyle) bool
- type MathMLElementOverrider
- type MathMLElementStyle
- type MathMLElementer
- type MathMLEncloseElement
- type MathMLEncloseElementOverrider
- type MathMLEnumAttribute
- type MathMLEnumList
- type MathMLEnumListAttribute
- type MathMLErrorElement
- type MathMLErrorElementOverrider
- type MathMLFencedElement
- type MathMLFencedElementOverrider
- type MathMLFont
- type MathMLFontStyle
- type MathMLFontWeight
- type MathMLForm
- type MathMLFractionElement
- type MathMLFractionElementOverrider
- type MathMLGlyph
- type MathMLGlyphFlags
- type MathMLItexElement
- type MathMLItexElementOverrider
- type MathMLLength
- type MathMLLengthAttribute
- type MathMLLine
- type MathMLLinebreak
- type MathMLMathElement
- func (mathElement *MathMLMathElement) DefaultStyle() *MathMLStyle
- func (mathElement *MathMLMathElement) Layout(view *MathMLView, bbox *MathMLBbox)
- func (mathElement *MathMLMathElement) Measure(view *MathMLView) *MathMLBbox
- func (mathElement *MathMLMathElement) Render(view *MathMLView)
- func (mathElement *MathMLMathElement) SetDefaultStyle(style *MathMLStyle)
- func (mathElement *MathMLMathElement) Update()
- type MathMLMathElementOverrider
- type MathMLMode
- type MathMLNotation
- type MathMLOperatorDictionaryEntry
- func (m *MathMLOperatorDictionaryEntry) Accent() bool
- func (m *MathMLOperatorDictionaryEntry) Fence() bool
- func (m *MathMLOperatorDictionaryEntry) Form() MathMLForm
- func (m *MathMLOperatorDictionaryEntry) LargeOp() bool
- func (m *MathMLOperatorDictionaryEntry) LeftSpace() *MathMLSpace
- func (m *MathMLOperatorDictionaryEntry) MaxSize() *MathMLSpace
- func (m *MathMLOperatorDictionaryEntry) MinSize() *MathMLSpace
- func (m *MathMLOperatorDictionaryEntry) MovableLimits() bool
- func (m *MathMLOperatorDictionaryEntry) Name() string
- func (m *MathMLOperatorDictionaryEntry) RightSpace() *MathMLSpace
- func (m *MathMLOperatorDictionaryEntry) Separator() bool
- func (m *MathMLOperatorDictionaryEntry) Stretchy() bool
- func (m *MathMLOperatorDictionaryEntry) Symmetric() bool
- type MathMLOperatorElement
- type MathMLOperatorElementOverrider
- type MathMLOperatorGlyph
- func (m *MathMLOperatorGlyph) Flags() MathMLGlyphFlags
- func (m *MathMLOperatorGlyph) GlueGlyph() *MathMLGlyph
- func (m *MathMLOperatorGlyph) MiddleGlyph() *MathMLGlyph
- func (m *MathMLOperatorGlyph) NSizedGlyphs() uint
- func (m *MathMLOperatorGlyph) SizedGlyphs() [5]MathMLGlyph
- func (m *MathMLOperatorGlyph) StartGlyph() *MathMLGlyph
- func (m *MathMLOperatorGlyph) StopGlyph() *MathMLGlyph
- func (m *MathMLOperatorGlyph) UTF8() string
- type MathMLPaddedElement
- type MathMLPaddedElementOverrider
- type MathMLPadding
- type MathMLPhantomElement
- type MathMLPhantomElementOverrider
- type MathMLPresentationContainer
- type MathMLPresentationContainerOverrider
- type MathMLPresentationContainerer
- type MathMLPresentationToken
- type MathMLPresentationTokenOverrider
- type MathMLPresentationTokenType
- type MathMLRadicalElement
- type MathMLRadicalElementOverrider
- type MathMLRadicalElementType
- type MathMLRowAlign
- type MathMLRowElement
- type MathMLRowElementOverrider
- type MathMLScriptElement
- type MathMLScriptElementOverrider
- type MathMLScriptElementType
- type MathMLScriptLevel
- type MathMLScriptLevelAttribute
- type MathMLScriptLevelSign
- type MathMLSemanticsElement
- type MathMLSemanticsElementOverrider
- type MathMLSpace
- type MathMLSpaceAttribute
- type MathMLSpaceElement
- type MathMLSpaceElementOverrider
- type MathMLSpaceList
- type MathMLSpaceListAttribute
- func (m *MathMLSpaceListAttribute) Base() *Attribute
- func (m *MathMLSpaceListAttribute) NValues() uint
- func (attribute *MathMLSpaceListAttribute) Normalize(base float64, defaultValue *MathMLSpaceList, style *MathMLStyle)
- func (m *MathMLSpaceListAttribute) SpaceList() *MathMLSpaceList
- func (m *MathMLSpaceListAttribute) Values() *float64
- type MathMLSpaceName
- type MathMLStringAttribute
- type MathMLStringElement
- type MathMLStringElementOverrider
- type MathMLStyle
- func (m *MathMLStyle) Bevelled() bool
- func (style *MathMLStyle) ChangeScriptLevel(increment int)
- func (m *MathMLStyle) Display() MathMLDisplay
- func (from *MathMLStyle) Duplicate() *MathMLStyle
- func (m *MathMLStyle) LineThickness() float64
- func (m *MathMLStyle) MathBackground() *MathMLColor
- func (m *MathMLStyle) MathColor() *MathMLColor
- func (m *MathMLStyle) MathFamily() string
- func (m *MathMLStyle) MathSize() float64
- func (m *MathMLStyle) MathVariant() MathMLVariant
- func (m *MathMLStyle) MediumMathSpace() float64
- func (m *MathMLStyle) NegativeMediumMathSpace() float64
- func (m *MathMLStyle) NegativeThickMathSpace() float64
- func (m *MathMLStyle) NegativeThinMathSpace() float64
- func (m *MathMLStyle) NegativeVeryThickMathSpace() float64
- func (m *MathMLStyle) NegativeVeryThinMathSpace() float64
- func (m *MathMLStyle) NegativeVeryVeryThickMathSpace() float64
- func (m *MathMLStyle) NegativeVeryVeryThinMathSpace() float64
- func (m *MathMLStyle) ScriptLevel() int
- func (m *MathMLStyle) ScriptMinSize() float64
- func (m *MathMLStyle) ScriptSizeMultiplier() float64
- func (style *MathMLStyle) SetMathColor(red float64, green float64, blue float64, alpha float64)
- func (style *MathMLStyle) SetMathFamily(mathFamily string)
- func (style *MathMLStyle) SetMathSizePt(mathSize float64)
- func (style *MathMLStyle) SetMathVariant(mathVariant MathMLVariant)
- func (style *MathMLStyle) SetScriptMinSizePt(scriptMinSize float64)
- func (m *MathMLStyle) SubscriptShift() float64
- func (m *MathMLStyle) SuperscriptShift() float64
- func (m *MathMLStyle) ThickMathSpace() float64
- func (m *MathMLStyle) ThinMathSpace() float64
- func (m *MathMLStyle) VeryThickMathSpace() float64
- func (m *MathMLStyle) VeryThinMathSpace() float64
- func (m *MathMLStyle) VeryVeryThickMathSpace() float64
- func (m *MathMLStyle) VeryVeryThinMathSpace() float64
- type MathMLStyleElement
- type MathMLStyleElementOverrider
- type MathMLTableCellElement
- type MathMLTableCellElementOverrider
- type MathMLTableElement
- type MathMLTableElementOverrider
- type MathMLTableRowElement
- type MathMLTableRowElementOverrider
- type MathMLTableRowElementType
- type MathMLUnderOverElement
- type MathMLUnderOverElementOverrider
- type MathMLUnderOverElementType
- type MathMLUnit
- type MathMLUnsignedAttribute
- type MathMLVariant
- type MathMLView
- func (view *MathMLView) FontMetrics(style *MathMLElementStyle, ascent, descent *float64)
- func (view *MathMLView) MeasureAxisOffset(mathSize float64) float64
- func (view *MathMLView) MeasureNotation(style *MathMLElementStyle, notation MathMLNotation, ...)
- func (view *MathMLView) MeasureOperator(style *MathMLElementStyle, text string, large, symmetric bool, ...)
- func (view *MathMLView) MeasureRadical(style *MathMLElementStyle, stretchBbox, bbox *MathMLBbox, ...)
- func (view *MathMLView) MeasureText(style *MathMLElementStyle, text string, bbox *MathMLBbox)
- func (view *MathMLView) OperatorSlant(style *MathMLElementStyle, text string) float64
- func (view *MathMLView) ShowBackground(style *MathMLElementStyle, x, y float64, bbox *MathMLBbox)
- func (view *MathMLView) ShowBbox(x, y float64, bbox *MathMLBbox)
- func (view *MathMLView) ShowFractionLine(style *MathMLElementStyle, x, y, width, thickness float64)
- func (view *MathMLView) ShowLine(style *MathMLElementStyle, x0, y0, x1, y1 float64, line MathMLLine, ...)
- func (view *MathMLView) ShowNotation(style *MathMLElementStyle, notation MathMLNotation, x, y float64, ...)
- func (view *MathMLView) ShowOperator(style *MathMLElementStyle, x, y float64, text string, large bool, ...)
- func (view *MathMLView) ShowRadical(style *MathMLElementStyle, x, y, width float64, stretchBbox *MathMLBbox)
- func (view *MathMLView) ShowRectangle(style *MathMLElementStyle, x, y, width, height float64, line MathMLLine, ...)
- func (view *MathMLView) ShowText(style *MathMLElementStyle, x, y float64, text string)
- type MathMLViewOverrider
- type Property
- type PropertyBag
- type PropertyInfos
- type PropertyManager
- func (manager *PropertyManager) CleanProperties(propertyBag *PropertyBag)
- func (manager *PropertyManager) Property(propertyBag *PropertyBag, name string) string
- func (propertyManager *PropertyManager) Serialize(propertyBag *PropertyBag) string
- func (manager *PropertyManager) SetProperty(propertyBag *PropertyBag, name string, value string) bool
- type SVGAElement
- type SVGAElementOverrider
- type SVGAlign
- type SVGAngle
- type SVGAngleAttribute
- type SVGAngleType
- type SVGAnimatedLength
- type SVGBlendingMode
- type SVGBlendingModeAttribute
- type SVGBooleanAttribute
- type SVGChannelSelector
- type SVGChannelSelectorAttribute
- type SVGCircleElement
- type SVGCircleElementOverrider
- type SVGClipPathElement
- type SVGClipPathElementOverrider
- type SVGColor
- type SVGColorAttribute
- type SVGColorFilterType
- type SVGColorFilterTypeAttribute
- type SVGColorProperty
- type SVGCompOp
- type SVGCompOpProperty
- type SVGDashArray
- type SVGDashArrayAttribute
- type SVGDashArrayProperty
- type SVGDefsElement
- type SVGDefsElementOverrider
- type SVGDisplay
- type SVGDisplayProperty
- type SVGDocument
- type SVGDocumentOverrider
- type SVGDoubleAttribute
- type SVGDoubleProperty
- type SVGEdgeMode
- type SVGEdgeModeAttribute
- type SVGElement
- func (element *SVGElement) Category() SVGElementCategory
- func (element *SVGElement) Extents(view *SVGView, extents *Extents)
- func (element *SVGElement) ForceRender(view *SVGView)
- func (element *SVGElement) Render(view *SVGView)
- func (element *SVGElement) TransformedGetExtents(view *SVGView, extents *Extents)
- type SVGElementCategory
- type SVGElementOverrider
- type SVGElementer
- type SVGEllipseElement
- type SVGEllipseElementOverrider
- type SVGEnableBackground
- type SVGEnableBackgroundProperty
- type SVGFillRule
- type SVGFillRuleProperty
- type SVGFilterBlend
- type SVGFilterBlendOverrider
- type SVGFilterColorMatrix
- type SVGFilterColorMatrixOverrider
- type SVGFilterComposite
- type SVGFilterCompositeOverrider
- type SVGFilterConvolveMatrix
- type SVGFilterConvolveMatrixOverrider
- type SVGFilterDisplacementMap
- type SVGFilterDisplacementMapOverrider
- type SVGFilterElement
- type SVGFilterElementOverrider
- type SVGFilterFlood
- type SVGFilterFloodOverrider
- type SVGFilterGaussianBlur
- type SVGFilterGaussianBlurOverrider
- type SVGFilterImage
- type SVGFilterImageOverrider
- type SVGFilterInput
- type SVGFilterMerge
- type SVGFilterMergeNode
- type SVGFilterMergeNodeOverrider
- type SVGFilterMergeOverrider
- type SVGFilterMorphology
- type SVGFilterMorphologyOverrider
- type SVGFilterOffset
- type SVGFilterOffsetOverrider
- type SVGFilterPrimitive
- type SVGFilterPrimitiveOverrider
- type SVGFilterPrimitiver
- type SVGFilterSpecularLighting
- type SVGFilterSpecularLightingOverrider
- type SVGFilterSurface
- func NewSVGFilterSurface(name string, width uint, height uint, subregion *Box) *SVGFilterSurface
- func NewSVGFilterSurfaceSimilar(name string, model *SVGFilterSurface, subregion *Box) *SVGFilterSurface
- func NewSVGFilterSurfaceWithContent(name string, surface *cairo.Surface, subregion *Box) *SVGFilterSurface
- func (input *SVGFilterSurface) Alpha(output *SVGFilterSurface)
- func (input1 *SVGFilterSurface) Blend(input2 *SVGFilterSurface, output *SVGFilterSurface, blendingMode int)
- func (input *SVGFilterSurface) Blur(output *SVGFilterSurface, sx float64, sy float64)
- func (surface *SVGFilterSurface) CairoSurface() *cairo.Surface
- func (input *SVGFilterSurface) ColorMatrix(output *SVGFilterSurface, typ SVGColorFilterType, nValues uint, ...)
- func (input *SVGFilterSurface) ConvolveMatrix(output *SVGFilterSurface, xOrder uint, yOrder uint, nValues uint, ...)
- func (input1 *SVGFilterSurface) DisplacementMap(input2 *SVGFilterSurface, output *SVGFilterSurface, xScale float64, ...)
- func (surface *SVGFilterSurface) Flood(red float64, green float64, blue float64, opacity float64)
- func (output *SVGFilterSurface) Image(pixbuf *gdkpixbuf.Pixbuf, preserveAspectRatio *SVGPreserveAspectRatio)
- func (input *SVGFilterSurface) Merge(output *SVGFilterSurface)
- func (inputSurface *SVGFilterSurface) Morphology(outputSurface *SVGFilterSurface, op SVGMorphologyOperator, rx float64, ...)
- func (surface *SVGFilterSurface) Name() string
- func (input *SVGFilterSurface) Offset(output *SVGFilterSurface, dx int, dy int)
- func (outputSurface *SVGFilterSurface) SpecularLighting(surfaceScale float64, specularConstant float64, specularExponent float64, ...)
- func (surface *SVGFilterSurface) Subregion() *Box
- func (input *SVGFilterSurface) Tile(output *SVGFilterSurface)
- func (outputSurface *SVGFilterSurface) Turbulence(baseFrequencyX float64, baseFrequencyY float64, nOctaves int, seed float64, ...)
- type SVGFilterTile
- type SVGFilterTileOverrider
- type SVGFilterTurbulence
- type SVGFilterTurbulenceOverrider
- type SVGFontStretch
- type SVGFontStretchProperty
- type SVGFontStyle
- type SVGFontStyleProperty
- type SVGFontWeight
- type SVGFontWeightProperty
- type SVGGElement
- type SVGGElementOverrider
- type SVGGradientElement
- type SVGGradientElementAttributes
- type SVGGradientElementOverrider
- type SVGGradientElementer
- type SVGImageElement
- type SVGImageElementOverrider
- type SVGIntegerAttribute
- type SVGLength
- type SVGLengthAttribute
- type SVGLengthDirection
- type SVGLengthList
- type SVGLengthListAttribute
- type SVGLengthProperty
- type SVGLengthType
- type SVGLineCap
- type SVGLineCapProperty
- type SVGLineElement
- type SVGLineElementOverrider
- type SVGLineJoin
- type SVGLineJoinProperty
- type SVGLinearGradientElement
- type SVGLinearGradientElementOverrider
- type SVGMarkerElement
- type SVGMarkerElementOverrider
- type SVGMarkerUnits
- type SVGMarkerUnitsAttribute
- type SVGMaskElement
- type SVGMaskElementOverrider
- type SVGMatrix
- func (s *SVGMatrix) A() float64
- func (s *SVGMatrix) B() float64
- func (s *SVGMatrix) C() float64
- func (s *SVGMatrix) D() float64
- func (s *SVGMatrix) E() float64
- func (s *SVGMatrix) F() float64
- func (s *SVGMatrix) Flags() SVGMatrixFlags
- func (matrix *SVGMatrix) Init(a float64, b float64, c float64, d float64, e float64, f float64)
- func (matrix *SVGMatrix) InitIdentity()
- func (matrix *SVGMatrix) InitRotate(radians float64)
- func (matrix *SVGMatrix) InitScale(sx float64, sy float64)
- func (matrix *SVGMatrix) InitSkewX(radians float64)
- func (matrix *SVGMatrix) InitSkewY(radians float64)
- func (matrix *SVGMatrix) InitTranslate(tx float64, ty float64)
- func (matrix *SVGMatrix) IsIdentity() bool
- func (matrix *SVGMatrix) IsInvertible() bool
- func (result *SVGMatrix) Multiply(a *SVGMatrix, b *SVGMatrix)
- func (matrix *SVGMatrix) Rotate(radians float64)
- func (matrix *SVGMatrix) Scale(sx float64, sy float64)
- func (matrix *SVGMatrix) SkewX(radians float64)
- func (matrix *SVGMatrix) SkewY(radians float64)
- func (matrix *SVGMatrix) TransformBoundingBox(x1 *float64, y1 *float64, x2 *float64, y2 *float64)
- func (matrix *SVGMatrix) TransformPoint(x *float64, y *float64)
- func (matrix *SVGMatrix) Translate(tx float64, ty float64)
- type SVGMatrixFlags
- type SVGMeetOrSlice
- type SVGMorphologyOperator
- type SVGMorphologyOperatorAttribute
- type SVGOneOrTwoDouble
- type SVGOneOrTwoDoubleAttribute
- type SVGOneOrTwoInteger
- type SVGOneOrTwoIntegerAttribute
- type SVGOverflow
- type SVGOverflowProperty
- type SVGPaint
- type SVGPaintAttribute
- type SVGPaintProperty
- type SVGPaintType
- type SVGPathElement
- type SVGPathElementOverrider
- type SVGPatternElement
- type SVGPatternElementOverrider
- type SVGPatternUnits
- type SVGPatternUnitsAttribute
- type SVGPolygonElement
- type SVGPolygonElementOverrider
- type SVGPolylineElement
- type SVGPolylineElementOverrider
- type SVGPreserveAspectRatio
- type SVGPreserveAspectRatioAttribute
- type SVGRadialGradientElement
- type SVGRadialGradientElementOverrider
- type SVGRectElement
- type SVGRectElementOverrider
- type SVGSpreadMethod
- type SVGSpreadMethodAtttribute
- type SVGStitchTiles
- type SVGStitchTilesAttribute
- type SVGStopElement
- type SVGStopElementOverrider
- type SVGStringAttribute
- type SVGStyle
- func (s *SVGStyle) AlignmentBaseline() *Property
- func (s *SVGStyle) BaselineShift() *Property
- func (s *SVGStyle) Clip() *Property
- func (s *SVGStyle) ClipPath() *Property
- func (s *SVGStyle) ClipRule() *SVGFillRuleProperty
- func (s *SVGStyle) Color() *SVGColorProperty
- func (s *SVGStyle) ColorInterpolation() *Property
- func (s *SVGStyle) ColorInterpolationFilters() *Property
- func (s *SVGStyle) ColorProfile() *Property
- func (s *SVGStyle) ColorRendering() *Property
- func (s *SVGStyle) CompOp() *SVGCompOpProperty
- func (s *SVGStyle) Cursor() *Property
- func (s *SVGStyle) Direction() *Property
- func (s *SVGStyle) Display() *SVGDisplayProperty
- func (s *SVGStyle) DominantBaseline() *Property
- func (s *SVGStyle) EnableBackground() *SVGEnableBackgroundProperty
- func (s *SVGStyle) Fill() *SVGPaintProperty
- func (s *SVGStyle) FillOpacity() *SVGDoubleProperty
- func (s *SVGStyle) FillRule() *SVGFillRuleProperty
- func (s *SVGStyle) Filter() *Property
- func (s *SVGStyle) FloodColor() *SVGColorProperty
- func (s *SVGStyle) FloodOpacity() *SVGDoubleProperty
- func (s *SVGStyle) Font() *Property
- func (s *SVGStyle) FontFamily() *Property
- func (s *SVGStyle) FontSize() *SVGLengthProperty
- func (s *SVGStyle) FontSizeAdjust() *Property
- func (s *SVGStyle) FontSizePx() float64
- func (s *SVGStyle) FontStretch() *SVGFontStretchProperty
- func (s *SVGStyle) FontStyle() *SVGFontStyleProperty
- func (s *SVGStyle) FontVariant() *Property
- func (s *SVGStyle) FontWeight() *SVGFontWeightProperty
- func (s *SVGStyle) GlyphOrientationHorizontal() *Property
- func (s *SVGStyle) GlyphOrientationVertical() *Property
- func (s *SVGStyle) IgnoreGroupOpacity() bool
- func (s *SVGStyle) ImageRendering() *Property
- func (s *SVGStyle) Kerning() *Property
- func (s *SVGStyle) LetterSpacing() *Property
- func (s *SVGStyle) LightingColor() *SVGColorProperty
- func (s *SVGStyle) Marker() *Property
- func (s *SVGStyle) MarkerEnd() *Property
- func (s *SVGStyle) MarkerMid() *Property
- func (s *SVGStyle) MarkerStart() *Property
- func (s *SVGStyle) Mask() *Property
- func (s *SVGStyle) Opacity() *SVGDoubleProperty
- func (s *SVGStyle) Overflow() *SVGOverflowProperty
- func (s *SVGStyle) PointerEvents() *Property
- func (s *SVGStyle) ShapeRendering() *Property
- func (s *SVGStyle) StopColor() *SVGColorProperty
- func (s *SVGStyle) StopOpacity() *SVGDoubleProperty
- func (s *SVGStyle) Stroke() *SVGPaintProperty
- func (s *SVGStyle) StrokeDashArray() *SVGDashArrayProperty
- func (s *SVGStyle) StrokeDashOffset() *SVGLengthProperty
- func (s *SVGStyle) StrokeLineCap() *SVGLineCapProperty
- func (s *SVGStyle) StrokeLineJoin() *SVGLineJoinProperty
- func (s *SVGStyle) StrokeMiterLimit() *SVGDoubleProperty
- func (s *SVGStyle) StrokeOpacity() *SVGDoubleProperty
- func (s *SVGStyle) StrokeWidth() *SVGLengthProperty
- func (s *SVGStyle) TextAnchor() *SVGTextAnchorProperty
- func (s *SVGStyle) TextDecoration() *Property
- func (s *SVGStyle) TextRendering() *Property
- func (s *SVGStyle) UnicodeBidi() *Property
- func (s *SVGStyle) ViewportFill() *SVGPaintProperty
- func (s *SVGStyle) ViewportFillOpacity() *SVGDoubleProperty
- func (s *SVGStyle) Visibility() *SVGVisibilityProperty
- func (s *SVGStyle) WordSpacing() *Property
- func (s *SVGStyle) WritingMode() *SVGWritingModeProperty
- type SVGSvgElement
- type SVGSvgElementOverrider
- type SVGSwitchElement
- type SVGSwitchElementOverrider
- type SVGSymbolElement
- type SVGSymbolElementOverrider
- type SVGTextAnchor
- type SVGTextAnchorProperty
- type SVGTextElement
- type SVGTextElementOverrider
- type SVGTransformAttribute
- type SVGTransformProperty
- type SVGTransformType
- type SVGTransformable
- type SVGTransformableOverrider
- type SVGTransformabler
- type SVGTspanElement
- type SVGTspanElementOverrider
- type SVGTurbulenceType
- type SVGTurbulenceTypeAttribute
- type SVGUseElement
- type SVGUseElementFlags
- type SVGUseElementOverrider
- type SVGVector
- type SVGVectorAttribute
- type SVGView
- func (view *SVGView) AddGradientColorStop(offset float64)
- func (view *SVGView) ApplyBlend(input1, input2, output string, subregion *Box, mode SVGBlendingMode)
- func (view *SVGView) ApplyColorMatrix(input, output string, subregion *Box, typ SVGColorFilterType, nValues uint, ...)
- func (view *SVGView) ApplyConvolveMatrix(input, output string, subregion *Box, a, b, nValues uint, values *float64, ...)
- func (view *SVGView) ApplyDisplacementMap(input1, input2, output string, subregion *Box, scale float64, ...)
- func (view *SVGView) ApplyFlood(output string, subregion *Box)
- func (view *SVGView) ApplyGaussianBlur(input, output string, subregion *Box, stdX, stdY float64)
- func (view *SVGView) ApplyImage(output string, subregion *Box, pixbuf *gdkpixbuf.Pixbuf, ...)
- func (view *SVGView) ApplyMerge(input, output string, subregion *Box)
- func (view *SVGView) ApplyMorphology(input, output string, subregion *Box, op SVGMorphologyOperator, radius float64)
- func (view *SVGView) ApplyOffset(input, output string, subregion *Box, dx, dy float64)
- func (view *SVGView) ApplySpecularLighting(output string, subregion *Box, ...)
- func (view *SVGView) ApplyTile(input, output string, subregion *Box)
- func (view *SVGView) ApplyTurbulence(output string, subregion *Box, baseFrequencyX, baseFrequencyY float64, ...)
- func (view *SVGView) ClipExtents() *Box
- func (view *SVGView) CreateLinearGradient(x1, y1, x2, y2 float64)
- func (view *SVGView) CreateRadialGradient(cx, cy, r, fx, fy float64)
- func (view *SVGView) CreateSurfacePattern(viewport *Box, matrix *SVGMatrix, surfaceType SVGViewSurfaceType) bool
- func (view *SVGView) EndText()
- func (view *SVGView) FilterSurfaceExtents(name string) *Box
- func (view *SVGView) NormalizeLength(length *SVGLength, direction SVGLengthDirection) float64
- func (view *SVGView) NormalizeLengthList(list *SVGLengthList, direction SVGLengthDirection, nData *uint) *float64
- func (view *SVGView) ObjectExtents() *Box
- func (view *SVGView) PathExtents(path string, extents *Extents)
- func (view *SVGView) PatternExtents() *Box
- func (view *SVGView) PopComposition()
- func (view *SVGView) PopElement()
- func (view *SVGView) PopMatrix()
- func (view *SVGView) PopStyle()
- func (view *SVGView) PopViewbox()
- func (view *SVGView) PopViewport()
- func (view *SVGView) PushComposition(style *SVGStyle)
- func (view *SVGView) PushElement(element SVGElementer)
- func (view *SVGView) PushMatrix(matrix *SVGMatrix) bool
- func (view *SVGView) PushStyle(style *SVGStyle)
- func (view *SVGView) PushViewbox(viewbox *Box)
- func (view *SVGView) PushViewport(viewport, viewbox *Box, aspectRatio *SVGPreserveAspectRatio, ...)
- func (view *SVGView) SetGradientProperties(method SVGSpreadMethod, units SVGPatternUnits, matrix *SVGMatrix) bool
- func (view *SVGView) ShowCircle(cx, cy, r float64)
- func (view *SVGView) ShowEllipse(cx, cy, rx, ry float64)
- func (view *SVGView) ShowLine(x1, y1, x2, y2 float64)
- func (view *SVGView) ShowPath(d string)
- func (view *SVGView) ShowPixbuf(pixbuf *gdkpixbuf.Pixbuf)
- func (view *SVGView) ShowPolygon(points string)
- func (view *SVGView) ShowPolyline(points string)
- func (view *SVGView) ShowRectangle(x, y, width, height, rx, ry float64)
- func (view *SVGView) ShowText(str string, nX uint, x *float64, nY uint, y *float64, nDx uint, dx *float64, ...)
- func (view *SVGView) ShowViewport(viewport *Box)
- func (view *SVGView) StartText()
- func (view *SVGView) TextExtents(str string, x, y float64, nDx uint, dx *float64, nDy uint, dy *float64, ...)
- func (view *SVGView) ViewboxToViewport(viewport, viewbox *Box, aspectRatio *SVGPreserveAspectRatio, x, y *float64)
- type SVGViewOverrider
- type SVGViewSurfaceType
- type SVGViewbox
- type SVGViewboxAttribute
- type SVGVisibility
- type SVGVisibilityProperty
- type SVGWritingMode
- type SVGWritingModeProperty
Constants ¶
const DOM_VIEW_DEFAULT_RESOLUTION = 72.000000
const DOM_VIEW_DEFAULT_VIEWBOX_HEIGHT = 200.000000
const DOM_VIEW_DEFAULT_VIEWBOX_WIDTH = 320.000000
const MATHML_FONT_DOUBLE_STRUCK = "msbm10"
const MATHML_FONT_FRAKTUR = "Serif"
const MATHML_FONT_MONOSPACE = "Monospace"
const MATHML_FONT_SANS = "Sans"
const MATHML_FONT_SCRIPT = "cmsy10"
const MATHML_FONT_SERIF = "Serif"
const MATHML_RADICAL_ORDER_X_OFFSET = 0.500000
const MATHML_RADICAL_ORDER_Y_OFFSET = 0.500000
const MATHML_RADICAL_TOP_LINE_WIDTH = 0.050000
const MATHML_RADICAL_UTF8 = "√"
const MATHML_SPACE_EM_MEDIUM = 0.222222
const MATHML_SPACE_EM_NEGATIVE_MEDIUM = 0.222222
const MATHML_SPACE_EM_NEGATIVE_THICK = 0.277778
const MATHML_SPACE_EM_NEGATIVE_THIN = 0.166667
const MATHML_SPACE_EM_NEGATIVE_VERY_THICK = 0.333333
const MATHML_SPACE_EM_NEGATIVE_VERY_THIN = 0.111111
const MATHML_SPACE_EM_NEGATIVE_VERY_VERY_THICK = 0.388889
const MATHML_SPACE_EM_NEGATIVE_VERY_VERY_THIN = 0.055556
const MATHML_SPACE_EM_THICK = 0.277778
const MATHML_SPACE_EM_THIN = 0.166667
const MATHML_SPACE_EM_VERY_THICK = 0.333333
const MATHML_SPACE_EM_VERY_THIN = 0.111111
const MATHML_SPACE_EM_VERY_VERY_THICK = 0.388889
const MATHML_SPACE_EM_VERY_VERY_THIN = 0.055556
Variables ¶
var ( GTypeMathMLColor = externglib.Type(C.lsm_mathml_color_get_type()) GTypeMathMLLength = externglib.Type(C.lsm_mathml_length_get_type()) GTypeMathMLSpace = externglib.Type(C.lsm_mathml_space_get_type()) )
glib.Type values for lsmmathmltraits.go.
var ( GTypeBox = externglib.Type(C.lsm_box_get_type()) GTypeExtents = externglib.Type(C.lsm_extents_get_type()) )
glib.Type values for lsmutils.go.
var GTypeAttributeManager = externglib.Type(C.lsm_attribute_manager_get_type())
glib.Type values for lsmattributes.go.
var GTypeDOMCharacterData = externglib.Type(C.lsm_dom_character_data_get_type())
glib.Type values for lsmdomcharacterdata.go.
var GTypeDOMDocument = externglib.Type(C.lsm_dom_document_get_type())
glib.Type values for lsmdomdocument.go.
var GTypeDOMDocumentFragment = externglib.Type(C.lsm_dom_document_fragment_get_type())
glib.Type values for lsmdomdocumentfragment.go.
var GTypeDOMElement = externglib.Type(C.lsm_dom_element_get_type())
glib.Type values for lsmdomelement.go.
var GTypeDOMNamedNodeMap = externglib.Type(C.lsm_dom_named_node_map_get_type())
glib.Type values for lsmdomnamednodemap.go.
var GTypeDOMNode = externglib.Type(C.lsm_dom_node_get_type())
glib.Type values for lsmdomnode.go.
var GTypeDOMNodeList = externglib.Type(C.lsm_dom_node_list_get_type())
glib.Type values for lsmdomnodelist.go.
var GTypeDOMText = externglib.Type(C.lsm_dom_text_get_type())
glib.Type values for lsmdomtext.go.
var GTypeDOMView = externglib.Type(C.lsm_dom_view_get_type())
glib.Type values for lsmdomview.go.
var GTypeMathMLActionElement = externglib.Type(C.lsm_mathml_action_element_get_type())
glib.Type values for lsmmathmlactionelement.go.
var GTypeMathMLAlignGroupElement = externglib.Type(C.lsm_mathml_align_group_element_get_type())
glib.Type values for lsmmathmlaligngroupelement.go.
var GTypeMathMLAlignMarkElement = externglib.Type(C.lsm_mathml_align_mark_element_get_type())
glib.Type values for lsmmathmlalignmarkelement.go.
var GTypeMathMLDocument = externglib.Type(C.lsm_mathml_document_get_type())
glib.Type values for lsmmathmldocument.go.
var GTypeMathMLElement = externglib.Type(C.lsm_mathml_element_get_type())
glib.Type values for lsmmathmlelement.go.
var GTypeMathMLEncloseElement = externglib.Type(C.lsm_mathml_enclose_element_get_type())
glib.Type values for lsmmathmlencloseelement.go.
var GTypeMathMLErrorElement = externglib.Type(C.lsm_mathml_error_element_get_type())
glib.Type values for lsmmathmlerrorelement.go.
var GTypeMathMLFencedElement = externglib.Type(C.lsm_mathml_fenced_element_get_type())
glib.Type values for lsmmathmlfencedelement.go.
var GTypeMathMLFractionElement = externglib.Type(C.lsm_mathml_fraction_element_get_type())
glib.Type values for lsmmathmlfractionelement.go.
var GTypeMathMLItexElement = externglib.Type(C.lsm_mathml_itex_element_get_type())
glib.Type values for lsmmathmlitexelement.go.
var GTypeMathMLMathElement = externglib.Type(C.lsm_mathml_math_element_get_type())
glib.Type values for lsmmathmlmathelement.go.
var GTypeMathMLOperatorElement = externglib.Type(C.lsm_mathml_operator_element_get_type())
glib.Type values for lsmmathmloperatorelement.go.
var GTypeMathMLPaddedElement = externglib.Type(C.lsm_mathml_padded_element_get_type())
glib.Type values for lsmmathmlpaddedelement.go.
var GTypeMathMLPhantomElement = externglib.Type(C.lsm_mathml_phantom_element_get_type())
glib.Type values for lsmmathmlphantomelement.go.
var GTypeMathMLPresentationContainer = externglib.Type(C.lsm_mathml_presentation_container_get_type())
glib.Type values for lsmmathmlpresentationcontainer.go.
var GTypeMathMLPresentationToken = externglib.Type(C.lsm_mathml_presentation_token_get_type())
glib.Type values for lsmmathmlpresentationtoken.go.
var GTypeMathMLRadicalElement = externglib.Type(C.lsm_mathml_radical_element_get_type())
glib.Type values for lsmmathmlradicalelement.go.
var GTypeMathMLRowElement = externglib.Type(C.lsm_mathml_row_element_get_type())
glib.Type values for lsmmathmlrowelement.go.
var GTypeMathMLScriptElement = externglib.Type(C.lsm_mathml_script_element_get_type())
glib.Type values for lsmmathmlscriptelement.go.
var GTypeMathMLSemanticsElement = externglib.Type(C.lsm_mathml_semantics_element_get_type())
glib.Type values for lsmmathmlsemanticselement.go.
var GTypeMathMLSpaceElement = externglib.Type(C.lsm_mathml_space_element_get_type())
glib.Type values for lsmmathmlspaceelement.go.
var GTypeMathMLStringElement = externglib.Type(C.lsm_mathml_string_element_get_type())
glib.Type values for lsmmathmlstringelement.go.
var GTypeMathMLStyle = externglib.Type(C.lsm_mathml_style_get_type())
glib.Type values for lsmmathmlstyle.go.
var GTypeMathMLStyleElement = externglib.Type(C.lsm_mathml_style_element_get_type())
glib.Type values for lsmmathmlstyleelement.go.
var GTypeMathMLTableCellElement = externglib.Type(C.lsm_mathml_table_cell_element_get_type())
glib.Type values for lsmmathmltablecellelement.go.
var GTypeMathMLTableElement = externglib.Type(C.lsm_mathml_table_element_get_type())
glib.Type values for lsmmathmltableelement.go.
var GTypeMathMLTableRowElement = externglib.Type(C.lsm_mathml_table_row_element_get_type())
glib.Type values for lsmmathmltablerowelement.go.
var GTypeMathMLUnderOverElement = externglib.Type(C.lsm_mathml_under_over_element_get_type())
glib.Type values for lsmmathmlunderoverelement.go.
var GTypeMathMLView = externglib.Type(C.lsm_mathml_view_get_type())
glib.Type values for lsmmathmlview.go.
var GTypePropertyManager = externglib.Type(C.lsm_property_manager_get_type())
glib.Type values for lsmproperties.go.
var GTypeSVGAElement = externglib.Type(C.lsm_svg_a_element_get_type())
glib.Type values for lsmsvgaelement.go.
var GTypeSVGCircleElement = externglib.Type(C.lsm_svg_circle_element_get_type())
glib.Type values for lsmsvgcircleelement.go.
var GTypeSVGClipPathElement = externglib.Type(C.lsm_svg_clip_path_element_get_type())
glib.Type values for lsmsvgclippathelement.go.
var GTypeSVGDefsElement = externglib.Type(C.lsm_svg_defs_element_get_type())
glib.Type values for lsmsvgdefselement.go.
var GTypeSVGDocument = externglib.Type(C.lsm_svg_document_get_type())
glib.Type values for lsmsvgdocument.go.
var GTypeSVGElement = externglib.Type(C.lsm_svg_element_get_type())
glib.Type values for lsmsvgelement.go.
var GTypeSVGEllipseElement = externglib.Type(C.lsm_svg_ellipse_element_get_type())
glib.Type values for lsmsvgellipseelement.go.
var GTypeSVGFilterBlend = externglib.Type(C.lsm_svg_filter_blend_get_type())
glib.Type values for lsmsvgfilterblend.go.
var GTypeSVGFilterColorMatrix = externglib.Type(C.lsm_svg_filter_color_matrix_get_type())
glib.Type values for lsmsvgfiltercolormatrix.go.
var GTypeSVGFilterComposite = externglib.Type(C.lsm_svg_filter_composite_get_type())
glib.Type values for lsmsvgfiltercomposite.go.
var GTypeSVGFilterConvolveMatrix = externglib.Type(C.lsm_svg_filter_convolve_matrix_get_type())
glib.Type values for lsmsvgfilterconvolvematrix.go.
var GTypeSVGFilterDisplacementMap = externglib.Type(C.lsm_svg_filter_displacement_map_get_type())
glib.Type values for lsmsvgfilterdisplacementmap.go.
var GTypeSVGFilterElement = externglib.Type(C.lsm_svg_filter_element_get_type())
glib.Type values for lsmsvgfilterelement.go.
var GTypeSVGFilterFlood = externglib.Type(C.lsm_svg_filter_flood_get_type())
glib.Type values for lsmsvgfilterflood.go.
var GTypeSVGFilterGaussianBlur = externglib.Type(C.lsm_svg_filter_gaussian_blur_get_type())
glib.Type values for lsmsvgfiltergaussianblur.go.
var GTypeSVGFilterImage = externglib.Type(C.lsm_svg_filter_image_get_type())
glib.Type values for lsmsvgfilterimage.go.
var GTypeSVGFilterMerge = externglib.Type(C.lsm_svg_filter_merge_get_type())
glib.Type values for lsmsvgfiltermerge.go.
var GTypeSVGFilterMergeNode = externglib.Type(C.lsm_svg_filter_merge_node_get_type())
glib.Type values for lsmsvgfiltermergenode.go.
var GTypeSVGFilterMorphology = externglib.Type(C.lsm_svg_filter_morphology_get_type())
glib.Type values for lsmsvgfiltermorphology.go.
var GTypeSVGFilterOffset = externglib.Type(C.lsm_svg_filter_offset_get_type())
glib.Type values for lsmsvgfilteroffset.go.
var GTypeSVGFilterPrimitive = externglib.Type(C.lsm_svg_filter_primitive_get_type())
glib.Type values for lsmsvgfilterprimitive.go.
var GTypeSVGFilterSpecularLighting = externglib.Type(C.lsm_svg_filter_specular_lighting_get_type())
glib.Type values for lsmsvgfilterspecularlighting.go.
var GTypeSVGFilterSurface = externglib.Type(C.lsm_svg_filter_surface_get_type())
glib.Type values for lsmsvgfiltersurface.go.
var GTypeSVGFilterTile = externglib.Type(C.lsm_svg_filter_tile_get_type())
glib.Type values for lsmsvgfiltertile.go.
var GTypeSVGFilterTurbulence = externglib.Type(C.lsm_svg_filter_turbulence_get_type())
glib.Type values for lsmsvgfilterturbulence.go.
var GTypeSVGGElement = externglib.Type(C.lsm_svg_g_element_get_type())
glib.Type values for lsmsvggelement.go.
var GTypeSVGGradientElement = externglib.Type(C.lsm_svg_gradient_element_get_type())
glib.Type values for lsmsvggradientelement.go.
var GTypeSVGImageElement = externglib.Type(C.lsm_svg_image_element_get_type())
glib.Type values for lsmsvgimageelement.go.
var GTypeSVGLineElement = externglib.Type(C.lsm_svg_line_element_get_type())
glib.Type values for lsmsvglineelement.go.
var GTypeSVGLinearGradientElement = externglib.Type(C.lsm_svg_linear_gradient_element_get_type())
glib.Type values for lsmsvglineargradientelement.go.
var GTypeSVGMarkerElement = externglib.Type(C.lsm_svg_marker_element_get_type())
glib.Type values for lsmsvgmarkerelement.go.
var GTypeSVGMaskElement = externglib.Type(C.lsm_svg_mask_element_get_type())
glib.Type values for lsmsvgmaskelement.go.
var GTypeSVGPathElement = externglib.Type(C.lsm_svg_path_element_get_type())
glib.Type values for lsmsvgpathelement.go.
var GTypeSVGPatternElement = externglib.Type(C.lsm_svg_pattern_element_get_type())
glib.Type values for lsmsvgpatternelement.go.
var GTypeSVGPolygonElement = externglib.Type(C.lsm_svg_polygon_element_get_type())
glib.Type values for lsmsvgpolygonelement.go.
var GTypeSVGPolylineElement = externglib.Type(C.lsm_svg_polyline_element_get_type())
glib.Type values for lsmsvgpolylineelement.go.
var GTypeSVGRadialGradientElement = externglib.Type(C.lsm_svg_radial_gradient_element_get_type())
glib.Type values for lsmsvgradialgradientelement.go.
var GTypeSVGRectElement = externglib.Type(C.lsm_svg_rect_element_get_type())
glib.Type values for lsmsvgrectelement.go.
var GTypeSVGStopElement = externglib.Type(C.lsm_svg_stop_element_get_type())
glib.Type values for lsmsvgstopelement.go.
var GTypeSVGSvgElement = externglib.Type(C.lsm_svg_svg_element_get_type())
glib.Type values for lsmsvgsvgelement.go.
var GTypeSVGSwitchElement = externglib.Type(C.lsm_svg_switch_element_get_type())
glib.Type values for lsmsvgswitchelement.go.
var GTypeSVGSymbolElement = externglib.Type(C.lsm_svg_symbol_element_get_type())
glib.Type values for lsmsvgsymbolelement.go.
var GTypeSVGTextElement = externglib.Type(C.lsm_svg_text_element_get_type())
glib.Type values for lsmsvgtextelement.go.
var GTypeSVGTransformable = externglib.Type(C.lsm_svg_transformable_get_type())
glib.Type values for lsmsvgtransformable.go.
var GTypeSVGTspanElement = externglib.Type(C.lsm_svg_tspan_element_get_type())
glib.Type values for lsmsvgtspanelement.go.
var GTypeSVGUseElement = externglib.Type(C.lsm_svg_use_element_get_type())
glib.Type values for lsmsvguseelement.go.
var GTypeSVGView = externglib.Type(C.lsm_svg_view_get_type())
glib.Type values for lsmsvgview.go.
Functions ¶
func CairoEllipticalArc ¶
func CairoEllipticalArc(cairo *cairo.Context, rx, ry, xAxisRotation float64, largeArcFlag, sweepFlag bool, x, y float64)
The function takes the following parameters:
- cairo
- rx
- ry
- xAxisRotation
- largeArcFlag
- sweepFlag
- x
- y
func CairoRelEllipticalArc ¶
func CairoRelEllipticalArc(cairo *cairo.Context, rx, ry, xAxisRotation float64, largeArcFlag, sweepFlag bool, dx, dy float64)
The function takes the following parameters:
- cairo
- rx
- ry
- xAxisRotation
- largeArcFlag
- sweepFlag
- dx
- dy
func CairoSetSourcePixbuf ¶
CairoSetSourcePixbuf sets the given pixbuf as the source pattern for cairo.
The pattern has an extend mode of CAIRO_EXTEND_NONE and is aligned so that the origin of pixbuf is pixbuf_x, pixbuf_y.
The function takes the following parameters:
- cairo context.
- pixbuf: Pixbuf.
- pixbufX: x coordinate of location to place upper left corner of pixbuf.
- pixbufY: y coordinate of location to place upper left corner of pixbuf.
func DOMGetEntity ¶
The function takes the following parameters:
The function returns the following values:
func DOMImplementationCleanup ¶
func DOMImplementationCleanup()
func DebugEnable ¶
func DebugEnable(categorySelection string)
The function takes the following parameters:
func ItexFreeMathMLBuffer ¶
func ItexFreeMathMLBuffer(mathml string)
ItexFreeMathMLBuffer: free the buffer returned by lsm_itex_to_mathml.
The function takes the following parameters:
- mathml (optional) buffer.
func ItexToMathML ¶
ItexToMathML converts an itex string to a Mathml representation.
The function takes the following parameters:
- itex (optional) string.
The function returns the following values:
- utf8: newly allocated string, NULL on parse error. The returned data must be freed using lsm_itex_free_mathml_buffer.
func MathMLColumnAlignToString ¶
func MathMLColumnAlignToString(columnAlign MathMLColumnAlign) string
The function takes the following parameters:
The function returns the following values:
func MathMLDisplayToString ¶
func MathMLDisplayToString(display MathMLDisplay) string
The function takes the following parameters:
The function returns the following values:
func MathMLFontStyleToString ¶
func MathMLFontStyleToString(fontStyle MathMLFontStyle) string
The function takes the following parameters:
The function returns the following values:
func MathMLFontWeightToString ¶
func MathMLFontWeightToString(fontWeight MathMLFontWeight) string
The function takes the following parameters:
The function returns the following values:
func MathMLFormToString ¶
func MathMLFormToString(form MathMLForm) string
The function takes the following parameters:
The function returns the following values:
func MathMLGlyphTableGetOperatorSlant ¶
The function takes the following parameters:
The function returns the following values:
func MathMLLayoutSubSup ¶
func MathMLLayoutSubSup(parent MathMLElementer, view *MathMLView, x, y float64, base, subscript, superscript MathMLElementer, subscriptOffset, superscriptOffset float64)
The function takes the following parameters:
- parent
- view
- x
- y
- base
- subscript
- superscript
- subscriptOffset
- superscriptOffset
func MathMLLineToString ¶
func MathMLLineToString(line MathMLLine) string
The function takes the following parameters:
The function returns the following values:
func MathMLLinebreakToString ¶
func MathMLLinebreakToString(linebreak MathMLLinebreak) string
The function takes the following parameters:
The function returns the following values:
func MathMLMeasureSubSup ¶
func MathMLMeasureSubSup(parent MathMLElementer, view *MathMLView, base, subscript, superscript MathMLElementer, subscriptOffsetMin, superscriptOffsetMin float64, display MathMLDisplay, stretchBbox, bbox *MathMLBbox, subscriptOffset, superscriptOffset *float64)
The function takes the following parameters:
- parent
- view
- base
- subscript
- superscript
- subscriptOffsetMin
- superscriptOffsetMin
- display
- stretchBbox
- bbox
- subscriptOffset
- superscriptOffset
func MathMLModeToString ¶
func MathMLModeToString(mode MathMLMode) string
The function takes the following parameters:
The function returns the following values:
func MathMLNotationToString ¶
func MathMLNotationToString(notation MathMLNotation) string
The function takes the following parameters:
The function returns the following values:
func MathMLRowAlignToString ¶
func MathMLRowAlignToString(rowAlign MathMLRowAlign) string
The function takes the following parameters:
The function returns the following values:
func MathMLSpaceNameToString ¶
func MathMLSpaceNameToString(name MathMLSpaceName) string
The function takes the following parameters:
The function returns the following values:
func MathMLUnitToString ¶
func MathMLUnitToString(unit MathMLUnit) string
The function takes the following parameters:
The function returns the following values:
func MathMLVariantSetFontStyle ¶
func MathMLVariantSetFontStyle(variant *MathMLVariant, style MathMLFontStyle)
The function takes the following parameters:
- variant
- style
func MathMLVariantSetFontWeight ¶
func MathMLVariantSetFontWeight(variant *MathMLVariant, weight MathMLFontWeight)
The function takes the following parameters:
- variant
- weight
func MathMLVariantToString ¶
func MathMLVariantToString(variant MathMLVariant) string
The function takes the following parameters:
The function returns the following values:
func SVGAlignToString ¶
The function takes the following parameters:
The function returns the following values:
func SVGBlendingModeToString ¶
func SVGBlendingModeToString(blendingMode SVGBlendingMode) string
The function takes the following parameters:
The function returns the following values:
func SVGChannelSelectorToString ¶
func SVGChannelSelectorToString(channelSelector SVGChannelSelector) string
The function takes the following parameters:
The function returns the following values:
func SVGColorFilterTypeToString ¶
func SVGColorFilterTypeToString(typ SVGColorFilterType) string
The function takes the following parameters:
The function returns the following values:
func SVGColorFromString ¶
The function takes the following parameters:
The function returns the following values:
func SVGCompOpToString ¶
The function takes the following parameters:
The function returns the following values:
func SVGDisplayToString ¶
func SVGDisplayToString(display SVGDisplay) string
The function takes the following parameters:
The function returns the following values:
func SVGEdgeModeToString ¶
func SVGEdgeModeToString(edgeMode SVGEdgeMode) string
The function takes the following parameters:
The function returns the following values:
func SVGEnableBackgroundToString ¶
func SVGEnableBackgroundToString(enableBackground SVGEnableBackground) string
The function takes the following parameters:
The function returns the following values:
func SVGFillRuleToString ¶
func SVGFillRuleToString(fillRule SVGFillRule) string
The function takes the following parameters:
The function returns the following values:
func SVGFontStretchToString ¶
func SVGFontStretchToString(fontStretch SVGFontStretch) string
The function takes the following parameters:
The function returns the following values:
func SVGFontStyleToString ¶
func SVGFontStyleToString(fontStyle SVGFontStyle) string
The function takes the following parameters:
The function returns the following values:
func SVGFontWeightToString ¶
func SVGFontWeightToString(fontWeight SVGFontWeight) string
The function takes the following parameters:
The function returns the following values:
func SVGLengthTypeToString ¶
func SVGLengthTypeToString(lengthType SVGLengthType) string
The function takes the following parameters:
The function returns the following values:
func SVGLineCapToString ¶
func SVGLineCapToString(lineCap SVGLineCap) string
The function takes the following parameters:
The function returns the following values:
func SVGLineJoinToString ¶
func SVGLineJoinToString(lineJoin SVGLineJoin) string
The function takes the following parameters:
The function returns the following values:
func SVGMarkerUnitsToString ¶
func SVGMarkerUnitsToString(units SVGMarkerUnits) string
The function takes the following parameters:
The function returns the following values:
func SVGMeetOrSliceToString ¶
func SVGMeetOrSliceToString(meetOrSlice SVGMeetOrSlice) string
The function takes the following parameters:
The function returns the following values:
func SVGMorphologyOperatorToString ¶
func SVGMorphologyOperatorToString(morpholoyOperator SVGMorphologyOperator) string
The function takes the following parameters:
The function returns the following values:
func SVGOverflowToString ¶
func SVGOverflowToString(overflow SVGOverflow) string
The function takes the following parameters:
The function returns the following values:
func SVGPatternUnitsToString ¶
func SVGPatternUnitsToString(units SVGPatternUnits) string
The function takes the following parameters:
The function returns the following values:
func SVGPropertyBagClean ¶
func SVGPropertyBagClean(propertyBag *PropertyBag)
The function takes the following parameters:
func SVGPropertyBagGetProperty ¶
func SVGPropertyBagGetProperty(propertyBag *PropertyBag, name string) string
The function takes the following parameters:
- propertyBag
- name
The function returns the following values:
func SVGPropertyBagSerialize ¶
func SVGPropertyBagSerialize(propertyBag *PropertyBag) string
The function takes the following parameters:
The function returns the following values:
func SVGPropertyBagSetProperty ¶
func SVGPropertyBagSetProperty(propertyBag *PropertyBag, name, value string)
The function takes the following parameters:
- propertyBag
- name
- value
func SVGSpreadMethodToString ¶
func SVGSpreadMethodToString(method SVGSpreadMethod) string
The function takes the following parameters:
The function returns the following values:
func SVGStitchTilesToString ¶
func SVGStitchTilesToString(stitchTiles SVGStitchTiles) string
The function takes the following parameters:
The function returns the following values:
func SVGTextAnchorToString ¶
func SVGTextAnchorToString(textAnchor SVGTextAnchor) string
The function takes the following parameters:
The function returns the following values:
func SVGTurbulenceTypeToString ¶
func SVGTurbulenceTypeToString(turbulenceType SVGTurbulenceType) string
The function takes the following parameters:
The function returns the following values:
func SVGVisibilityToString ¶
func SVGVisibilityToString(visibility SVGVisibility) string
The function takes the following parameters:
The function returns the following values:
func SVGWritingModeToString ¶
func SVGWritingModeToString(writingMode SVGWritingMode) string
The function takes the following parameters:
The function returns the following values:
func StrIsURI ¶
The function takes the following parameters:
The function returns the following values:
Types ¶
type Attribute ¶
type Attribute struct {
// contains filtered or unexported fields
}
Attribute: instance of this type is always passed by reference.
type AttributeInfos ¶
type AttributeInfos struct {
// contains filtered or unexported fields
}
AttributeInfos: instance of this type is always passed by reference.
type AttributeManager ¶
type AttributeManager struct {
// contains filtered or unexported fields
}
AttributeManager: instance of this type is always passed by reference.
func NewAttributeManager ¶
func NewAttributeManager(nAttributes uint, attributeInfos *AttributeInfos) *AttributeManager
NewAttributeManager constructs a struct AttributeManager.
func (*AttributeManager) AddAttributes ¶
func (manager *AttributeManager) AddAttributes(nAttributes uint, attributeInfos *AttributeInfos)
The function takes the following parameters:
- nAttributes
- attributeInfos
func (*AttributeManager) Duplicate ¶
func (origin *AttributeManager) Duplicate() *AttributeManager
The function returns the following values:
type Box ¶
type Box struct {
// contains filtered or unexported fields
}
Box: instance of this type is always passed by reference.
type DOMCharacterData ¶
type DOMCharacterData struct { DOMNode // contains filtered or unexported fields }
func BaseDOMCharacterData ¶
func BaseDOMCharacterData(obj DOMCharacterDatar) *DOMCharacterData
BaseDOMCharacterData returns the underlying base object.
func (*DOMCharacterData) Data ¶
func (self *DOMCharacterData) Data() string
Data: get the character node data.
The function returns the following values:
- utf8: character node data.
func (*DOMCharacterData) SetData ¶
func (self *DOMCharacterData) SetData(value string)
SetData: set the character node data.
The function takes the following parameters:
- value: new node data.
type DOMCharacterDataOverrider ¶
type DOMCharacterDataOverrider interface { }
DOMCharacterDataOverrider contains methods that are overridable.
type DOMCharacterDatar ¶
type DOMCharacterDatar interface { externglib.Objector // contains filtered or unexported methods }
DOMCharacterDatar describes types inherited from class DOMCharacterData.
To get the original type, the caller must assert this to an interface or another type.
type DOMDocument ¶
type DOMDocument struct { DOMNode // contains filtered or unexported fields }
func BaseDOMDocument ¶
func BaseDOMDocument(obj DOMDocumenter) *DOMDocument
BaseDOMDocument returns the underlying base object.
func NewDOMDocumentFromMemory ¶
func NewDOMDocumentFromMemory(buffer string) (*DOMDocument, error)
NewDOMDocumentFromMemory: create a new document from a memory data buffer.
The function takes the following parameters:
- buffer: xml data.
The function returns the following values:
func NewDOMDocumentFromPath ¶
func NewDOMDocumentFromPath(path string) (*DOMDocument, error)
NewDOMDocumentFromPath: create a new document from the data stored in path.
The function takes the following parameters:
- path: file path.
The function returns the following values:
func NewDOMDocumentFromURL ¶
func NewDOMDocumentFromURL(url string) (*DOMDocument, error)
NewDOMDocumentFromURL: create a new document from the data stored at url.
The function takes the following parameters:
- url: file url.
The function returns the following values:
func (*DOMDocument) AppendFromMemory ¶
func (document *DOMDocument) AppendFromMemory(node DOMNoder, buffer string) error
AppendFromMemory: append a chunk of xml tree to an existing document. The resulting nodes will be appended to node, or to document if node == NULL.
Size set to -1 indicates the buffer is NULL terminated.
The function takes the following parameters:
- node: DomNode.
- buffer: memory buffer holding xml data.
func (*DOMDocument) CreateElement ¶
func (self *DOMDocument) CreateElement(tagName string) DOMElementer
CreateElement: create a new element node with a type corresponding to tag_name.
The function takes the following parameters:
- tagName: name of the element to create.
The function returns the following values:
- domElement: newly created DomElement.
func (*DOMDocument) CreateTextNode ¶
func (self *DOMDocument) CreateTextNode(data string) *DOMText
CreateTextNode: create a text node with data as its initial content.
The function takes the following parameters:
- data: content of the text node.
The function returns the following values:
- domText: newly created DomText.
func (*DOMDocument) CreateView ¶
func (self *DOMDocument) CreateView() DOMViewer
CreateView: create a DomView for document rendering.
The function returns the following values:
- domView: new DomView.
func (*DOMDocument) DocumentElement ¶
func (self *DOMDocument) DocumentElement() DOMElementer
DocumentElement: get the child node that is the root element of the document.
The function returns the following values:
- domElement: document element.
func (*DOMDocument) SaveToMemory ¶
func (document *DOMDocument) SaveToMemory() (string, uint, error)
SaveToMemory: save document as an xml representation into buffer.
The function returns the following values:
- buffer: placeholder for a pointer to the resulting data buffer.
- size (optional): placeholder for the data size.
func (*DOMDocument) SaveToPath ¶
func (document *DOMDocument) SaveToPath(path string) error
SaveToPath: save document as an xml representation to a file, replacing the already existing file if needed.
The function takes the following parameters:
- path: file path.
func (*DOMDocument) SaveToStream ¶
func (document *DOMDocument) SaveToStream(stream gio.OutputStreamer) error
SaveToStream: save document as an xml representation into stream.
The function takes the following parameters:
- stream to save to.
func (*DOMDocument) SaveToURL ¶
func (document *DOMDocument) SaveToURL(url string) error
SaveToURL: save document as an xml representation to url, replacing the already existing file if needed.
The function takes the following parameters:
- url: url.
func (*DOMDocument) SetPath ¶
func (self *DOMDocument) SetPath(path string)
The function takes the following parameters:
func (*DOMDocument) SetURL ¶
func (self *DOMDocument) SetURL(url string)
The function takes the following parameters:
func (*DOMDocument) URL ¶
func (self *DOMDocument) URL() string
URL: get document URL.
The function returns the following values:
- utf8: document URL.
type DOMDocumentFragment ¶
type DOMDocumentFragment struct { DOMNode // contains filtered or unexported fields }
func BaseDOMDocumentFragment ¶
func BaseDOMDocumentFragment(obj DOMDocumentFragmenter) *DOMDocumentFragment
BaseDOMDocumentFragment returns the underlying base object.
func NewDOMDocumentFragment ¶
func NewDOMDocumentFragment() *DOMDocumentFragment
The function returns the following values:
type DOMDocumentFragmentOverrider ¶
type DOMDocumentFragmentOverrider interface { }
DOMDocumentFragmentOverrider contains methods that are overridable.
type DOMDocumentFragmenter ¶
type DOMDocumentFragmenter interface { externglib.Objector // contains filtered or unexported methods }
DOMDocumentFragmenter describes types inherited from class DOMDocumentFragment.
To get the original type, the caller must assert this to an interface or another type.
type DOMDocumentOverrider ¶
type DOMDocumentOverrider interface { // CreateElement: create a new element node with a type corresponding to // tag_name. // // The function takes the following parameters: // // - tagName: name of the element to create. // // The function returns the following values: // // - domElement: newly created DomElement. // CreateElement(tagName string) DOMElementer // CreateTextNode: create a text node with data as its initial content. // // The function takes the following parameters: // // - data: content of the text node. // // The function returns the following values: // // - domText: newly created DomText. // CreateTextNode(data string) *DOMText // CreateView: create a DomView for document rendering. // // The function returns the following values: // // - domView: new DomView. // CreateView() DOMViewer // DocumentElement: get the child node that is the root element of the // document. // // The function returns the following values: // // - domElement: document element. // DocumentElement() DOMElementer }
DOMDocumentOverrider contains methods that are overridable.
type DOMDocumenter ¶
type DOMDocumenter interface { externglib.Objector // contains filtered or unexported methods }
DOMDocumenter describes types inherited from class DOMDocument.
To get the original type, the caller must assert this to an interface or another type.
func DOMImplementationCreateDocument ¶
func DOMImplementationCreateDocument(namespaceUri, qualifiedName string) DOMDocumenter
The function takes the following parameters:
- namespaceUri: namespace uri.
- qualifiedName: qualified name.
The function returns the following values:
- domDocument: new DomDocument.
type DOMElement ¶
type DOMElement struct { DOMNode // contains filtered or unexported fields }
func BaseDOMElement ¶
func BaseDOMElement(obj DOMElementer) *DOMElement
BaseDOMElement returns the underlying base object.
func (*DOMElement) Attribute ¶
func (self *DOMElement) Attribute(name string) string
The function takes the following parameters:
- name: attribute name.
The function returns the following values:
- utf8: attribute value, as string.
func (*DOMElement) SetAttribute ¶
func (self *DOMElement) SetAttribute(name, attributeValue string)
SetAttribute: set the atribute value.
The function takes the following parameters:
- name: attribute name.
- attributeValue: attribute value as string.
func (*DOMElement) TagName ¶
func (self *DOMElement) TagName() string
The function returns the following values:
- utf8: element tag name.
type DOMElementOverrider ¶
type DOMElementOverrider interface { // The function takes the following parameters: // // - name: attribute name. // // The function returns the following values: // // - utf8: attribute value, as string. // Attribute(name string) string // The function returns the following values: // SerializedAttributes() string // SetAttribute: set the atribute value. // // The function takes the following parameters: // // - name: attribute name. // - attributeValue: attribute value as string. // SetAttribute(name, attributeValue string) }
DOMElementOverrider contains methods that are overridable.
type DOMElementer ¶
type DOMElementer interface { externglib.Objector // contains filtered or unexported methods }
DOMElementer describes types inherited from class DOMElement.
To get the original type, the caller must assert this to an interface or another type.
type DOMNamedNodeMap ¶
type DOMNamedNodeMap struct { *externglib.Object // contains filtered or unexported fields }
func BaseDOMNamedNodeMap ¶
func BaseDOMNamedNodeMap(obj DOMNamedNodeMapper) *DOMNamedNodeMap
BaseDOMNamedNodeMap returns the underlying base object.
func (*DOMNamedNodeMap) Item ¶
func (_map *DOMNamedNodeMap) Item(index uint) DOMNoder
The function takes the following parameters:
- index: item index.
The function returns the following values:
- domNode: node corresponding to index, NULL on error.
func (*DOMNamedNodeMap) Length ¶
func (_map *DOMNamedNodeMap) Length() uint
The function returns the following values:
func (*DOMNamedNodeMap) NamedItem ¶
func (_map *DOMNamedNodeMap) NamedItem(name string) DOMNoder
The function takes the following parameters:
- name of the requested item.
The function returns the following values:
- domNode: corresponding node, NULL if not found.
func (*DOMNamedNodeMap) RemoveNamedItem ¶
func (_map *DOMNamedNodeMap) RemoveNamedItem(name string) DOMNoder
The function takes the following parameters:
- name of the item to remove.
The function returns the following values:
- domNode: removed node, NULL on error.
func (*DOMNamedNodeMap) SetNamedItem ¶
func (_map *DOMNamedNodeMap) SetNamedItem(node DOMNoder) DOMNoder
The function takes the following parameters:
- node: DomNode.
The function returns the following values:
- domNode: same as node, NULL on error.
type DOMNamedNodeMapOverrider ¶
type DOMNamedNodeMapOverrider interface { // The function takes the following parameters: // // - index: item index. // // The function returns the following values: // // - domNode: node corresponding to index, NULL on error. // Item(index uint) DOMNoder // The function returns the following values: // Length() uint }
DOMNamedNodeMapOverrider contains methods that are overridable.
type DOMNamedNodeMapper ¶
type DOMNamedNodeMapper interface { externglib.Objector // contains filtered or unexported methods }
DOMNamedNodeMapper describes types inherited from class DOMNamedNodeMap.
To get the original type, the caller must assert this to an interface or another type.
type DOMNode ¶
type DOMNode struct { *externglib.Object // contains filtered or unexported fields }
func BaseDOMNode ¶
BaseDOMNode returns the underlying base object.
func (*DOMNode) AppendChild ¶
AppendChild adds the node new_child to the end of the list of children of this node. If the new_child is already in the tree, it is first removed.
The function takes the following parameters:
- newChild: node to append.
The function returns the following values:
- domNode: added node.
func (*DOMNode) ChildNodes ¶
func (self *DOMNode) ChildNodes() DOMNodeLister
The function returns the following values:
- domNodeList: node child list.
func (*DOMNode) HasChildNodes ¶
The function returns the following values:
func (*DOMNode) InsertBefore ¶
InsertBefore inserts the node new_child before the existing child node ref_child. If ref_child is null, insert new_child at the end of the list of children. If the new_child is already in the tree, it is first removed.
The function takes the following parameters:
- newChild: node to insert.
- refChild: reference node, i.e., the node before which the new node must be inserted.
The function returns the following values:
- domNode: inserted node.
func (*DOMNode) NextSibling ¶
The function returns the following values:
- domNode: node next sibling.
func (*DOMNode) NodeName ¶
NodeName gets the node name.
The function returns the following values:
- utf8: node name.
func (*DOMNode) NodeType ¶
func (self *DOMNode) NodeType() DOMNodeType
The function returns the following values:
func (*DOMNode) NodeValue ¶
NodeValue gets the node value.
The function returns the following values:
- utf8: node value.
func (*DOMNode) OwnerDocument ¶
func (self *DOMNode) OwnerDocument() DOMDocumenter
The function returns the following values:
- domDocument: node owner document.
func (*DOMNode) PreviousSibling ¶
The function returns the following values:
- domNode: node previous sibling.
func (*DOMNode) RemoveChild ¶
RemoveChild removes the child node indicated by old_child from the list of children, and returns it.
The function takes the following parameters:
- oldChild: node to remove.
The function returns the following values:
- domNode: removed node.
func (*DOMNode) ReplaceChild ¶
ReplaceChild replaces the child node old_child with new_child in the list of children, and returns the old_child node. If the new_child is already in the tree, it is first removed.
The function takes the following parameters:
- newChild: replacement node.
- oldChild: node to replace.
The function returns the following values:
- domNode: replaced node.
func (*DOMNode) SetNodeValue ¶
The function takes the following parameters:
func (*DOMNode) WriteToStream ¶
The function takes the following parameters:
type DOMNodeList ¶
type DOMNodeList struct { *externglib.Object // contains filtered or unexported fields }
func BaseDOMNodeList ¶
func BaseDOMNodeList(obj DOMNodeLister) *DOMNodeList
BaseDOMNodeList returns the underlying base object.
func (*DOMNodeList) Item ¶
func (list *DOMNodeList) Item(index uint) DOMNoder
The function takes the following parameters:
- index: id of the item to retrieve.
The function returns the following values:
- domNode: node corresponding to index, NULL on error.
func (*DOMNodeList) Length ¶
func (list *DOMNodeList) Length() uint
The function returns the following values:
type DOMNodeListOverrider ¶
type DOMNodeListOverrider interface { // The function takes the following parameters: // // - index: id of the item to retrieve. // // The function returns the following values: // // - domNode: node corresponding to index, NULL on error. // Item(index uint) DOMNoder // The function returns the following values: // Length() uint }
DOMNodeListOverrider contains methods that are overridable.
type DOMNodeLister ¶
type DOMNodeLister interface { externglib.Objector // contains filtered or unexported methods }
DOMNodeLister describes types inherited from class DOMNodeList.
To get the original type, the caller must assert this to an interface or another type.
type DOMNodeOverrider ¶
type DOMNodeOverrider interface { // The function takes the following parameters: // // The function returns the following values: // CanAppendChild(newChild DOMNoder) bool Changed() // The function takes the following parameters: // // The function returns the following values: // ChildChanged(child DOMNoder) bool // NodeName gets the node name. // // The function returns the following values: // // - utf8: node name. // NodeName() string // The function returns the following values: // NodeType() DOMNodeType // NodeValue gets the node value. // // The function returns the following values: // // - utf8: node value. // NodeValue() string // The function takes the following parameters: // PostNewChild(child DOMNoder) // The function takes the following parameters: // PreRemoveChild(child DOMNoder) // The function takes the following parameters: // SetNodeValue(newValue string) // The function takes the following parameters: // WriteToStream(stream gio.OutputStreamer) error }
DOMNodeOverrider contains methods that are overridable.
type DOMNodeType ¶
const ( DOMNodeTypeElementNode DOMNodeType = 1 DOMNodeTypeAttributeNode DOMNodeType = 2 DOMNodeTypeTextNode DOMNodeType = 3 DOMNodeTypeCdataSectionNode DOMNodeType = 4 DOMNodeTypeEntityReferenceNode DOMNodeType = 5 DOMNodeTypeEntityNode DOMNodeType = 6 DOMNodeTypeProcessingInstructionNode DOMNodeType = 7 DOMNodeTypeCommentNode DOMNodeType = 8 DOMNodeTypeDocumentNode DOMNodeType = 9 DOMNodeTypeDocumentTypeNode DOMNodeType = 10 DOMNodeTypeDocumentFragmentNode DOMNodeType = 11 DOMNodeTypeNotationNode DOMNodeType = 12 )
func (DOMNodeType) String ¶
func (d DOMNodeType) String() string
String returns the name in string for DOMNodeType.
type DOMNoder ¶
type DOMNoder interface { externglib.Objector // contains filtered or unexported methods }
DOMNoder describes types inherited from class DOMNode.
To get the original type, the caller must assert this to an interface or another type.
type DOMText ¶
type DOMText struct { DOMCharacterData // contains filtered or unexported fields }
func NewDOMText ¶
The function takes the following parameters:
The function returns the following values:
type DOMTextOverrider ¶
type DOMTextOverrider interface { }
DOMTextOverrider contains methods that are overridable.
type DOMView ¶
type DOMView struct { *externglib.Object // contains filtered or unexported fields }
func BaseDOMView ¶
BaseDOMView returns the underlying base object.
func (*DOMView) Render ¶
Render view in the cairo context.
The function takes the following parameters:
- cairo context.
- x posiiton for rendering.
- y position for rendering.
func (*DOMView) Resolution ¶
The function returns the following values:
- gdouble: view resolution, in pixel per inch.
func (*DOMView) SetDebug ¶
SetDebug: configure feature debug.
The function takes the following parameters:
- feature: name of the feature to debug.
- enable: wether to enable debugging.
func (*DOMView) SetDocument ¶
func (view *DOMView) SetDocument(document DOMDocumenter)
SetDocument: change the document attached to view. The previously attached document is unreferenced.
The function takes the following parameters:
- document: DomDocument.
func (*DOMView) SetResolution ¶
SetResolution: set the view resolution, in pixel per inch.
The function takes the following parameters:
- ppi: resolution, in pixel per inch.
func (*DOMView) SetViewport ¶
SetViewport: set the viewport size.
The function takes the following parameters:
- viewportPt: viewport size, in points.
func (*DOMView) SetViewportPixels ¶
SetViewportPixels: set the viewport size.
The function takes the following parameters:
- viewport size, in pixels.
func (*DOMView) Size ¶
Size: get the view size and baseline. Baseline is for use of view inside bloc of text.
The function returns the following values:
- width (optional): view width placeholder, in points.
- height (optional): view height placeholder, in points.
- baseline (optional): view baseline, in points.
func (*DOMView) SizePixels ¶
SizePixels: get the view size and baseline. Baseline is for use of view inside bloc of text.
The function returns the following values:
- width (optional): view width placeholder, in pixels.
- height (optional): view height placeholder, in pixels.
- baseline (optional): view baseline, in pixels.
func (*DOMView) Viewport ¶
The function returns the following values:
- box: viewport size, in points.
func (*DOMView) ViewportPixels ¶
The function returns the following values:
- box: viewport size, in pixels.
type DOMViewOverrider ¶
type DOMViewOverrider interface { // The function takes the following parameters: // // - width // - height // - baseline // Measure(width, height, baseline *float64) Render() // SetDebug: configure feature debug. // // The function takes the following parameters: // // - feature: name of the feature to debug. // - enable: wether to enable debugging. // SetDebug(feature string, enable bool) }
DOMViewOverrider contains methods that are overridable.
type DOMViewer ¶
type DOMViewer interface { externglib.Objector // contains filtered or unexported methods }
DOMViewer describes types inherited from class DOMView.
To get the original type, the caller must assert this to an interface or another type.
type DebugLevel ¶
const ( DebugLevelNone DebugLevel = iota DebugLevelWarning DebugLevelDebug DebugLevelLog DebugLevelCount )
func (DebugLevel) String ¶
func (d DebugLevel) String() string
String returns the name in string for DebugLevel.
type Extents ¶
type Extents struct {
// contains filtered or unexported fields
}
Extents: instance of this type is always passed by reference.
func NewExtents ¶
NewExtents creates a new Extents instance from the given fields.
type MathMLActionElement ¶
type MathMLActionElement struct { MathMLPresentationContainer // contains filtered or unexported fields }
func NewMathMLActionElement ¶
func NewMathMLActionElement() *MathMLActionElement
The function returns the following values:
type MathMLActionElementOverrider ¶
type MathMLActionElementOverrider interface { }
MathMLActionElementOverrider contains methods that are overridable.
type MathMLAlignGroupElement ¶
type MathMLAlignGroupElement struct { MathMLElement // contains filtered or unexported fields }
func NewMathMLAlignGroupElement ¶
func NewMathMLAlignGroupElement() *MathMLAlignGroupElement
The function returns the following values:
type MathMLAlignGroupElementOverrider ¶
type MathMLAlignGroupElementOverrider interface { }
MathMLAlignGroupElementOverrider contains methods that are overridable.
type MathMLAlignMarkElement ¶
type MathMLAlignMarkElement struct { MathMLElement // contains filtered or unexported fields }
func NewMathMLAlignMarkElement ¶
func NewMathMLAlignMarkElement() *MathMLAlignMarkElement
The function returns the following values:
type MathMLAlignMarkElementOverrider ¶
type MathMLAlignMarkElementOverrider interface { }
MathMLAlignMarkElementOverrider contains methods that are overridable.
type MathMLBbox ¶
type MathMLBbox struct {
// contains filtered or unexported fields
}
MathMLBbox: instance of this type is always passed by reference.
func NewMathMLBbox ¶
func NewMathMLBbox(width, height, depth float64, isDefined bool) MathMLBbox
NewMathMLBbox creates a new MathMLBbox instance from the given fields.
func (*MathMLBbox) AddHorizontally ¶
func (bbox *MathMLBbox) AddHorizontally(newBbox *MathMLBbox)
The function takes the following parameters:
func (*MathMLBbox) AddOver ¶
func (self *MathMLBbox) AddOver(bbox *MathMLBbox)
The function takes the following parameters:
func (*MathMLBbox) AddUnder ¶
func (self *MathMLBbox) AddUnder(bbox *MathMLBbox)
The function takes the following parameters:
func (*MathMLBbox) Depth ¶
func (m *MathMLBbox) Depth() float64
func (*MathMLBbox) Height ¶
func (m *MathMLBbox) Height() float64
func (*MathMLBbox) IsDefined ¶
func (m *MathMLBbox) IsDefined() bool
func (*MathMLBbox) MergeVertically ¶
func (self *MathMLBbox) MergeVertically(bbox *MathMLBbox, offset float64)
The function takes the following parameters:
- bbox
- offset
func (*MathMLBbox) Stretch ¶
func (self *MathMLBbox) Stretch(bbox *MathMLBbox)
The function takes the following parameters:
func (*MathMLBbox) StretchHorizontally ¶
func (self *MathMLBbox) StretchHorizontally(bbox *MathMLBbox)
The function takes the following parameters:
func (*MathMLBbox) StretchVertically ¶
func (self *MathMLBbox) StretchVertically(bbox *MathMLBbox)
The function takes the following parameters:
func (*MathMLBbox) Width ¶
func (m *MathMLBbox) Width() float64
type MathMLBooleanAttribute ¶
type MathMLBooleanAttribute struct {
// contains filtered or unexported fields
}
MathMLBooleanAttribute: instance of this type is always passed by reference.
func (*MathMLBooleanAttribute) Base ¶
func (m *MathMLBooleanAttribute) Base() *Attribute
func (*MathMLBooleanAttribute) Inherit ¶
func (attribute *MathMLBooleanAttribute) Inherit(value bool) bool
The function takes the following parameters:
The function returns the following values:
func (*MathMLBooleanAttribute) Value ¶
func (m *MathMLBooleanAttribute) Value() bool
type MathMLCSSType ¶
const ( MathMLCSSTypeUser MathMLCSSType = iota MathMLCSSTypeAuthor MathMLCSSTypeAuthorImportant MathMLCSSTypeUserImportant )
func (MathMLCSSType) String ¶
func (m MathMLCSSType) String() string
String returns the name in string for MathMLCSSType.
type MathMLColor ¶
type MathMLColor struct {
// contains filtered or unexported fields
}
MathMLColor: instance of this type is always passed by reference.
func NewMathMLColor ¶
func NewMathMLColor(red, green, blue, alpha float64) MathMLColor
NewMathMLColor creates a new MathMLColor instance from the given fields.
func (*MathMLColor) Alpha ¶
func (m *MathMLColor) Alpha() float64
func (*MathMLColor) Blue ¶
func (m *MathMLColor) Blue() float64
func (*MathMLColor) Green ¶
func (m *MathMLColor) Green() float64
func (*MathMLColor) Red ¶
func (m *MathMLColor) Red() float64
type MathMLColorAttribute ¶
type MathMLColorAttribute struct {
// contains filtered or unexported fields
}
MathMLColorAttribute: instance of this type is always passed by reference.
func (*MathMLColorAttribute) Base ¶
func (m *MathMLColorAttribute) Base() *Attribute
func (*MathMLColorAttribute) Color ¶
func (m *MathMLColorAttribute) Color() *MathMLColor
func (*MathMLColorAttribute) Inherit ¶
func (attribute *MathMLColorAttribute) Inherit(value *MathMLColor) *MathMLColor
The function takes the following parameters:
The function returns the following values:
type MathMLColumnAlign ¶
const ( MathMLColumnAlignError MathMLColumnAlign = -1 MathMLColumnAlignCenter MathMLColumnAlign = 0 MathMLColumnAlignLeft MathMLColumnAlign = 1 MathMLColumnAlignRight MathMLColumnAlign = 2 )
func MathMLColumnAlignFromString ¶
func MathMLColumnAlignFromString(str string) MathMLColumnAlign
The function takes the following parameters:
The function returns the following values:
func (MathMLColumnAlign) String ¶
func (m MathMLColumnAlign) String() string
String returns the name in string for MathMLColumnAlign.
type MathMLDisplay ¶
const ( MathMLDisplayError MathMLDisplay = -1 MathMLDisplayBlock MathMLDisplay = 0 MathMLDisplayInline MathMLDisplay = 1 )
func MathMLDisplayFromString ¶
func MathMLDisplayFromString(str string) MathMLDisplay
The function takes the following parameters:
The function returns the following values:
func (MathMLDisplay) String ¶
func (m MathMLDisplay) String() string
String returns the name in string for MathMLDisplay.
type MathMLDocument ¶
type MathMLDocument struct { DOMDocument // contains filtered or unexported fields }
func NewMathMLDocument ¶
func NewMathMLDocument() *MathMLDocument
The function returns the following values:
func NewMathMLDocumentFromItex ¶
func NewMathMLDocumentFromItex(itex string, size int) (*MathMLDocument, error)
The function takes the following parameters:
- itex
- size
The function returns the following values:
func NewMathMLDocumentFromItexPath ¶
func NewMathMLDocumentFromItexPath(url string) (*MathMLDocument, error)
The function takes the following parameters:
The function returns the following values:
func NewMathMLDocumentFromItexURL ¶
func NewMathMLDocumentFromItexURL(url string) (*MathMLDocument, error)
The function takes the following parameters:
The function returns the following values:
type MathMLDocumentOverrider ¶
type MathMLDocumentOverrider interface { }
MathMLDocumentOverrider contains methods that are overridable.
type MathMLDoubleAttribute ¶
type MathMLDoubleAttribute struct {
// contains filtered or unexported fields
}
MathMLDoubleAttribute: instance of this type is always passed by reference.
func (*MathMLDoubleAttribute) Base ¶
func (m *MathMLDoubleAttribute) Base() *Attribute
func (*MathMLDoubleAttribute) Inherit ¶
func (attribute *MathMLDoubleAttribute) Inherit(value float64) float64
The function takes the following parameters:
The function returns the following values:
func (*MathMLDoubleAttribute) Value ¶
func (m *MathMLDoubleAttribute) Value() float64
type MathMLElement ¶
type MathMLElement struct { DOMElement // contains filtered or unexported fields }
func BaseMathMLElement ¶
func BaseMathMLElement(obj MathMLElementer) *MathMLElement
BaseMathMLElement returns the underlying base object.
func (*MathMLElement) Bbox ¶
func (self *MathMLElement) Bbox() *MathMLBbox
The function returns the following values:
func (*MathMLElement) IsInferredRow ¶
func (self *MathMLElement) IsInferredRow() bool
The function returns the following values:
func (*MathMLElement) Layout ¶
func (element *MathMLElement) Layout(view *MathMLView, x, y float64, bbox *MathMLBbox)
The function takes the following parameters:
- view
- x
- y
- bbox
func (*MathMLElement) Measure ¶
func (element *MathMLElement) Measure(view *MathMLView, stretchBbox *MathMLBbox) *MathMLBbox
The function takes the following parameters:
- view
- stretchBbox
The function returns the following values:
func (*MathMLElement) Render ¶
func (element *MathMLElement) Render(view *MathMLView)
The function takes the following parameters:
func (*MathMLElement) Update ¶
func (element *MathMLElement) Update(style *MathMLStyle) bool
Update the actual property of an element and it's children. This function parses the element attributes and also make elements inherit style from their parents.
The function takes the following parameters:
The function returns the following values:
- ok: TRUE if the size of the element has changed and needs to be recalculated.
type MathMLElementOverrider ¶
type MathMLElementOverrider interface { // The function returns the following values: // IsInferredRow() bool // The function takes the following parameters: // // - view // - x // - y // - bbox // Layout(view *MathMLView, x, y float64, bbox *MathMLBbox) // The function takes the following parameters: // // - view // - bbox // // The function returns the following values: // Measure(view *MathMLView, bbox *MathMLBbox) *MathMLBbox // The function takes the following parameters: // Render(view *MathMLView) // The function takes the following parameters: // Update(style *MathMLStyle) // The function takes the following parameters: // // The function returns the following values: // UpdateChildren(style *MathMLStyle) bool }
MathMLElementOverrider contains methods that are overridable.
type MathMLElementStyle ¶
type MathMLElementStyle struct {
// contains filtered or unexported fields
}
MathMLElementStyle: instance of this type is always passed by reference.
func (*MathMLElementStyle) MathBackground ¶
func (m *MathMLElementStyle) MathBackground() *MathMLColor
func (*MathMLElementStyle) MathColor ¶
func (m *MathMLElementStyle) MathColor() *MathMLColor
func (*MathMLElementStyle) MathFamily ¶
func (m *MathMLElementStyle) MathFamily() string
func (*MathMLElementStyle) MathSize ¶
func (m *MathMLElementStyle) MathSize() float64
func (*MathMLElementStyle) MathVariant ¶
func (m *MathMLElementStyle) MathVariant() MathMLVariant
type MathMLElementer ¶
type MathMLElementer interface { externglib.Objector // contains filtered or unexported methods }
MathMLElementer describes types inherited from class MathMLElement.
To get the original type, the caller must assert this to an interface or another type.
type MathMLEncloseElement ¶
type MathMLEncloseElement struct { MathMLPresentationContainer // contains filtered or unexported fields }
func NewMathMLEncloseElement ¶
func NewMathMLEncloseElement() *MathMLEncloseElement
The function returns the following values:
type MathMLEncloseElementOverrider ¶
type MathMLEncloseElementOverrider interface { }
MathMLEncloseElementOverrider contains methods that are overridable.
type MathMLEnumAttribute ¶
type MathMLEnumAttribute struct {
// contains filtered or unexported fields
}
MathMLEnumAttribute: instance of this type is always passed by reference.
func (*MathMLEnumAttribute) Base ¶
func (m *MathMLEnumAttribute) Base() *Attribute
func (*MathMLEnumAttribute) Inherit ¶
func (attribute *MathMLEnumAttribute) Inherit(value uint) uint
The function takes the following parameters:
The function returns the following values:
func (*MathMLEnumAttribute) Value ¶
func (m *MathMLEnumAttribute) Value() uint
type MathMLEnumList ¶
type MathMLEnumList struct {
// contains filtered or unexported fields
}
MathMLEnumList: instance of this type is always passed by reference.
func (*MathMLEnumList) Init ¶
func (enumList *MathMLEnumList) Init(enumListDefault *MathMLEnumList)
The function takes the following parameters:
func (*MathMLEnumList) NValues ¶
func (m *MathMLEnumList) NValues() uint
func (*MathMLEnumList) Values ¶
func (m *MathMLEnumList) Values() *int
type MathMLEnumListAttribute ¶
type MathMLEnumListAttribute struct {
// contains filtered or unexported fields
}
MathMLEnumListAttribute: instance of this type is always passed by reference.
func (*MathMLEnumListAttribute) Base ¶
func (m *MathMLEnumListAttribute) Base() *Attribute
func (*MathMLEnumListAttribute) EnumList ¶
func (m *MathMLEnumListAttribute) EnumList() *MathMLEnumList
type MathMLErrorElement ¶
type MathMLErrorElement struct { MathMLPresentationContainer // contains filtered or unexported fields }
func NewMathMLErrorElement ¶
func NewMathMLErrorElement() *MathMLErrorElement
The function returns the following values:
type MathMLErrorElementOverrider ¶
type MathMLErrorElementOverrider interface { }
MathMLErrorElementOverrider contains methods that are overridable.
type MathMLFencedElement ¶
type MathMLFencedElement struct { MathMLPresentationContainer // contains filtered or unexported fields }
func NewMathMLFencedElement ¶
func NewMathMLFencedElement() *MathMLFencedElement
The function returns the following values:
type MathMLFencedElementOverrider ¶
type MathMLFencedElementOverrider interface { }
MathMLFencedElementOverrider contains methods that are overridable.
type MathMLFont ¶
const ( MathMLFontError MathMLFont = iota MathMLFontDefault MathMLFontCmr10 MathMLFontCmmi10 MathMLFontCmex10 MathMLFontCmsy10 MathMLFontSymbol )
func (MathMLFont) String ¶
func (m MathMLFont) String() string
String returns the name in string for MathMLFont.
type MathMLFontStyle ¶
const ( MathMLFontStyleError MathMLFontStyle = -1 MathMLFontStyleNormal MathMLFontStyle = 0 MathMLFontStyleItalic MathMLFontStyle = 1 )
func MathMLFontStyleFromString ¶
func MathMLFontStyleFromString(str string) MathMLFontStyle
The function takes the following parameters:
The function returns the following values:
func (MathMLFontStyle) String ¶
func (m MathMLFontStyle) String() string
String returns the name in string for MathMLFontStyle.
type MathMLFontWeight ¶
const ( MathMLFontWeightError MathMLFontWeight = -1 MathMLFontWeightNormal MathMLFontWeight = 0 MathMLFontWeightBold MathMLFontWeight = 1 )
func MathMLFontWeightFromString ¶
func MathMLFontWeightFromString(str string) MathMLFontWeight
The function takes the following parameters:
The function returns the following values:
func (MathMLFontWeight) String ¶
func (m MathMLFontWeight) String() string
String returns the name in string for MathMLFontWeight.
type MathMLForm ¶
const ( MathMLFormError MathMLForm = -1 MathMLFormPrefix MathMLForm = 0 MathMLFormPostfix MathMLForm = 1 MathMLFormInfix MathMLForm = 2 )
func MathMLFormFromString ¶
func MathMLFormFromString(str string) MathMLForm
The function takes the following parameters:
The function returns the following values:
func (MathMLForm) String ¶
func (m MathMLForm) String() string
String returns the name in string for MathMLForm.
type MathMLFractionElement ¶
type MathMLFractionElement struct { MathMLElement // contains filtered or unexported fields }
func NewMathMLFractionElement ¶
func NewMathMLFractionElement() *MathMLFractionElement
The function returns the following values:
type MathMLFractionElementOverrider ¶
type MathMLFractionElementOverrider interface { }
MathMLFractionElementOverrider contains methods that are overridable.
type MathMLGlyph ¶
type MathMLGlyph struct {
// contains filtered or unexported fields
}
MathMLGlyph: instance of this type is always passed by reference.
func (*MathMLGlyph) Font ¶
func (m *MathMLGlyph) Font() MathMLFont
func (*MathMLGlyph) UTF8 ¶
func (m *MathMLGlyph) UTF8() [4]byte
type MathMLGlyphFlags ¶
const ( MathMLGlyphFlagStretchVertical MathMLGlyphFlags = 0b1 MathMLGlyphFlagStretchHorizontal MathMLGlyphFlags = 0b10 MathMLGlyphFlagTypeSized MathMLGlyphFlags = 0b100 MathMLGlyphFlagAlignAxis MathMLGlyphFlags = 0b1000 MathMLGlyphFlagHasLargeVersion MathMLGlyphFlags = 0b10000 MathMLGlyphFlagIntegralSlant MathMLGlyphFlags = 0b100000 )
func (MathMLGlyphFlags) Has ¶
func (m MathMLGlyphFlags) Has(other MathMLGlyphFlags) bool
Has returns true if m contains other.
func (MathMLGlyphFlags) String ¶
func (m MathMLGlyphFlags) String() string
String returns the names in string for MathMLGlyphFlags.
type MathMLItexElement ¶
type MathMLItexElement struct { MathMLElement // contains filtered or unexported fields }
func NewMathMLItexElement ¶
func NewMathMLItexElement() *MathMLItexElement
The function returns the following values:
type MathMLItexElementOverrider ¶
type MathMLItexElementOverrider interface { }
MathMLItexElementOverrider contains methods that are overridable.
type MathMLLength ¶
type MathMLLength struct {
// contains filtered or unexported fields
}
MathMLLength: instance of this type is always passed by reference.
func (*MathMLLength) Normalize ¶
func (length *MathMLLength) Normalize(base float64, fontSize float64) float64
The function takes the following parameters:
- base
- fontSize
The function returns the following values:
func (*MathMLLength) Unit ¶
func (m *MathMLLength) Unit() MathMLUnit
func (*MathMLLength) Value ¶
func (m *MathMLLength) Value() float64
type MathMLLengthAttribute ¶
type MathMLLengthAttribute struct {
// contains filtered or unexported fields
}
MathMLLengthAttribute: instance of this type is always passed by reference.
func (*MathMLLengthAttribute) Base ¶
func (m *MathMLLengthAttribute) Base() *Attribute
func (*MathMLLengthAttribute) Length ¶
func (m *MathMLLengthAttribute) Length() *MathMLLength
func (*MathMLLengthAttribute) Normalize ¶
func (attribute *MathMLLengthAttribute) Normalize(base float64, defaultValue *MathMLLength, style *MathMLStyle) float64
The function takes the following parameters:
- base
- defaultValue
- style
The function returns the following values:
func (*MathMLLengthAttribute) Value ¶
func (m *MathMLLengthAttribute) Value() float64
type MathMLLine ¶
const ( MathMLLineError MathMLLine = -1 MathMLLineNone MathMLLine = 0 MathMLLineSolid MathMLLine = 1 MathMLLineDashed MathMLLine = 2 )
func MathMLLineFromString ¶
func MathMLLineFromString(str string) MathMLLine
The function takes the following parameters:
The function returns the following values:
func (MathMLLine) String ¶
func (m MathMLLine) String() string
String returns the name in string for MathMLLine.
type MathMLLinebreak ¶
const ( MathMLLinebreakError MathMLLinebreak = -1 MathMLLinebreakAuto MathMLLinebreak = 0 MathMLLinebreakNewline MathMLLinebreak = 1 MathMLLinebreakNobreak MathMLLinebreak = 2 MathMLLinebreakGoodbreak MathMLLinebreak = 3 MathMLLinebreakBadbreak MathMLLinebreak = 4 )
func MathMLLinebreakFromString ¶
func MathMLLinebreakFromString(str string) MathMLLinebreak
The function takes the following parameters:
The function returns the following values:
func (MathMLLinebreak) String ¶
func (m MathMLLinebreak) String() string
String returns the name in string for MathMLLinebreak.
type MathMLMathElement ¶
type MathMLMathElement struct { MathMLElement // contains filtered or unexported fields }
func NewMathMLMathElement ¶
func NewMathMLMathElement() *MathMLMathElement
The function returns the following values:
func (*MathMLMathElement) DefaultStyle ¶
func (mathElement *MathMLMathElement) DefaultStyle() *MathMLStyle
The function returns the following values:
func (*MathMLMathElement) Layout ¶
func (mathElement *MathMLMathElement) Layout(view *MathMLView, bbox *MathMLBbox)
The function takes the following parameters:
- view
- bbox
func (*MathMLMathElement) Measure ¶
func (mathElement *MathMLMathElement) Measure(view *MathMLView) *MathMLBbox
The function takes the following parameters:
The function returns the following values:
func (*MathMLMathElement) Render ¶
func (mathElement *MathMLMathElement) Render(view *MathMLView)
The function takes the following parameters:
func (*MathMLMathElement) SetDefaultStyle ¶
func (mathElement *MathMLMathElement) SetDefaultStyle(style *MathMLStyle)
The function takes the following parameters:
func (*MathMLMathElement) Update ¶
func (mathElement *MathMLMathElement) Update()
type MathMLMathElementOverrider ¶
type MathMLMathElementOverrider interface { }
MathMLMathElementOverrider contains methods that are overridable.
type MathMLMode ¶
const ( MathMLModeError MathMLMode = -1 MathMLModeDisplay MathMLMode = 0 MathMLModeInline MathMLMode = 1 )
func MathMLModeFromString ¶
func MathMLModeFromString(str string) MathMLMode
The function takes the following parameters:
The function returns the following values:
func (MathMLMode) String ¶
func (m MathMLMode) String() string
String returns the name in string for MathMLMode.
type MathMLNotation ¶
const ( MathMLNotationError MathMLNotation = -1 MathMLNotationLongdiv MathMLNotation = 0 MathMLNotationActuarial MathMLNotation = 1 MathMLNotationRadical MathMLNotation = 2 MathMLNotationBox MathMLNotation = 3 MathMLNotationRoundedBox MathMLNotation = 4 MathMLNotationCircle MathMLNotation = 5 MathMLNotationLeft MathMLNotation = 6 MathMLNotationRight MathMLNotation = 7 MathMLNotationTop MathMLNotation = 8 MathMLNotationBottom MathMLNotation = 9 MathMLNotationUpDiagonalStrike MathMLNotation = 10 MathMLNotationDownDiagonalStrike MathMLNotation = 11 MathMLNotationVerticalStrike MathMLNotation = 12 MathMLNotationHorizontalStrike MathMLNotation = 13 MathMLNotationMadruwb MathMLNotation = 14 MathMLNotationUpDiagonalArrow MathMLNotation = 15 MathMLNotationLast MathMLNotation = 16 )
func MathMLNotationFromString ¶
func MathMLNotationFromString(str string) MathMLNotation
The function takes the following parameters:
The function returns the following values:
func (MathMLNotation) String ¶
func (m MathMLNotation) String() string
String returns the name in string for MathMLNotation.
type MathMLOperatorDictionaryEntry ¶
type MathMLOperatorDictionaryEntry struct {
// contains filtered or unexported fields
}
MathMLOperatorDictionaryEntry: instance of this type is always passed by reference.
func MathMLOperatorDictionaryLookup ¶
func MathMLOperatorDictionaryLookup(utf8 string, form MathMLForm) *MathMLOperatorDictionaryEntry
The function takes the following parameters:
- utf8
- form
The function returns the following values:
func (*MathMLOperatorDictionaryEntry) Accent ¶
func (m *MathMLOperatorDictionaryEntry) Accent() bool
func (*MathMLOperatorDictionaryEntry) Fence ¶
func (m *MathMLOperatorDictionaryEntry) Fence() bool
func (*MathMLOperatorDictionaryEntry) Form ¶
func (m *MathMLOperatorDictionaryEntry) Form() MathMLForm
func (*MathMLOperatorDictionaryEntry) LargeOp ¶
func (m *MathMLOperatorDictionaryEntry) LargeOp() bool
func (*MathMLOperatorDictionaryEntry) LeftSpace ¶
func (m *MathMLOperatorDictionaryEntry) LeftSpace() *MathMLSpace
func (*MathMLOperatorDictionaryEntry) MaxSize ¶
func (m *MathMLOperatorDictionaryEntry) MaxSize() *MathMLSpace
func (*MathMLOperatorDictionaryEntry) MinSize ¶
func (m *MathMLOperatorDictionaryEntry) MinSize() *MathMLSpace
func (*MathMLOperatorDictionaryEntry) MovableLimits ¶
func (m *MathMLOperatorDictionaryEntry) MovableLimits() bool
func (*MathMLOperatorDictionaryEntry) Name ¶
func (m *MathMLOperatorDictionaryEntry) Name() string
func (*MathMLOperatorDictionaryEntry) RightSpace ¶
func (m *MathMLOperatorDictionaryEntry) RightSpace() *MathMLSpace
func (*MathMLOperatorDictionaryEntry) Separator ¶
func (m *MathMLOperatorDictionaryEntry) Separator() bool
func (*MathMLOperatorDictionaryEntry) Stretchy ¶
func (m *MathMLOperatorDictionaryEntry) Stretchy() bool
func (*MathMLOperatorDictionaryEntry) Symmetric ¶
func (m *MathMLOperatorDictionaryEntry) Symmetric() bool
type MathMLOperatorElement ¶
type MathMLOperatorElement struct { MathMLPresentationToken // contains filtered or unexported fields }
func NewMathMLOperatorElement ¶
func NewMathMLOperatorElement() *MathMLOperatorElement
The function returns the following values:
func (*MathMLOperatorElement) Slant ¶
func (operatorElement *MathMLOperatorElement) Slant(view *MathMLView) float64
The function takes the following parameters:
The function returns the following values:
type MathMLOperatorElementOverrider ¶
type MathMLOperatorElementOverrider interface { }
MathMLOperatorElementOverrider contains methods that are overridable.
type MathMLOperatorGlyph ¶
type MathMLOperatorGlyph struct {
// contains filtered or unexported fields
}
MathMLOperatorGlyph: instance of this type is always passed by reference.
func MathMLGlyphTableFindOperatorGlyph ¶
func MathMLGlyphTableFindOperatorGlyph(text string) *MathMLOperatorGlyph
The function takes the following parameters:
The function returns the following values:
func (*MathMLOperatorGlyph) Flags ¶
func (m *MathMLOperatorGlyph) Flags() MathMLGlyphFlags
func (*MathMLOperatorGlyph) GlueGlyph ¶
func (m *MathMLOperatorGlyph) GlueGlyph() *MathMLGlyph
func (*MathMLOperatorGlyph) MiddleGlyph ¶
func (m *MathMLOperatorGlyph) MiddleGlyph() *MathMLGlyph
func (*MathMLOperatorGlyph) NSizedGlyphs ¶
func (m *MathMLOperatorGlyph) NSizedGlyphs() uint
func (*MathMLOperatorGlyph) SizedGlyphs ¶
func (m *MathMLOperatorGlyph) SizedGlyphs() [5]MathMLGlyph
func (*MathMLOperatorGlyph) StartGlyph ¶
func (m *MathMLOperatorGlyph) StartGlyph() *MathMLGlyph
func (*MathMLOperatorGlyph) StopGlyph ¶
func (m *MathMLOperatorGlyph) StopGlyph() *MathMLGlyph
func (*MathMLOperatorGlyph) UTF8 ¶
func (m *MathMLOperatorGlyph) UTF8() string
type MathMLPaddedElement ¶
type MathMLPaddedElement struct { MathMLPresentationContainer // contains filtered or unexported fields }
func NewMathMLPaddedElement ¶
func NewMathMLPaddedElement() *MathMLPaddedElement
The function returns the following values:
type MathMLPaddedElementOverrider ¶
type MathMLPaddedElementOverrider interface { }
MathMLPaddedElementOverrider contains methods that are overridable.
type MathMLPadding ¶
type MathMLPadding struct {
// contains filtered or unexported fields
}
MathMLPadding: instance of this type is always passed by reference.
func NewMathMLPadding ¶
func NewMathMLPadding(left, right, top, bottom float64) MathMLPadding
NewMathMLPadding creates a new MathMLPadding instance from the given fields.
func (*MathMLPadding) Bottom ¶
func (m *MathMLPadding) Bottom() float64
func (*MathMLPadding) Left ¶
func (m *MathMLPadding) Left() float64
func (*MathMLPadding) Right ¶
func (m *MathMLPadding) Right() float64
func (*MathMLPadding) Top ¶
func (m *MathMLPadding) Top() float64
type MathMLPhantomElement ¶
type MathMLPhantomElement struct { MathMLElement // contains filtered or unexported fields }
func NewMathMLPhantomElement ¶
func NewMathMLPhantomElement() *MathMLPhantomElement
The function returns the following values:
type MathMLPhantomElementOverrider ¶
type MathMLPhantomElementOverrider interface { }
MathMLPhantomElementOverrider contains methods that are overridable.
type MathMLPresentationContainer ¶
type MathMLPresentationContainer struct { MathMLElement // contains filtered or unexported fields }
func BaseMathMLPresentationContainer ¶
func BaseMathMLPresentationContainer(obj MathMLPresentationContainerer) *MathMLPresentationContainer
BaseMathMLPresentationContainer returns the underlying base object.
type MathMLPresentationContainerOverrider ¶
type MathMLPresentationContainerOverrider interface { }
MathMLPresentationContainerOverrider contains methods that are overridable.
type MathMLPresentationContainerer ¶
type MathMLPresentationContainerer interface { externglib.Objector // contains filtered or unexported methods }
MathMLPresentationContainerer describes types inherited from class MathMLPresentationContainer.
To get the original type, the caller must assert this to an interface or another type.
type MathMLPresentationToken ¶
type MathMLPresentationToken struct { MathMLElement // contains filtered or unexported fields }
func (*MathMLPresentationToken) Text ¶
func (self *MathMLPresentationToken) Text() string
The function returns the following values:
type MathMLPresentationTokenOverrider ¶
type MathMLPresentationTokenOverrider interface { // The function returns the following values: // Text() string }
MathMLPresentationTokenOverrider contains methods that are overridable.
type MathMLPresentationTokenType ¶
const ( MathMLPresentationTokenTypeNumber MathMLPresentationTokenType = iota MathMLPresentationTokenTypeIdentifier MathMLPresentationTokenTypeText )
func (MathMLPresentationTokenType) String ¶
func (m MathMLPresentationTokenType) String() string
String returns the name in string for MathMLPresentationTokenType.
type MathMLRadicalElement ¶
type MathMLRadicalElement struct { MathMLElement // contains filtered or unexported fields }
type MathMLRadicalElementOverrider ¶
type MathMLRadicalElementOverrider interface { }
MathMLRadicalElementOverrider contains methods that are overridable.
type MathMLRadicalElementType ¶
const ( MathMLRadicalElementTypeSqrt MathMLRadicalElementType = iota MathMLRadicalElementTypeRoot )
func (MathMLRadicalElementType) String ¶
func (m MathMLRadicalElementType) String() string
String returns the name in string for MathMLRadicalElementType.
type MathMLRowAlign ¶
const ( MathMLRowAlignError MathMLRowAlign = -1 MathMLRowAlignBaseline MathMLRowAlign = 0 MathMLRowAlignTop MathMLRowAlign = 1 MathMLRowAlignBottom MathMLRowAlign = 2 MathMLRowAlignCenter MathMLRowAlign = 3 MathMLRowAlignAxis MathMLRowAlign = 4 )
func MathMLRowAlignFromString ¶
func MathMLRowAlignFromString(str string) MathMLRowAlign
The function takes the following parameters:
The function returns the following values:
func (MathMLRowAlign) String ¶
func (m MathMLRowAlign) String() string
String returns the name in string for MathMLRowAlign.
type MathMLRowElement ¶
type MathMLRowElement struct { MathMLPresentationContainer // contains filtered or unexported fields }
func NewMathMLRowElement ¶
func NewMathMLRowElement() *MathMLRowElement
The function returns the following values:
type MathMLRowElementOverrider ¶
type MathMLRowElementOverrider interface { }
MathMLRowElementOverrider contains methods that are overridable.
type MathMLScriptElement ¶
type MathMLScriptElement struct { MathMLElement // contains filtered or unexported fields }
type MathMLScriptElementOverrider ¶
type MathMLScriptElementOverrider interface { }
MathMLScriptElementOverrider contains methods that are overridable.
type MathMLScriptElementType ¶
const ( MathMLScriptElementTypeSub MathMLScriptElementType = iota MathMLScriptElementTypeSup MathMLScriptElementTypeSubSup )
func (MathMLScriptElementType) String ¶
func (m MathMLScriptElementType) String() string
String returns the name in string for MathMLScriptElementType.
type MathMLScriptLevel ¶
type MathMLScriptLevel struct {
// contains filtered or unexported fields
}
MathMLScriptLevel: instance of this type is always passed by reference.
func (*MathMLScriptLevel) Level ¶
func (m *MathMLScriptLevel) Level() int
func (*MathMLScriptLevel) Sign ¶
func (m *MathMLScriptLevel) Sign() MathMLScriptLevelSign
type MathMLScriptLevelAttribute ¶
type MathMLScriptLevelAttribute struct {
// contains filtered or unexported fields
}
MathMLScriptLevelAttribute: instance of this type is always passed by reference.
func (*MathMLScriptLevelAttribute) Apply ¶
func (attribute *MathMLScriptLevelAttribute) Apply(scriptLevel int) int
The function takes the following parameters:
The function returns the following values:
func (*MathMLScriptLevelAttribute) Base ¶
func (m *MathMLScriptLevelAttribute) Base() *Attribute
func (*MathMLScriptLevelAttribute) Value ¶
func (m *MathMLScriptLevelAttribute) Value() *MathMLScriptLevel
type MathMLScriptLevelSign ¶
const ( MathMLScriptLevelSignError MathMLScriptLevelSign = -1 MathMLScriptLevelSignNone MathMLScriptLevelSign = 0 MathMLScriptLevelSignPlus MathMLScriptLevelSign = 1 MathMLScriptLevelSignMinus MathMLScriptLevelSign = 2 )
func (MathMLScriptLevelSign) String ¶
func (m MathMLScriptLevelSign) String() string
String returns the name in string for MathMLScriptLevelSign.
type MathMLSemanticsElement ¶
type MathMLSemanticsElement struct { MathMLElement // contains filtered or unexported fields }
func NewMathMLSemanticsElement ¶
func NewMathMLSemanticsElement() *MathMLSemanticsElement
The function returns the following values:
type MathMLSemanticsElementOverrider ¶
type MathMLSemanticsElementOverrider interface { }
MathMLSemanticsElementOverrider contains methods that are overridable.
type MathMLSpace ¶
type MathMLSpace struct {
// contains filtered or unexported fields
}
MathMLSpace: instance of this type is always passed by reference.
func (*MathMLSpace) Length ¶
func (m *MathMLSpace) Length() *MathMLLength
func (*MathMLSpace) Name ¶
func (m *MathMLSpace) Name() MathMLSpaceName
type MathMLSpaceAttribute ¶
type MathMLSpaceAttribute struct {
// contains filtered or unexported fields
}
MathMLSpaceAttribute: instance of this type is always passed by reference.
func (*MathMLSpaceAttribute) Base ¶
func (m *MathMLSpaceAttribute) Base() *Attribute
func (*MathMLSpaceAttribute) Normalize ¶
func (attribute *MathMLSpaceAttribute) Normalize(base float64, defaultValue *MathMLSpace, style *MathMLStyle) float64
The function takes the following parameters:
- base
- defaultValue
- style
The function returns the following values:
func (*MathMLSpaceAttribute) Space ¶
func (m *MathMLSpaceAttribute) Space() *MathMLSpace
func (*MathMLSpaceAttribute) Value ¶
func (m *MathMLSpaceAttribute) Value() float64
type MathMLSpaceElement ¶
type MathMLSpaceElement struct { MathMLElement // contains filtered or unexported fields }
func NewMathMLSpaceElement ¶
func NewMathMLSpaceElement() *MathMLSpaceElement
The function returns the following values:
type MathMLSpaceElementOverrider ¶
type MathMLSpaceElementOverrider interface { }
MathMLSpaceElementOverrider contains methods that are overridable.
type MathMLSpaceList ¶
type MathMLSpaceList struct {
// contains filtered or unexported fields
}
MathMLSpaceList: instance of this type is always passed by reference.
func (*MathMLSpaceList) Init ¶
func (spaceList *MathMLSpaceList) Init(spaceListDefault *MathMLSpaceList)
The function takes the following parameters:
func (*MathMLSpaceList) NSpaces ¶
func (m *MathMLSpaceList) NSpaces() uint
func (*MathMLSpaceList) Spaces ¶
func (m *MathMLSpaceList) Spaces() *MathMLSpace
type MathMLSpaceListAttribute ¶
type MathMLSpaceListAttribute struct {
// contains filtered or unexported fields
}
MathMLSpaceListAttribute: instance of this type is always passed by reference.
func (*MathMLSpaceListAttribute) Base ¶
func (m *MathMLSpaceListAttribute) Base() *Attribute
func (*MathMLSpaceListAttribute) NValues ¶
func (m *MathMLSpaceListAttribute) NValues() uint
func (*MathMLSpaceListAttribute) Normalize ¶
func (attribute *MathMLSpaceListAttribute) Normalize(base float64, defaultValue *MathMLSpaceList, style *MathMLStyle)
The function takes the following parameters:
- base
- defaultValue
- style
func (*MathMLSpaceListAttribute) SpaceList ¶
func (m *MathMLSpaceListAttribute) SpaceList() *MathMLSpaceList
func (*MathMLSpaceListAttribute) Values ¶
func (m *MathMLSpaceListAttribute) Values() *float64
type MathMLSpaceName ¶
const ( MathMLSpaceNameError MathMLSpaceName = -1 MathMLSpaceNameNegativeVeryVeryThin MathMLSpaceName = 0 MathMLSpaceNameNegativeVeryThin MathMLSpaceName = 1 MathMLSpaceNameNegativeThin MathMLSpaceName = 2 MathMLSpaceNameNegativeMedium MathMLSpaceName = 3 MathMLSpaceNameNegativeThick MathMLSpaceName = 4 MathMLSpaceNameNegativeVeryThick MathMLSpaceName = 5 MathMLSpaceNameNegativeVeryVeryThick MathMLSpaceName = 6 MathMLSpaceNameVeryVeryThin MathMLSpaceName = 7 MathMLSpaceNameVeryThin MathMLSpaceName = 8 MathMLSpaceNameThin MathMLSpaceName = 9 MathMLSpaceNameMedium MathMLSpaceName = 10 MathMLSpaceNameThick MathMLSpaceName = 11 MathMLSpaceNameVeryThick MathMLSpaceName = 12 MathMLSpaceNameVeryVeryThick MathMLSpaceName = 13 MathMLSpaceNameInfinity MathMLSpaceName = 14 )
func MathMLSpaceNameFromString ¶
func MathMLSpaceNameFromString(str string) MathMLSpaceName
The function takes the following parameters:
The function returns the following values:
func (MathMLSpaceName) String ¶
func (m MathMLSpaceName) String() string
String returns the name in string for MathMLSpaceName.
type MathMLStringAttribute ¶
type MathMLStringAttribute struct {
// contains filtered or unexported fields
}
MathMLStringAttribute: instance of this type is always passed by reference.
func (*MathMLStringAttribute) Base ¶
func (m *MathMLStringAttribute) Base() *Attribute
func (*MathMLStringAttribute) Inherit ¶
func (attribute *MathMLStringAttribute) Inherit(str string) string
The function takes the following parameters:
The function returns the following values:
func (*MathMLStringAttribute) Value ¶
func (m *MathMLStringAttribute) Value() string
type MathMLStringElement ¶
type MathMLStringElement struct { MathMLPresentationToken // contains filtered or unexported fields }
func NewMathMLStringElement ¶
func NewMathMLStringElement() *MathMLStringElement
The function returns the following values:
type MathMLStringElementOverrider ¶
type MathMLStringElementOverrider interface { }
MathMLStringElementOverrider contains methods that are overridable.
type MathMLStyle ¶
type MathMLStyle struct {
// contains filtered or unexported fields
}
MathMLStyle: instance of this type is always passed by reference.
func NewMathMLStyle ¶
func NewMathMLStyle() *MathMLStyle
NewMathMLStyle constructs a struct MathMLStyle.
func (*MathMLStyle) Bevelled ¶
func (m *MathMLStyle) Bevelled() bool
func (*MathMLStyle) ChangeScriptLevel ¶
func (style *MathMLStyle) ChangeScriptLevel(increment int)
The function takes the following parameters:
func (*MathMLStyle) Display ¶
func (m *MathMLStyle) Display() MathMLDisplay
func (*MathMLStyle) Duplicate ¶
func (from *MathMLStyle) Duplicate() *MathMLStyle
The function returns the following values:
func (*MathMLStyle) LineThickness ¶
func (m *MathMLStyle) LineThickness() float64
func (*MathMLStyle) MathBackground ¶
func (m *MathMLStyle) MathBackground() *MathMLColor
func (*MathMLStyle) MathColor ¶
func (m *MathMLStyle) MathColor() *MathMLColor
func (*MathMLStyle) MathFamily ¶
func (m *MathMLStyle) MathFamily() string
func (*MathMLStyle) MathSize ¶
func (m *MathMLStyle) MathSize() float64
func (*MathMLStyle) MathVariant ¶
func (m *MathMLStyle) MathVariant() MathMLVariant
func (*MathMLStyle) MediumMathSpace ¶
func (m *MathMLStyle) MediumMathSpace() float64
func (*MathMLStyle) NegativeMediumMathSpace ¶
func (m *MathMLStyle) NegativeMediumMathSpace() float64
func (*MathMLStyle) NegativeThickMathSpace ¶
func (m *MathMLStyle) NegativeThickMathSpace() float64
func (*MathMLStyle) NegativeThinMathSpace ¶
func (m *MathMLStyle) NegativeThinMathSpace() float64
func (*MathMLStyle) NegativeVeryThickMathSpace ¶
func (m *MathMLStyle) NegativeVeryThickMathSpace() float64
func (*MathMLStyle) NegativeVeryThinMathSpace ¶
func (m *MathMLStyle) NegativeVeryThinMathSpace() float64
func (*MathMLStyle) NegativeVeryVeryThickMathSpace ¶
func (m *MathMLStyle) NegativeVeryVeryThickMathSpace() float64
func (*MathMLStyle) NegativeVeryVeryThinMathSpace ¶
func (m *MathMLStyle) NegativeVeryVeryThinMathSpace() float64
func (*MathMLStyle) ScriptLevel ¶
func (m *MathMLStyle) ScriptLevel() int
func (*MathMLStyle) ScriptMinSize ¶
func (m *MathMLStyle) ScriptMinSize() float64
func (*MathMLStyle) ScriptSizeMultiplier ¶
func (m *MathMLStyle) ScriptSizeMultiplier() float64
func (*MathMLStyle) SetMathColor ¶
func (style *MathMLStyle) SetMathColor(red float64, green float64, blue float64, alpha float64)
The function takes the following parameters:
- red
- green
- blue
- alpha
func (*MathMLStyle) SetMathFamily ¶
func (style *MathMLStyle) SetMathFamily(mathFamily string)
The function takes the following parameters:
func (*MathMLStyle) SetMathSizePt ¶
func (style *MathMLStyle) SetMathSizePt(mathSize float64)
The function takes the following parameters:
func (*MathMLStyle) SetMathVariant ¶
func (style *MathMLStyle) SetMathVariant(mathVariant MathMLVariant)
The function takes the following parameters:
func (*MathMLStyle) SetScriptMinSizePt ¶
func (style *MathMLStyle) SetScriptMinSizePt(scriptMinSize float64)
The function takes the following parameters:
func (*MathMLStyle) SubscriptShift ¶
func (m *MathMLStyle) SubscriptShift() float64
func (*MathMLStyle) SuperscriptShift ¶
func (m *MathMLStyle) SuperscriptShift() float64
func (*MathMLStyle) ThickMathSpace ¶
func (m *MathMLStyle) ThickMathSpace() float64
func (*MathMLStyle) ThinMathSpace ¶
func (m *MathMLStyle) ThinMathSpace() float64
func (*MathMLStyle) VeryThickMathSpace ¶
func (m *MathMLStyle) VeryThickMathSpace() float64
func (*MathMLStyle) VeryThinMathSpace ¶
func (m *MathMLStyle) VeryThinMathSpace() float64
func (*MathMLStyle) VeryVeryThickMathSpace ¶
func (m *MathMLStyle) VeryVeryThickMathSpace() float64
func (*MathMLStyle) VeryVeryThinMathSpace ¶
func (m *MathMLStyle) VeryVeryThinMathSpace() float64
type MathMLStyleElement ¶
type MathMLStyleElement struct { MathMLPresentationContainer // contains filtered or unexported fields }
func NewMathMLStyleElement ¶
func NewMathMLStyleElement() *MathMLStyleElement
The function returns the following values:
type MathMLStyleElementOverrider ¶
type MathMLStyleElementOverrider interface { }
MathMLStyleElementOverrider contains methods that are overridable.
type MathMLTableCellElement ¶
type MathMLTableCellElement struct { MathMLElement // contains filtered or unexported fields }
func NewMathMLTableCellElement ¶
func NewMathMLTableCellElement() *MathMLTableCellElement
The function returns the following values:
func (*MathMLTableCellElement) Spans ¶
func (self *MathMLTableCellElement) Spans(rowSpan, columnSpan *uint)
The function takes the following parameters:
- rowSpan
- columnSpan
type MathMLTableCellElementOverrider ¶
type MathMLTableCellElementOverrider interface { }
MathMLTableCellElementOverrider contains methods that are overridable.
type MathMLTableElement ¶
type MathMLTableElement struct { MathMLElement // contains filtered or unexported fields }
func NewMathMLTableElement ¶
func NewMathMLTableElement() *MathMLTableElement
The function returns the following values:
type MathMLTableElementOverrider ¶
type MathMLTableElementOverrider interface { }
MathMLTableElementOverrider contains methods that are overridable.
type MathMLTableRowElement ¶
type MathMLTableRowElement struct { MathMLElement // contains filtered or unexported fields }
func NewMathMLTableRowElement ¶
func NewMathMLTableRowElement() *MathMLTableRowElement
The function returns the following values:
type MathMLTableRowElementOverrider ¶
type MathMLTableRowElementOverrider interface { }
MathMLTableRowElementOverrider contains methods that are overridable.
type MathMLTableRowElementType ¶
const ( MathMLTableRowElementTypeRow MathMLTableRowElementType = iota MathMLTableRowElementTypeLabeledRow )
func (MathMLTableRowElementType) String ¶
func (m MathMLTableRowElementType) String() string
String returns the name in string for MathMLTableRowElementType.
type MathMLUnderOverElement ¶
type MathMLUnderOverElement struct { MathMLElement // contains filtered or unexported fields }
func NewMathMLUnderOverElement ¶
func NewMathMLUnderOverElement() *MathMLUnderOverElement
The function returns the following values:
type MathMLUnderOverElementOverrider ¶
type MathMLUnderOverElementOverrider interface { }
MathMLUnderOverElementOverrider contains methods that are overridable.
type MathMLUnderOverElementType ¶
const ( MathMLUnderOverElementTypeUnder MathMLUnderOverElementType = iota MathMLUnderOverElementTypeOver MathMLUnderOverElementTypeUnderOver )
func (MathMLUnderOverElementType) String ¶
func (m MathMLUnderOverElementType) String() string
String returns the name in string for MathMLUnderOverElementType.
type MathMLUnit ¶
const ( MathMLUnitError MathMLUnit = -1 MathMLUnitNone MathMLUnit = 0 MathMLUnitEm MathMLUnit = 1 MathMLUnitEx MathMLUnit = 2 MathMLUnitIn MathMLUnit = 3 MathMLUnitCm MathMLUnit = 4 MathMLUnitMm MathMLUnit = 5 MathMLUnitPt MathMLUnit = 6 MathMLUnitPx MathMLUnit = 7 MathMLUnitPc MathMLUnit = 8 MathMLUnitPercent MathMLUnit = 9 )
func MathMLUnitFromString ¶
func MathMLUnitFromString(str string) MathMLUnit
The function takes the following parameters:
The function returns the following values:
func (MathMLUnit) String ¶
func (m MathMLUnit) String() string
String returns the name in string for MathMLUnit.
type MathMLUnsignedAttribute ¶
type MathMLUnsignedAttribute struct {
// contains filtered or unexported fields
}
MathMLUnsignedAttribute: instance of this type is always passed by reference.
func (*MathMLUnsignedAttribute) Base ¶
func (m *MathMLUnsignedAttribute) Base() *Attribute
func (*MathMLUnsignedAttribute) Value ¶
func (m *MathMLUnsignedAttribute) Value() uint
type MathMLVariant ¶
const ( MathMLVariantError MathMLVariant = -1 MathMLVariantNormal MathMLVariant = 0 MathMLVariantBold MathMLVariant = 1 MathMLVariantItalic MathMLVariant = 2 MathMLVariantBoldItalic MathMLVariant = 3 MathMLVariantDoubleStruck MathMLVariant = 4 MathMLVariantFrakturBold MathMLVariant = 5 MathMLVariantScript MathMLVariant = 6 MathMLVariantScriptBold MathMLVariant = 7 MathMLVariantFraktur MathMLVariant = 8 MathMLVariantSansSerif MathMLVariant = 9 MathMLVariantSansSerifBold MathMLVariant = 10 MathMLVariantSansSerifItalic MathMLVariant = 11 MathMLVariantSansSerifBoldItalic MathMLVariant = 12 MathMLVariantMonospace MathMLVariant = 13 )
func MathMLVariantFromString ¶
func MathMLVariantFromString(str string) MathMLVariant
The function takes the following parameters:
The function returns the following values:
func (MathMLVariant) String ¶
func (m MathMLVariant) String() string
String returns the name in string for MathMLVariant.
type MathMLView ¶
type MathMLView struct { DOMView // contains filtered or unexported fields }
func NewMathMLView ¶
func NewMathMLView(document *MathMLDocument) *MathMLView
The function takes the following parameters:
The function returns the following values:
func (*MathMLView) FontMetrics ¶
func (view *MathMLView) FontMetrics(style *MathMLElementStyle, ascent, descent *float64)
The function takes the following parameters:
- style
- ascent
- descent
func (*MathMLView) MeasureAxisOffset ¶
func (view *MathMLView) MeasureAxisOffset(mathSize float64) float64
The function takes the following parameters:
The function returns the following values:
func (*MathMLView) MeasureNotation ¶
func (view *MathMLView) MeasureNotation(style *MathMLElementStyle, notation MathMLNotation, stretchBbox, bbox *MathMLBbox, xChildOffset *float64)
The function takes the following parameters:
- style
- notation
- stretchBbox
- bbox
- xChildOffset
func (*MathMLView) MeasureOperator ¶
func (view *MathMLView) MeasureOperator(style *MathMLElementStyle, text string, large, symmetric bool, axisOffset, minSize, maxSize float64, stretchBbox, bbox *MathMLBbox)
The function takes the following parameters:
- style
- text
- large
- symmetric
- axisOffset
- minSize
- maxSize
- stretchBbox
- bbox
func (*MathMLView) MeasureRadical ¶
func (view *MathMLView) MeasureRadical(style *MathMLElementStyle, stretchBbox, bbox *MathMLBbox, xOffset, yOffset *float64)
The function takes the following parameters:
- style
- stretchBbox
- bbox
- xOffset
- yOffset
func (*MathMLView) MeasureText ¶
func (view *MathMLView) MeasureText(style *MathMLElementStyle, text string, bbox *MathMLBbox)
The function takes the following parameters:
- style
- text
- bbox
func (*MathMLView) OperatorSlant ¶
func (view *MathMLView) OperatorSlant(style *MathMLElementStyle, text string) float64
The function takes the following parameters:
- style
- text
The function returns the following values:
func (*MathMLView) ShowBackground ¶
func (view *MathMLView) ShowBackground(style *MathMLElementStyle, x, y float64, bbox *MathMLBbox)
The function takes the following parameters:
- style
- x
- y
- bbox
func (*MathMLView) ShowBbox ¶
func (view *MathMLView) ShowBbox(x, y float64, bbox *MathMLBbox)
The function takes the following parameters:
- x
- y
- bbox
func (*MathMLView) ShowFractionLine ¶
func (view *MathMLView) ShowFractionLine(style *MathMLElementStyle, x, y, width, thickness float64)
The function takes the following parameters:
- style
- x
- y
- width
- thickness
func (*MathMLView) ShowLine ¶
func (view *MathMLView) ShowLine(style *MathMLElementStyle, x0, y0, x1, y1 float64, line MathMLLine, lineWidth float64)
The function takes the following parameters:
- style
- x0
- y0
- x1
- y1
- line
- lineWidth
func (*MathMLView) ShowNotation ¶
func (view *MathMLView) ShowNotation(style *MathMLElementStyle, notation MathMLNotation, x, y float64, bbox *MathMLBbox, xChildOffset float64)
The function takes the following parameters:
- style
- notation
- x
- y
- bbox
- xChildOffset
func (*MathMLView) ShowOperator ¶
func (view *MathMLView) ShowOperator(style *MathMLElementStyle, x, y float64, text string, large bool, stretchBbox *MathMLBbox)
The function takes the following parameters:
- style
- x
- y
- text
- large
- stretchBbox
func (*MathMLView) ShowRadical ¶
func (view *MathMLView) ShowRadical(style *MathMLElementStyle, x, y, width float64, stretchBbox *MathMLBbox)
The function takes the following parameters:
- style
- x
- y
- width
- stretchBbox
func (*MathMLView) ShowRectangle ¶
func (view *MathMLView) ShowRectangle(style *MathMLElementStyle, x, y, width, height float64, line MathMLLine, lineWidth float64)
The function takes the following parameters:
- style
- x
- y
- width
- height
- line
- lineWidth
func (*MathMLView) ShowText ¶
func (view *MathMLView) ShowText(style *MathMLElementStyle, x, y float64, text string)
The function takes the following parameters:
- style
- x
- y
- text
type MathMLViewOverrider ¶
type MathMLViewOverrider interface { }
MathMLViewOverrider contains methods that are overridable.
type Property ¶
type Property struct {
// contains filtered or unexported fields
}
Property: instance of this type is always passed by reference.
type PropertyBag ¶
type PropertyBag struct {
// contains filtered or unexported fields
}
PropertyBag: instance of this type is always passed by reference.
func (*PropertyBag) Init ¶
func (bag *PropertyBag) Init()
type PropertyInfos ¶
type PropertyInfos struct {
// contains filtered or unexported fields
}
PropertyInfos: instance of this type is always passed by reference.
type PropertyManager ¶
type PropertyManager struct {
// contains filtered or unexported fields
}
PropertyManager: instance of this type is always passed by reference.
func NewPropertyManager ¶
func NewPropertyManager(nProperties uint, propertyInfos *PropertyInfos) *PropertyManager
NewPropertyManager constructs a struct PropertyManager.
func (*PropertyManager) CleanProperties ¶
func (manager *PropertyManager) CleanProperties(propertyBag *PropertyBag)
The function takes the following parameters:
func (*PropertyManager) Property ¶
func (manager *PropertyManager) Property(propertyBag *PropertyBag, name string) string
The function takes the following parameters:
- propertyBag
- name
The function returns the following values:
func (*PropertyManager) Serialize ¶
func (propertyManager *PropertyManager) Serialize(propertyBag *PropertyBag) string
The function takes the following parameters:
The function returns the following values:
func (*PropertyManager) SetProperty ¶
func (manager *PropertyManager) SetProperty(propertyBag *PropertyBag, name string, value string) bool
The function takes the following parameters:
- propertyBag
- name
- value
The function returns the following values:
type SVGAElement ¶
type SVGAElement struct { SVGTransformable // contains filtered or unexported fields }
type SVGAElementOverrider ¶
type SVGAElementOverrider interface { }
SVGAElementOverrider contains methods that are overridable.
type SVGAlign ¶
const ( SVGAlignError SVGAlign = -1 SVGAlignNone SVGAlign = 0 SVGAlignXMinYMin SVGAlign = 1 SVGAlignXMidYMin SVGAlign = 2 SVGAlignXMaxYMin SVGAlign = 3 SVGAlignXMinYMid SVGAlign = 4 SVGAlignXMidYMid SVGAlign = 5 SVGAlignXMaxYMid SVGAlign = 6 SVGAlignXMinYMax SVGAlign = 7 SVGAlignXMidYMax SVGAlign = 8 SVGAlignXMaxYMax SVGAlign = 9 )
func SVGAlignFromString ¶
The function takes the following parameters:
The function returns the following values:
type SVGAngle ¶
type SVGAngle struct {
// contains filtered or unexported fields
}
SVGAngle: instance of this type is always passed by reference.
func (*SVGAngle) Type ¶
func (s *SVGAngle) Type() SVGAngleType
type SVGAngleAttribute ¶
type SVGAngleAttribute struct {
// contains filtered or unexported fields
}
SVGAngleAttribute: instance of this type is always passed by reference.
func (*SVGAngleAttribute) Base ¶
func (s *SVGAngleAttribute) Base() *Attribute
func (*SVGAngleAttribute) Value ¶
func (s *SVGAngleAttribute) Value() *SVGAngle
type SVGAngleType ¶
const ( SVGAngleTypeError SVGAngleType = -1 SVGAngleTypeAuto SVGAngleType = 0 SVGAngleTypeFixed SVGAngleType = 1 )
func (SVGAngleType) String ¶
func (s SVGAngleType) String() string
String returns the name in string for SVGAngleType.
type SVGAnimatedLength ¶
type SVGAnimatedLength struct {
// contains filtered or unexported fields
}
SVGAnimatedLength: instance of this type is always passed by reference.
func (*SVGAnimatedLength) Animated ¶
func (s *SVGAnimatedLength) Animated() *SVGLength
func (*SVGAnimatedLength) Base ¶
func (s *SVGAnimatedLength) Base() *SVGLength
type SVGBlendingMode ¶
const ( SVGBlendingModeError SVGBlendingMode = -1 SVGBlendingModeNormal SVGBlendingMode = 0 SVGBlendingModeMultiply SVGBlendingMode = 1 SVGBlendingModeScreen SVGBlendingMode = 2 SVGBlendingModeDarken SVGBlendingMode = 3 SVGBlendingModeLighten SVGBlendingMode = 4 SVGBlendingModeOver SVGBlendingMode = 5 SVGBlendingModeIn SVGBlendingMode = 6 SVGBlendingModeOut SVGBlendingMode = 7 SVGBlendingModeAtop SVGBlendingMode = 8 SVGBlendingModeXOR SVGBlendingMode = 9 )
func SVGBlendingModeFromString ¶
func SVGBlendingModeFromString(str string) SVGBlendingMode
The function takes the following parameters:
The function returns the following values:
func (SVGBlendingMode) String ¶
func (s SVGBlendingMode) String() string
String returns the name in string for SVGBlendingMode.
type SVGBlendingModeAttribute ¶
type SVGBlendingModeAttribute struct {
// contains filtered or unexported fields
}
SVGBlendingModeAttribute: instance of this type is always passed by reference.
func (*SVGBlendingModeAttribute) Base ¶
func (s *SVGBlendingModeAttribute) Base() *Attribute
func (*SVGBlendingModeAttribute) Value ¶
func (s *SVGBlendingModeAttribute) Value() SVGBlendingMode
type SVGBooleanAttribute ¶
type SVGBooleanAttribute struct {
// contains filtered or unexported fields
}
SVGBooleanAttribute: instance of this type is always passed by reference.
func (*SVGBooleanAttribute) Base ¶
func (s *SVGBooleanAttribute) Base() *Attribute
func (*SVGBooleanAttribute) Value ¶
func (s *SVGBooleanAttribute) Value() bool
type SVGChannelSelector ¶
const ( SVGChannelSelectorError SVGChannelSelector = -1 SVGChannelSelectorRed SVGChannelSelector = 0 SVGChannelSelectorGreen SVGChannelSelector = 1 SVGChannelSelectorBlue SVGChannelSelector = 2 SVGChannelSelectorAlpha SVGChannelSelector = 3 )
func SVGChannelSelectorFromString ¶
func SVGChannelSelectorFromString(str string) SVGChannelSelector
The function takes the following parameters:
The function returns the following values:
func (SVGChannelSelector) String ¶
func (s SVGChannelSelector) String() string
String returns the name in string for SVGChannelSelector.
type SVGChannelSelectorAttribute ¶
type SVGChannelSelectorAttribute struct {
// contains filtered or unexported fields
}
SVGChannelSelectorAttribute: instance of this type is always passed by reference.
func (*SVGChannelSelectorAttribute) Base ¶
func (s *SVGChannelSelectorAttribute) Base() *Attribute
func (*SVGChannelSelectorAttribute) Value ¶
func (s *SVGChannelSelectorAttribute) Value() SVGChannelSelector
type SVGCircleElement ¶
type SVGCircleElement struct { SVGTransformable // contains filtered or unexported fields }
func NewSVGCircleElement ¶
func NewSVGCircleElement() *SVGCircleElement
The function returns the following values:
type SVGCircleElementOverrider ¶
type SVGCircleElementOverrider interface { }
SVGCircleElementOverrider contains methods that are overridable.
type SVGClipPathElement ¶
type SVGClipPathElement struct { SVGTransformable // contains filtered or unexported fields }
func NewSVGClipPathElement ¶
func NewSVGClipPathElement() *SVGClipPathElement
The function returns the following values:
type SVGClipPathElementOverrider ¶
type SVGClipPathElementOverrider interface { }
SVGClipPathElementOverrider contains methods that are overridable.
type SVGColor ¶
type SVGColor struct {
// contains filtered or unexported fields
}
SVGColor: instance of this type is always passed by reference.
func NewSVGColor ¶
NewSVGColor creates a new SVGColor instance from the given fields.
type SVGColorAttribute ¶
type SVGColorAttribute struct {
// contains filtered or unexported fields
}
SVGColorAttribute: instance of this type is always passed by reference.
func (*SVGColorAttribute) Base ¶
func (s *SVGColorAttribute) Base() *Attribute
func (*SVGColorAttribute) Value ¶
func (s *SVGColorAttribute) Value() *SVGColor
type SVGColorFilterType ¶
const ( SVGColorFilterTypeError SVGColorFilterType = -1 SVGColorFilterTypeMatrix SVGColorFilterType = 0 SVGColorFilterTypeSaturate SVGColorFilterType = 1 SVGColorFilterTypeHueRotate SVGColorFilterType = 2 SVGColorFilterTypeLuminanceToAlpha SVGColorFilterType = 3 )
func SVGColorFilterTypeFromString ¶
func SVGColorFilterTypeFromString(str string) SVGColorFilterType
The function takes the following parameters:
The function returns the following values:
func (SVGColorFilterType) String ¶
func (s SVGColorFilterType) String() string
String returns the name in string for SVGColorFilterType.
type SVGColorFilterTypeAttribute ¶
type SVGColorFilterTypeAttribute struct {
// contains filtered or unexported fields
}
SVGColorFilterTypeAttribute: instance of this type is always passed by reference.
func (*SVGColorFilterTypeAttribute) Base ¶
func (s *SVGColorFilterTypeAttribute) Base() *Attribute
func (*SVGColorFilterTypeAttribute) Value ¶
func (s *SVGColorFilterTypeAttribute) Value() SVGColorFilterType
type SVGColorProperty ¶
type SVGColorProperty struct {
// contains filtered or unexported fields
}
SVGColorProperty: instance of this type is always passed by reference.
func (*SVGColorProperty) Base ¶
func (s *SVGColorProperty) Base() *Property
func (*SVGColorProperty) Value ¶
func (s *SVGColorProperty) Value() *SVGColor
type SVGCompOp ¶
const ( SVGCompOpError SVGCompOp = -1 SVGCompOpClear SVGCompOp = 0 SVGCompOpSrc SVGCompOp = 1 SVGCompOpDst SVGCompOp = 2 SVGCompOpSrcOver SVGCompOp = 3 SVGCompOpDstOver SVGCompOp = 4 SVGCompOpSrcIn SVGCompOp = 5 SVGCompOpDstIn SVGCompOp = 6 SVGCompOpSrcOut SVGCompOp = 7 SVGCompOpDstOut SVGCompOp = 8 SVGCompOpSrcAtop SVGCompOp = 9 SVGCompOpDstAtop SVGCompOp = 10 SVGCompOpXOR SVGCompOp = 11 SVGCompOpPlus SVGCompOp = 12 SVGCompOpMultiply SVGCompOp = 13 SVGCompOpScreen SVGCompOp = 14 SVGCompOpOverlay SVGCompOp = 15 SVGCompOpDarken SVGCompOp = 16 SVGCompOpLighten SVGCompOp = 17 SVGCompOpColorDodge SVGCompOp = 18 SVGCompOpColorBurn SVGCompOp = 19 SVGCompOpHardLight SVGCompOp = 20 SVGCompOpSoftLight SVGCompOp = 21 SVGCompOpDifference SVGCompOp = 22 SVGCompOpExclusion SVGCompOp = 23 )
func SVGCompOpFromString ¶
The function takes the following parameters:
The function returns the following values:
type SVGCompOpProperty ¶
type SVGCompOpProperty struct {
// contains filtered or unexported fields
}
SVGCompOpProperty: instance of this type is always passed by reference.
func (*SVGCompOpProperty) Base ¶
func (s *SVGCompOpProperty) Base() *Property
func (*SVGCompOpProperty) Value ¶
func (s *SVGCompOpProperty) Value() SVGCompOp
type SVGDashArray ¶
type SVGDashArray struct {
// contains filtered or unexported fields
}
SVGDashArray: instance of this type is always passed by reference.
func (*SVGDashArray) Dashes ¶
func (s *SVGDashArray) Dashes() *SVGLength
func (*SVGDashArray) NDashes ¶
func (s *SVGDashArray) NDashes() uint
type SVGDashArrayAttribute ¶
type SVGDashArrayAttribute struct {
// contains filtered or unexported fields
}
SVGDashArrayAttribute: instance of this type is always passed by reference.
func (*SVGDashArrayAttribute) Base ¶
func (s *SVGDashArrayAttribute) Base() *Attribute
func (*SVGDashArrayAttribute) Value ¶
func (s *SVGDashArrayAttribute) Value() *SVGDashArray
type SVGDashArrayProperty ¶
type SVGDashArrayProperty struct {
// contains filtered or unexported fields
}
SVGDashArrayProperty: instance of this type is always passed by reference.
func (*SVGDashArrayProperty) Base ¶
func (s *SVGDashArrayProperty) Base() *Property
func (*SVGDashArrayProperty) Value ¶
func (s *SVGDashArrayProperty) Value() *SVGDashArray
type SVGDefsElement ¶
type SVGDefsElement struct { SVGTransformable // contains filtered or unexported fields }
func NewSVGDefsElement ¶
func NewSVGDefsElement() *SVGDefsElement
The function returns the following values:
type SVGDefsElementOverrider ¶
type SVGDefsElementOverrider interface { }
SVGDefsElementOverrider contains methods that are overridable.
type SVGDisplay ¶
const ( SVGDisplayError SVGDisplay = -1 SVGDisplayNone SVGDisplay = 0 SVGDisplayInline SVGDisplay = 1 SVGDisplayBlock SVGDisplay = 2 SVGDisplayListItem SVGDisplay = 3 SVGDisplayRunIn SVGDisplay = 4 SVGDisplayCompact SVGDisplay = 5 SVGDisplayMarker SVGDisplay = 6 SVGDisplayTable SVGDisplay = 7 SVGDisplayInlineTable SVGDisplay = 8 SVGDisplayTableRowGroup SVGDisplay = 9 SVGDisplayTableHeaderGroup SVGDisplay = 10 SVGDisplayTableRow SVGDisplay = 12 SVGDisplayTableColumnGroup SVGDisplay = 13 SVGDisplayTableColumn SVGDisplay = 14 SVGDisplayTableCell SVGDisplay = 15 SVGDisplayTableCaption SVGDisplay = 16 )
func SVGDisplayFromString ¶
func SVGDisplayFromString(str string) SVGDisplay
The function takes the following parameters:
The function returns the following values:
func (SVGDisplay) String ¶
func (s SVGDisplay) String() string
String returns the name in string for SVGDisplay.
type SVGDisplayProperty ¶
type SVGDisplayProperty struct {
// contains filtered or unexported fields
}
SVGDisplayProperty: instance of this type is always passed by reference.
func (*SVGDisplayProperty) Base ¶
func (s *SVGDisplayProperty) Base() *Property
func (*SVGDisplayProperty) Value ¶
func (s *SVGDisplayProperty) Value() SVGDisplay
type SVGDocument ¶
type SVGDocument struct { DOMDocument // contains filtered or unexported fields }
func (*SVGDocument) ElementByID ¶
func (self *SVGDocument) ElementByID(id string) SVGElementer
The function takes the following parameters:
- id of the element to find.
The function returns the following values:
- svgElement: requested element, NULL if not found.
func (*SVGDocument) RegisterElement ¶
func (self *SVGDocument) RegisterElement(element SVGElementer, id, oldId string)
The function takes the following parameters:
- element
- id
- oldId
type SVGDocumentOverrider ¶
type SVGDocumentOverrider interface { }
SVGDocumentOverrider contains methods that are overridable.
type SVGDoubleAttribute ¶
type SVGDoubleAttribute struct {
// contains filtered or unexported fields
}
SVGDoubleAttribute: instance of this type is always passed by reference.
func (*SVGDoubleAttribute) Base ¶
func (s *SVGDoubleAttribute) Base() *Attribute
func (*SVGDoubleAttribute) Value ¶
func (s *SVGDoubleAttribute) Value() float64
type SVGDoubleProperty ¶
type SVGDoubleProperty struct {
// contains filtered or unexported fields
}
SVGDoubleProperty: instance of this type is always passed by reference.
func (*SVGDoubleProperty) Base ¶
func (s *SVGDoubleProperty) Base() *Property
func (*SVGDoubleProperty) Value ¶
func (s *SVGDoubleProperty) Value() float64
type SVGEdgeMode ¶
const ( SVGEdgeModeError SVGEdgeMode = -1 SVGEdgeModeDuplicate SVGEdgeMode = 0 SVGEdgeModeWrap SVGEdgeMode = 1 SVGEdgeModeNone SVGEdgeMode = 2 )
func SVGEdgeModeFromString ¶
func SVGEdgeModeFromString(str string) SVGEdgeMode
The function takes the following parameters:
The function returns the following values:
func (SVGEdgeMode) String ¶
func (s SVGEdgeMode) String() string
String returns the name in string for SVGEdgeMode.
type SVGEdgeModeAttribute ¶
type SVGEdgeModeAttribute struct {
// contains filtered or unexported fields
}
SVGEdgeModeAttribute: instance of this type is always passed by reference.
func (*SVGEdgeModeAttribute) Base ¶
func (s *SVGEdgeModeAttribute) Base() *Attribute
func (*SVGEdgeModeAttribute) Value ¶
func (s *SVGEdgeModeAttribute) Value() SVGEdgeMode
type SVGElement ¶
type SVGElement struct { DOMElement // contains filtered or unexported fields }
func BaseSVGElement ¶
func BaseSVGElement(obj SVGElementer) *SVGElement
BaseSVGElement returns the underlying base object.
func (*SVGElement) Category ¶
func (element *SVGElement) Category() SVGElementCategory
The function returns the following values:
func (*SVGElement) Extents ¶
func (element *SVGElement) Extents(view *SVGView, extents *Extents)
The function takes the following parameters:
- view
- extents
func (*SVGElement) ForceRender ¶
func (element *SVGElement) ForceRender(view *SVGView)
The function takes the following parameters:
func (*SVGElement) Render ¶
func (element *SVGElement) Render(view *SVGView)
The function takes the following parameters:
func (*SVGElement) TransformedGetExtents ¶
func (element *SVGElement) TransformedGetExtents(view *SVGView, extents *Extents)
The function takes the following parameters:
- view
- extents
type SVGElementCategory ¶
const ( SVGElementCategoryNone SVGElementCategory = 0b1 SVGElementCategoryDescriptive SVGElementCategory = 0b10 SVGElementCategoryContainer SVGElementCategory = 0b100 SVGElementCategoryStructural SVGElementCategory = 0b1000 SVGElementCategoryGraphicsReferencing SVGElementCategory = 0b10000 SVGElementCategoryGraphics SVGElementCategory = 0b100000 SVGElementCategoryShape SVGElementCategory = 0b1000000 SVGElementCategoryBasicShape SVGElementCategory = 0b10000000 SVGElementCategoryTextContent SVGElementCategory = 0b100000000 SVGElementCategoryTextContentChild SVGElementCategory = 0b1000000000 SVGElementCategoryGradient SVGElementCategory = 0b10000000000 SVGElementCategoryFilterPrimitive SVGElementCategory = 0b100000000000 SVGElementCategoryAnimation SVGElementCategory = 0b1000000000000 )
func (SVGElementCategory) Has ¶
func (s SVGElementCategory) Has(other SVGElementCategory) bool
Has returns true if s contains other.
func (SVGElementCategory) String ¶
func (s SVGElementCategory) String() string
String returns the names in string for SVGElementCategory.
type SVGElementOverrider ¶
type SVGElementOverrider interface { EnableRendering() // The function takes the following parameters: // // - view // - extents // Extents(view *SVGView, extents *Extents) // The function takes the following parameters: // Render(view *SVGView) // The function takes the following parameters: // // - view // - extents // TransformedGetExtents(view *SVGView, extents *Extents) // The function takes the following parameters: // TransformedRender(view *SVGView) }
SVGElementOverrider contains methods that are overridable.
type SVGElementer ¶
type SVGElementer interface { externglib.Objector // contains filtered or unexported methods }
SVGElementer describes types inherited from class SVGElement.
To get the original type, the caller must assert this to an interface or another type.
type SVGEllipseElement ¶
type SVGEllipseElement struct { SVGTransformable // contains filtered or unexported fields }
func NewSVGEllipseElement ¶
func NewSVGEllipseElement() *SVGEllipseElement
The function returns the following values:
type SVGEllipseElementOverrider ¶
type SVGEllipseElementOverrider interface { }
SVGEllipseElementOverrider contains methods that are overridable.
type SVGEnableBackground ¶
const ( SVGEnableBackgroundError SVGEnableBackground = -1 SVGEnableBackgroundAccumulate SVGEnableBackground = 0 NewSVGEnableBackground SVGEnableBackground = 1 )
func SVGEnableBackgroundFromString ¶
func SVGEnableBackgroundFromString(str string) SVGEnableBackground
The function takes the following parameters:
The function returns the following values:
func (SVGEnableBackground) String ¶
func (s SVGEnableBackground) String() string
String returns the name in string for SVGEnableBackground.
type SVGEnableBackgroundProperty ¶
type SVGEnableBackgroundProperty struct {
// contains filtered or unexported fields
}
SVGEnableBackgroundProperty: instance of this type is always passed by reference.
func (*SVGEnableBackgroundProperty) Base ¶
func (s *SVGEnableBackgroundProperty) Base() *Property
func (*SVGEnableBackgroundProperty) Value ¶
func (s *SVGEnableBackgroundProperty) Value() SVGEnableBackground
type SVGFillRule ¶
const ( SVGFillRuleError SVGFillRule = -1 SVGFillRuleNonZero SVGFillRule = 0 SVGFillRuleEvenOdd SVGFillRule = 1 )
func SVGFillRuleFromString ¶
func SVGFillRuleFromString(str string) SVGFillRule
The function takes the following parameters:
The function returns the following values:
func (SVGFillRule) String ¶
func (s SVGFillRule) String() string
String returns the name in string for SVGFillRule.
type SVGFillRuleProperty ¶
type SVGFillRuleProperty struct {
// contains filtered or unexported fields
}
SVGFillRuleProperty: instance of this type is always passed by reference.
func (*SVGFillRuleProperty) Base ¶
func (s *SVGFillRuleProperty) Base() *Property
func (*SVGFillRuleProperty) Value ¶
func (s *SVGFillRuleProperty) Value() SVGFillRule
type SVGFilterBlend ¶
type SVGFilterBlend struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterBlend ¶
func NewSVGFilterBlend() *SVGFilterBlend
The function returns the following values:
type SVGFilterBlendOverrider ¶
type SVGFilterBlendOverrider interface { }
SVGFilterBlendOverrider contains methods that are overridable.
type SVGFilterColorMatrix ¶
type SVGFilterColorMatrix struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterColorMatrix ¶
func NewSVGFilterColorMatrix() *SVGFilterColorMatrix
The function returns the following values:
type SVGFilterColorMatrixOverrider ¶
type SVGFilterColorMatrixOverrider interface { }
SVGFilterColorMatrixOverrider contains methods that are overridable.
type SVGFilterComposite ¶
type SVGFilterComposite struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterComposite ¶
func NewSVGFilterComposite() *SVGFilterComposite
The function returns the following values:
type SVGFilterCompositeOverrider ¶
type SVGFilterCompositeOverrider interface { }
SVGFilterCompositeOverrider contains methods that are overridable.
type SVGFilterConvolveMatrix ¶
type SVGFilterConvolveMatrix struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterConvolveMatrix ¶
func NewSVGFilterConvolveMatrix() *SVGFilterConvolveMatrix
The function returns the following values:
type SVGFilterConvolveMatrixOverrider ¶
type SVGFilterConvolveMatrixOverrider interface { }
SVGFilterConvolveMatrixOverrider contains methods that are overridable.
type SVGFilterDisplacementMap ¶
type SVGFilterDisplacementMap struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterDisplacementMap ¶
func NewSVGFilterDisplacementMap() *SVGFilterDisplacementMap
The function returns the following values:
type SVGFilterDisplacementMapOverrider ¶
type SVGFilterDisplacementMapOverrider interface { }
SVGFilterDisplacementMapOverrider contains methods that are overridable.
type SVGFilterElement ¶
type SVGFilterElement struct { SVGElement // contains filtered or unexported fields }
func NewSVGFilterElement ¶
func NewSVGFilterElement() *SVGFilterElement
The function returns the following values:
func (*SVGFilterElement) EffectViewport ¶
func (filter *SVGFilterElement) EffectViewport(sourceExtents *Box, view *SVGView) *Box
The function takes the following parameters:
- sourceExtents
- view
The function returns the following values:
type SVGFilterElementOverrider ¶
type SVGFilterElementOverrider interface { }
SVGFilterElementOverrider contains methods that are overridable.
type SVGFilterFlood ¶
type SVGFilterFlood struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterFlood ¶
func NewSVGFilterFlood() *SVGFilterFlood
The function returns the following values:
type SVGFilterFloodOverrider ¶
type SVGFilterFloodOverrider interface { }
SVGFilterFloodOverrider contains methods that are overridable.
type SVGFilterGaussianBlur ¶
type SVGFilterGaussianBlur struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterGaussianBlur ¶
func NewSVGFilterGaussianBlur() *SVGFilterGaussianBlur
The function returns the following values:
type SVGFilterGaussianBlurOverrider ¶
type SVGFilterGaussianBlurOverrider interface { }
SVGFilterGaussianBlurOverrider contains methods that are overridable.
type SVGFilterImage ¶
type SVGFilterImage struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterImage ¶
func NewSVGFilterImage() *SVGFilterImage
The function returns the following values:
type SVGFilterImageOverrider ¶
type SVGFilterImageOverrider interface { }
SVGFilterImageOverrider contains methods that are overridable.
type SVGFilterInput ¶
const ( SVGFilterInputError SVGFilterInput = -1 SVGFilterInputSourceGraphic SVGFilterInput = 0 SVGFilterInputSourceAlpha SVGFilterInput = 1 SVGFilterInputBackgroundImage SVGFilterInput = 2 SVGFilterInputBackgroundAlpha SVGFilterInput = 3 SVGFilterInputFillPaint SVGFilterInput = 4 SVGFilterInputStrokePaint SVGFilterInput = 5 )
func (SVGFilterInput) String ¶
func (s SVGFilterInput) String() string
String returns the name in string for SVGFilterInput.
type SVGFilterMerge ¶
type SVGFilterMerge struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterMerge ¶
func NewSVGFilterMerge() *SVGFilterMerge
The function returns the following values:
type SVGFilterMergeNode ¶
type SVGFilterMergeNode struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterMergeNode ¶
func NewSVGFilterMergeNode() *SVGFilterMergeNode
The function returns the following values:
type SVGFilterMergeNodeOverrider ¶
type SVGFilterMergeNodeOverrider interface { }
SVGFilterMergeNodeOverrider contains methods that are overridable.
type SVGFilterMergeOverrider ¶
type SVGFilterMergeOverrider interface { }
SVGFilterMergeOverrider contains methods that are overridable.
type SVGFilterMorphology ¶
type SVGFilterMorphology struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterMorphology ¶
func NewSVGFilterMorphology() *SVGFilterMorphology
The function returns the following values:
type SVGFilterMorphologyOverrider ¶
type SVGFilterMorphologyOverrider interface { }
SVGFilterMorphologyOverrider contains methods that are overridable.
type SVGFilterOffset ¶
type SVGFilterOffset struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterOffset ¶
func NewSVGFilterOffset() *SVGFilterOffset
The function returns the following values:
type SVGFilterOffsetOverrider ¶
type SVGFilterOffsetOverrider interface { }
SVGFilterOffsetOverrider contains methods that are overridable.
type SVGFilterPrimitive ¶
type SVGFilterPrimitive struct { SVGElement // contains filtered or unexported fields }
func BaseSVGFilterPrimitive ¶
func BaseSVGFilterPrimitive(obj SVGFilterPrimitiver) *SVGFilterPrimitive
BaseSVGFilterPrimitive returns the underlying base object.
func (*SVGFilterPrimitive) Apply ¶
func (self *SVGFilterPrimitive) Apply(view *SVGView)
The function takes the following parameters:
type SVGFilterPrimitiveOverrider ¶
type SVGFilterPrimitiveOverrider interface { // The function takes the following parameters: // // - view // - input // - output // - subregion // Apply(view *SVGView, input, output string, subregion *Box) }
SVGFilterPrimitiveOverrider contains methods that are overridable.
type SVGFilterPrimitiver ¶
type SVGFilterPrimitiver interface { externglib.Objector // contains filtered or unexported methods }
SVGFilterPrimitiver describes types inherited from class SVGFilterPrimitive.
To get the original type, the caller must assert this to an interface or another type.
type SVGFilterSpecularLighting ¶
type SVGFilterSpecularLighting struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterSpecularLighting ¶
func NewSVGFilterSpecularLighting() *SVGFilterSpecularLighting
The function returns the following values:
type SVGFilterSpecularLightingOverrider ¶
type SVGFilterSpecularLightingOverrider interface { }
SVGFilterSpecularLightingOverrider contains methods that are overridable.
type SVGFilterSurface ¶
type SVGFilterSurface struct {
// contains filtered or unexported fields
}
SVGFilterSurface: instance of this type is always passed by reference.
func NewSVGFilterSurface ¶
func NewSVGFilterSurface(name string, width uint, height uint, subregion *Box) *SVGFilterSurface
NewSVGFilterSurface constructs a struct SVGFilterSurface.
func NewSVGFilterSurfaceSimilar ¶
func NewSVGFilterSurfaceSimilar(name string, model *SVGFilterSurface, subregion *Box) *SVGFilterSurface
NewSVGFilterSurfaceSimilar constructs a struct SVGFilterSurface.
func NewSVGFilterSurfaceWithContent ¶
func NewSVGFilterSurfaceWithContent(name string, surface *cairo.Surface, subregion *Box) *SVGFilterSurface
NewSVGFilterSurfaceWithContent constructs a struct SVGFilterSurface.
func (*SVGFilterSurface) Alpha ¶
func (input *SVGFilterSurface) Alpha(output *SVGFilterSurface)
The function takes the following parameters:
func (*SVGFilterSurface) Blend ¶
func (input1 *SVGFilterSurface) Blend(input2 *SVGFilterSurface, output *SVGFilterSurface, blendingMode int)
The function takes the following parameters:
- input2
- output
- blendingMode
func (*SVGFilterSurface) Blur ¶
func (input *SVGFilterSurface) Blur(output *SVGFilterSurface, sx float64, sy float64)
The function takes the following parameters:
- output
- sx
- sy
func (*SVGFilterSurface) CairoSurface ¶
func (surface *SVGFilterSurface) CairoSurface() *cairo.Surface
The function returns the following values:
func (*SVGFilterSurface) ColorMatrix ¶
func (input *SVGFilterSurface) ColorMatrix(output *SVGFilterSurface, typ SVGColorFilterType, nValues uint, values *float64)
The function takes the following parameters:
- output
- typ
- nValues
- values
func (*SVGFilterSurface) ConvolveMatrix ¶
func (input *SVGFilterSurface) ConvolveMatrix(output *SVGFilterSurface, xOrder uint, yOrder uint, nValues uint, values *float64, divisor float64, bias float64, targetX uint, targetY uint, edgeMode SVGEdgeMode, preserveAlpha bool)
The function takes the following parameters:
- output
- xOrder
- yOrder
- nValues
- values
- divisor
- bias
- targetX
- targetY
- edgeMode
- preserveAlpha
func (*SVGFilterSurface) DisplacementMap ¶
func (input1 *SVGFilterSurface) DisplacementMap(input2 *SVGFilterSurface, output *SVGFilterSurface, xScale float64, yScale float64, xChannelSelector SVGChannelSelector, yChannelSelector SVGChannelSelector)
The function takes the following parameters:
- input2
- output
- xScale
- yScale
- xChannelSelector
- yChannelSelector
func (*SVGFilterSurface) Flood ¶
func (surface *SVGFilterSurface) Flood(red float64, green float64, blue float64, opacity float64)
The function takes the following parameters:
- red
- green
- blue
- opacity
func (*SVGFilterSurface) Image ¶
func (output *SVGFilterSurface) Image(pixbuf *gdkpixbuf.Pixbuf, preserveAspectRatio *SVGPreserveAspectRatio)
The function takes the following parameters:
- pixbuf
- preserveAspectRatio
func (*SVGFilterSurface) Merge ¶
func (input *SVGFilterSurface) Merge(output *SVGFilterSurface)
The function takes the following parameters:
func (*SVGFilterSurface) Morphology ¶
func (inputSurface *SVGFilterSurface) Morphology(outputSurface *SVGFilterSurface, op SVGMorphologyOperator, rx float64, ry float64)
The function takes the following parameters:
- outputSurface
- op
- rx
- ry
func (*SVGFilterSurface) Name ¶
func (surface *SVGFilterSurface) Name() string
The function returns the following values:
func (*SVGFilterSurface) Offset ¶
func (input *SVGFilterSurface) Offset(output *SVGFilterSurface, dx int, dy int)
The function takes the following parameters:
- output
- dx
- dy
func (*SVGFilterSurface) SpecularLighting ¶
func (outputSurface *SVGFilterSurface) SpecularLighting(surfaceScale float64, specularConstant float64, specularExponent float64, dx float64, dy float64)
The function takes the following parameters:
- surfaceScale
- specularConstant
- specularExponent
- dx
- dy
func (*SVGFilterSurface) Subregion ¶
func (surface *SVGFilterSurface) Subregion() *Box
The function returns the following values:
func (*SVGFilterSurface) Tile ¶
func (input *SVGFilterSurface) Tile(output *SVGFilterSurface)
The function takes the following parameters:
func (*SVGFilterSurface) Turbulence ¶
func (outputSurface *SVGFilterSurface) Turbulence(baseFrequencyX float64, baseFrequencyY float64, nOctaves int, seed float64, stitchTiles SVGStitchTiles, typ SVGTurbulenceType, transform *cairo.Matrix)
The function takes the following parameters:
- baseFrequencyX
- baseFrequencyY
- nOctaves
- seed
- stitchTiles
- typ
- transform
type SVGFilterTile ¶
type SVGFilterTile struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterTile ¶
func NewSVGFilterTile() *SVGFilterTile
The function returns the following values:
type SVGFilterTileOverrider ¶
type SVGFilterTileOverrider interface { }
SVGFilterTileOverrider contains methods that are overridable.
type SVGFilterTurbulence ¶
type SVGFilterTurbulence struct { SVGFilterPrimitive // contains filtered or unexported fields }
func NewSVGFilterTurbulence ¶
func NewSVGFilterTurbulence() *SVGFilterTurbulence
The function returns the following values:
type SVGFilterTurbulenceOverrider ¶
type SVGFilterTurbulenceOverrider interface { }
SVGFilterTurbulenceOverrider contains methods that are overridable.
type SVGFontStretch ¶
const ( SVGFontStretchError SVGFontStretch = -1 SVGFontStretchNormal SVGFontStretch = 0 SVGFontStretchUltraCondensed SVGFontStretch = 1 SVGFontStretchExtraCondensed SVGFontStretch = 2 SVGFontStretchCondensed SVGFontStretch = 3 SVGFontStretchSemiCondensed SVGFontStretch = 4 SVGFontStretchSemiExpanded SVGFontStretch = 5 SVGFontStretchExpanded SVGFontStretch = 6 SVGFontStretchExtraExpanded SVGFontStretch = 7 SVGFontStretchUltraExpanded SVGFontStretch = 8 )
func SVGFontStretchFromString ¶
func SVGFontStretchFromString(str string) SVGFontStretch
The function takes the following parameters:
The function returns the following values:
func (SVGFontStretch) String ¶
func (s SVGFontStretch) String() string
String returns the name in string for SVGFontStretch.
type SVGFontStretchProperty ¶
type SVGFontStretchProperty struct {
// contains filtered or unexported fields
}
SVGFontStretchProperty: instance of this type is always passed by reference.
func (*SVGFontStretchProperty) Base ¶
func (s *SVGFontStretchProperty) Base() *Property
func (*SVGFontStretchProperty) Value ¶
func (s *SVGFontStretchProperty) Value() SVGFontStretch
type SVGFontStyle ¶
const ( SVGFontStyleError SVGFontStyle = -1 SVGFontStyleNormal SVGFontStyle = 0 SVGFontStyleOblique SVGFontStyle = 1 SVGFontStyleItalic SVGFontStyle = 2 )
func SVGFontStyleFromString ¶
func SVGFontStyleFromString(str string) SVGFontStyle
The function takes the following parameters:
The function returns the following values:
func (SVGFontStyle) String ¶
func (s SVGFontStyle) String() string
String returns the name in string for SVGFontStyle.
type SVGFontStyleProperty ¶
type SVGFontStyleProperty struct {
// contains filtered or unexported fields
}
SVGFontStyleProperty: instance of this type is always passed by reference.
func (*SVGFontStyleProperty) Base ¶
func (s *SVGFontStyleProperty) Base() *Property
func (*SVGFontStyleProperty) Value ¶
func (s *SVGFontStyleProperty) Value() SVGFontStyle
type SVGFontWeight ¶
const ( SVGFontWeightError SVGFontWeight = -1 SVGFontWeightNormal SVGFontWeight = 400 SVGFontWeightBold SVGFontWeight = 700 )
func SVGFontWeightFromString ¶
func SVGFontWeightFromString(str string) SVGFontWeight
The function takes the following parameters:
The function returns the following values:
func (SVGFontWeight) String ¶
func (s SVGFontWeight) String() string
String returns the name in string for SVGFontWeight.
type SVGFontWeightProperty ¶
type SVGFontWeightProperty struct {
// contains filtered or unexported fields
}
SVGFontWeightProperty: instance of this type is always passed by reference.
func (*SVGFontWeightProperty) Base ¶
func (s *SVGFontWeightProperty) Base() *Property
func (*SVGFontWeightProperty) Value ¶
func (s *SVGFontWeightProperty) Value() SVGFontWeight
type SVGGElement ¶
type SVGGElement struct { SVGTransformable // contains filtered or unexported fields }
type SVGGElementOverrider ¶
type SVGGElementOverrider interface { }
SVGGElementOverrider contains methods that are overridable.
type SVGGradientElement ¶
type SVGGradientElement struct { SVGElement // contains filtered or unexported fields }
func BaseSVGGradientElement ¶
func BaseSVGGradientElement(obj SVGGradientElementer) *SVGGradientElement
BaseSVGGradientElement returns the underlying base object.
type SVGGradientElementAttributes ¶
type SVGGradientElementAttributes struct {
// contains filtered or unexported fields
}
SVGGradientElementAttributes: instance of this type is always passed by reference.
func (*SVGGradientElementAttributes) SpreadMethod ¶
func (s *SVGGradientElementAttributes) SpreadMethod() SVGSpreadMethod
func (*SVGGradientElementAttributes) Transform ¶
func (s *SVGGradientElementAttributes) Transform() *SVGMatrix
func (*SVGGradientElementAttributes) Units ¶
func (s *SVGGradientElementAttributes) Units() SVGPatternUnits
type SVGGradientElementOverrider ¶
type SVGGradientElementOverrider interface { }
SVGGradientElementOverrider contains methods that are overridable.
type SVGGradientElementer ¶
type SVGGradientElementer interface { externglib.Objector // contains filtered or unexported methods }
SVGGradientElementer describes types inherited from class SVGGradientElement.
To get the original type, the caller must assert this to an interface or another type.
type SVGImageElement ¶
type SVGImageElement struct { SVGTransformable // contains filtered or unexported fields }
func NewSVGImageElement ¶
func NewSVGImageElement() *SVGImageElement
The function returns the following values:
type SVGImageElementOverrider ¶
type SVGImageElementOverrider interface { }
SVGImageElementOverrider contains methods that are overridable.
type SVGIntegerAttribute ¶
type SVGIntegerAttribute struct {
// contains filtered or unexported fields
}
SVGIntegerAttribute: instance of this type is always passed by reference.
func (*SVGIntegerAttribute) Base ¶
func (s *SVGIntegerAttribute) Base() *Attribute
func (*SVGIntegerAttribute) Value ¶
func (s *SVGIntegerAttribute) Value() int
type SVGLength ¶
type SVGLength struct {
// contains filtered or unexported fields
}
SVGLength: instance of this type is always passed by reference.
func (*SVGLength) Normalize ¶
func (length *SVGLength) Normalize(viewbox *SVGViewbox, fontSize float64, direction SVGLengthDirection) float64
The function takes the following parameters:
- viewbox
- fontSize
- direction
The function returns the following values:
func (*SVGLength) Type ¶
func (s *SVGLength) Type() SVGLengthType
type SVGLengthAttribute ¶
type SVGLengthAttribute struct {
// contains filtered or unexported fields
}
SVGLengthAttribute: instance of this type is always passed by reference.
func (*SVGLengthAttribute) Base ¶
func (s *SVGLengthAttribute) Base() *Attribute
func (*SVGLengthAttribute) Length ¶
func (s *SVGLengthAttribute) Length() *SVGLength
type SVGLengthDirection ¶
const ( SVGLengthDirectionError SVGLengthDirection = -1 SVGLengthDirectionHorizontal SVGLengthDirection = 0 SVGLengthDirectionVertical SVGLengthDirection = 1 SVGLengthDirectionDiagonal SVGLengthDirection = 2 )
func (SVGLengthDirection) String ¶
func (s SVGLengthDirection) String() string
String returns the name in string for SVGLengthDirection.
type SVGLengthList ¶
type SVGLengthList struct {
// contains filtered or unexported fields
}
SVGLengthList: instance of this type is always passed by reference.
func (*SVGLengthList) Lengths ¶
func (s *SVGLengthList) Lengths() *SVGLength
func (*SVGLengthList) NLengths ¶
func (s *SVGLengthList) NLengths() uint
type SVGLengthListAttribute ¶
type SVGLengthListAttribute struct {
// contains filtered or unexported fields
}
SVGLengthListAttribute: instance of this type is always passed by reference.
func (*SVGLengthListAttribute) Base ¶
func (s *SVGLengthListAttribute) Base() *Attribute
func (*SVGLengthListAttribute) List ¶
func (s *SVGLengthListAttribute) List() *SVGLengthList
type SVGLengthProperty ¶
type SVGLengthProperty struct {
// contains filtered or unexported fields
}
SVGLengthProperty: instance of this type is always passed by reference.
func (*SVGLengthProperty) Base ¶
func (s *SVGLengthProperty) Base() *Property
func (*SVGLengthProperty) Length ¶
func (s *SVGLengthProperty) Length() *SVGLength
type SVGLengthType ¶
const ( SVGLengthTypeError SVGLengthType = -1 SVGLengthTypeNumber SVGLengthType = 0 SVGLengthTypePercentage SVGLengthType = 1 SVGLengthTypeEms SVGLengthType = 2 SVGLengthTypeExs SVGLengthType = 3 SVGLengthTypePx SVGLengthType = 4 SVGLengthTypeCm SVGLengthType = 5 SVGLengthTypeMm SVGLengthType = 6 SVGLengthTypeIn SVGLengthType = 7 SVGLengthTypePt SVGLengthType = 8 SVGLengthTypePc SVGLengthType = 9 )
func SVGLengthTypeFromString ¶
func SVGLengthTypeFromString(str string) SVGLengthType
The function takes the following parameters:
The function returns the following values:
func (SVGLengthType) String ¶
func (s SVGLengthType) String() string
String returns the name in string for SVGLengthType.
type SVGLineCap ¶
const ( SVGLineCapError SVGLineCap = -1 SVGLineCapButt SVGLineCap = 0 SVGLineCapRound SVGLineCap = 1 SVGLineCapSquare SVGLineCap = 2 )
func SVGLineCapFromString ¶
func SVGLineCapFromString(str string) SVGLineCap
The function takes the following parameters:
The function returns the following values:
func (SVGLineCap) String ¶
func (s SVGLineCap) String() string
String returns the name in string for SVGLineCap.
type SVGLineCapProperty ¶
type SVGLineCapProperty struct {
// contains filtered or unexported fields
}
SVGLineCapProperty: instance of this type is always passed by reference.
func (*SVGLineCapProperty) Base ¶
func (s *SVGLineCapProperty) Base() *Property
func (*SVGLineCapProperty) Value ¶
func (s *SVGLineCapProperty) Value() SVGLineCap
type SVGLineElement ¶
type SVGLineElement struct { SVGTransformable // contains filtered or unexported fields }
func NewSVGLineElement ¶
func NewSVGLineElement() *SVGLineElement
The function returns the following values:
type SVGLineElementOverrider ¶
type SVGLineElementOverrider interface { }
SVGLineElementOverrider contains methods that are overridable.
type SVGLineJoin ¶
const ( SVGLineJoinError SVGLineJoin = -1 SVGLineJoinMiter SVGLineJoin = 0 SVGLineJoinRound SVGLineJoin = 1 SVGLineJoinBevel SVGLineJoin = 2 )
func SVGLineJoinFromString ¶
func SVGLineJoinFromString(str string) SVGLineJoin
The function takes the following parameters:
The function returns the following values:
func (SVGLineJoin) String ¶
func (s SVGLineJoin) String() string
String returns the name in string for SVGLineJoin.
type SVGLineJoinProperty ¶
type SVGLineJoinProperty struct {
// contains filtered or unexported fields
}
SVGLineJoinProperty: instance of this type is always passed by reference.
func (*SVGLineJoinProperty) Base ¶
func (s *SVGLineJoinProperty) Base() *Property
func (*SVGLineJoinProperty) Value ¶
func (s *SVGLineJoinProperty) Value() SVGLineJoin
type SVGLinearGradientElement ¶
type SVGLinearGradientElement struct { SVGGradientElement // contains filtered or unexported fields }
func NewSVGLinearGradientElement ¶
func NewSVGLinearGradientElement() *SVGLinearGradientElement
The function returns the following values:
type SVGLinearGradientElementOverrider ¶
type SVGLinearGradientElementOverrider interface { }
SVGLinearGradientElementOverrider contains methods that are overridable.
type SVGMarkerElement ¶
type SVGMarkerElement struct { SVGElement // contains filtered or unexported fields }
func NewSVGMarkerElement ¶
func NewSVGMarkerElement() *SVGMarkerElement
The function returns the following values:
func (*SVGMarkerElement) Render ¶
func (marker *SVGMarkerElement) Render(view *SVGView, strokeWidth, vertexAngle float64)
The function takes the following parameters:
- view
- strokeWidth
- vertexAngle
type SVGMarkerElementOverrider ¶
type SVGMarkerElementOverrider interface { }
SVGMarkerElementOverrider contains methods that are overridable.
type SVGMarkerUnits ¶
const ( SVGMarkerUnitsError SVGMarkerUnits = -1 SVGMarkerUnitsStrokeWidth SVGMarkerUnits = 0 SVGMarkerUnitsUserSpaceOnUse SVGMarkerUnits = 1 )
func SVGMarkerUnitsFromString ¶
func SVGMarkerUnitsFromString(str string) SVGMarkerUnits
The function takes the following parameters:
The function returns the following values:
func (SVGMarkerUnits) String ¶
func (s SVGMarkerUnits) String() string
String returns the name in string for SVGMarkerUnits.
type SVGMarkerUnitsAttribute ¶
type SVGMarkerUnitsAttribute struct {
// contains filtered or unexported fields
}
SVGMarkerUnitsAttribute: instance of this type is always passed by reference.
func (*SVGMarkerUnitsAttribute) Base ¶
func (s *SVGMarkerUnitsAttribute) Base() *Attribute
func (*SVGMarkerUnitsAttribute) Value ¶
func (s *SVGMarkerUnitsAttribute) Value() SVGMarkerUnits
type SVGMaskElement ¶
type SVGMaskElement struct { SVGElement // contains filtered or unexported fields }
func NewSVGMaskElement ¶
func NewSVGMaskElement() *SVGMaskElement
The function returns the following values:
type SVGMaskElementOverrider ¶
type SVGMaskElementOverrider interface { }
SVGMaskElementOverrider contains methods that are overridable.
type SVGMatrix ¶
type SVGMatrix struct {
// contains filtered or unexported fields
}
SVGMatrix: instance of this type is always passed by reference.
func (*SVGMatrix) Flags ¶
func (s *SVGMatrix) Flags() SVGMatrixFlags
func (*SVGMatrix) InitIdentity ¶
func (matrix *SVGMatrix) InitIdentity()
func (*SVGMatrix) InitRotate ¶
The function takes the following parameters:
func (*SVGMatrix) IsIdentity ¶
The function returns the following values:
func (*SVGMatrix) IsInvertible ¶
The function returns the following values:
type SVGMatrixFlags ¶
const (
SVGMatrixFlagsIdentity SVGMatrixFlags = 0b1
)
func (SVGMatrixFlags) Has ¶
func (s SVGMatrixFlags) Has(other SVGMatrixFlags) bool
Has returns true if s contains other.
func (SVGMatrixFlags) String ¶
func (s SVGMatrixFlags) String() string
String returns the names in string for SVGMatrixFlags.
type SVGMeetOrSlice ¶
const ( SVGMeetOrSliceError SVGMeetOrSlice = -1 SVGMeetOrSliceMeet SVGMeetOrSlice = 0 SVGMeetOrSliceSlice SVGMeetOrSlice = 1 )
func SVGMeetOrSliceFromString ¶
func SVGMeetOrSliceFromString(str string) SVGMeetOrSlice
The function takes the following parameters:
The function returns the following values:
func (SVGMeetOrSlice) String ¶
func (s SVGMeetOrSlice) String() string
String returns the name in string for SVGMeetOrSlice.
type SVGMorphologyOperator ¶
const ( SVGMorphologyOperatorError SVGMorphologyOperator = -1 SVGMorphologyOperatorErode SVGMorphologyOperator = 0 SVGMorphologyOperatorDilate SVGMorphologyOperator = 1 )
func SVGMorphologyOperatorFromString ¶
func SVGMorphologyOperatorFromString(str string) SVGMorphologyOperator
The function takes the following parameters:
The function returns the following values:
func (SVGMorphologyOperator) String ¶
func (s SVGMorphologyOperator) String() string
String returns the name in string for SVGMorphologyOperator.
type SVGMorphologyOperatorAttribute ¶
type SVGMorphologyOperatorAttribute struct {
// contains filtered or unexported fields
}
SVGMorphologyOperatorAttribute: instance of this type is always passed by reference.
func (*SVGMorphologyOperatorAttribute) Base ¶
func (s *SVGMorphologyOperatorAttribute) Base() *Attribute
func (*SVGMorphologyOperatorAttribute) Value ¶
func (s *SVGMorphologyOperatorAttribute) Value() SVGMorphologyOperator
type SVGOneOrTwoDouble ¶
type SVGOneOrTwoDouble struct {
// contains filtered or unexported fields
}
SVGOneOrTwoDouble: instance of this type is always passed by reference.
func NewSVGOneOrTwoDouble ¶
func NewSVGOneOrTwoDouble(a, b float64) SVGOneOrTwoDouble
NewSVGOneOrTwoDouble creates a new SVGOneOrTwoDouble instance from the given fields.
func (*SVGOneOrTwoDouble) A ¶
func (s *SVGOneOrTwoDouble) A() float64
func (*SVGOneOrTwoDouble) B ¶
func (s *SVGOneOrTwoDouble) B() float64
type SVGOneOrTwoDoubleAttribute ¶
type SVGOneOrTwoDoubleAttribute struct {
// contains filtered or unexported fields
}
SVGOneOrTwoDoubleAttribute: instance of this type is always passed by reference.
func (*SVGOneOrTwoDoubleAttribute) Base ¶
func (s *SVGOneOrTwoDoubleAttribute) Base() *Attribute
func (*SVGOneOrTwoDoubleAttribute) Value ¶
func (s *SVGOneOrTwoDoubleAttribute) Value() *SVGOneOrTwoDouble
type SVGOneOrTwoInteger ¶
type SVGOneOrTwoInteger struct {
// contains filtered or unexported fields
}
SVGOneOrTwoInteger: instance of this type is always passed by reference.
func NewSVGOneOrTwoInteger ¶
func NewSVGOneOrTwoInteger(a, b int) SVGOneOrTwoInteger
NewSVGOneOrTwoInteger creates a new SVGOneOrTwoInteger instance from the given fields.
func (*SVGOneOrTwoInteger) A ¶
func (s *SVGOneOrTwoInteger) A() int
func (*SVGOneOrTwoInteger) B ¶
func (s *SVGOneOrTwoInteger) B() int
type SVGOneOrTwoIntegerAttribute ¶
type SVGOneOrTwoIntegerAttribute struct {
// contains filtered or unexported fields
}
SVGOneOrTwoIntegerAttribute: instance of this type is always passed by reference.
func (*SVGOneOrTwoIntegerAttribute) Base ¶
func (s *SVGOneOrTwoIntegerAttribute) Base() *Attribute
func (*SVGOneOrTwoIntegerAttribute) Value ¶
func (s *SVGOneOrTwoIntegerAttribute) Value() *SVGOneOrTwoInteger
type SVGOverflow ¶
const ( SVGOverflowError SVGOverflow = -1 SVGOverflowVisible SVGOverflow = 0 SVGOverflowHidden SVGOverflow = 1 SVGOverflowScroll SVGOverflow = 2 SVGOverflowAuto SVGOverflow = 3 )
func SVGOverflowFromString ¶
func SVGOverflowFromString(str string) SVGOverflow
The function takes the following parameters:
The function returns the following values:
func (SVGOverflow) String ¶
func (s SVGOverflow) String() string
String returns the name in string for SVGOverflow.
type SVGOverflowProperty ¶
type SVGOverflowProperty struct {
// contains filtered or unexported fields
}
SVGOverflowProperty: instance of this type is always passed by reference.
func (*SVGOverflowProperty) Base ¶
func (s *SVGOverflowProperty) Base() *Property
func (*SVGOverflowProperty) Value ¶
func (s *SVGOverflowProperty) Value() SVGOverflow
type SVGPaint ¶
type SVGPaint struct {
// contains filtered or unexported fields
}
SVGPaint: instance of this type is always passed by reference.
func (*SVGPaint) Type ¶
func (s *SVGPaint) Type() SVGPaintType
type SVGPaintAttribute ¶
type SVGPaintAttribute struct {
// contains filtered or unexported fields
}
SVGPaintAttribute: instance of this type is always passed by reference.
func (*SVGPaintAttribute) Base ¶
func (s *SVGPaintAttribute) Base() *Attribute
func (*SVGPaintAttribute) Paint ¶
func (s *SVGPaintAttribute) Paint() *SVGPaint
type SVGPaintProperty ¶
type SVGPaintProperty struct {
// contains filtered or unexported fields
}
SVGPaintProperty: instance of this type is always passed by reference.
func (*SVGPaintProperty) Base ¶
func (s *SVGPaintProperty) Base() *Property
func (*SVGPaintProperty) Paint ¶
func (s *SVGPaintProperty) Paint() *SVGPaint
type SVGPaintType ¶
const ( SVGPaintTypeError SVGPaintType = -1 SVGPaintTypeUnknown SVGPaintType = 0 SVGPaintTypeRGBColor SVGPaintType = 1 SVGPaintTypeRGBColorIccColor SVGPaintType = 2 SVGPaintTypeNone SVGPaintType = 101 SVGPaintTypeCurrentColor SVGPaintType = 102 SVGPaintTypeURINone SVGPaintType = 103 SVGPaintTypeURICurrentColor SVGPaintType = 104 SVGPaintTypeURIRgbColor SVGPaintType = 105 SVGPaintTypeURIRgbColorIccColor SVGPaintType = 106 SVGPaintTypeURI SVGPaintType = 107 )
func (SVGPaintType) String ¶
func (s SVGPaintType) String() string
String returns the name in string for SVGPaintType.
type SVGPathElement ¶
type SVGPathElement struct { SVGTransformable // contains filtered or unexported fields }
func NewSVGPathElement ¶
func NewSVGPathElement() *SVGPathElement
The function returns the following values:
type SVGPathElementOverrider ¶
type SVGPathElementOverrider interface { }
SVGPathElementOverrider contains methods that are overridable.
type SVGPatternElement ¶
type SVGPatternElement struct { SVGElement // contains filtered or unexported fields }
func NewSVGPatternElement ¶
func NewSVGPatternElement() *SVGPatternElement
The function returns the following values:
type SVGPatternElementOverrider ¶
type SVGPatternElementOverrider interface { }
SVGPatternElementOverrider contains methods that are overridable.
type SVGPatternUnits ¶
const ( SVGPatternUnitsError SVGPatternUnits = -1 SVGPatternUnitsUserSpaceOnUse SVGPatternUnits = 0 SVGPatternUnitsObjectBoundingBox SVGPatternUnits = 1 )
func SVGPatternUnitsFromString ¶
func SVGPatternUnitsFromString(str string) SVGPatternUnits
The function takes the following parameters:
The function returns the following values:
func (SVGPatternUnits) String ¶
func (s SVGPatternUnits) String() string
String returns the name in string for SVGPatternUnits.
type SVGPatternUnitsAttribute ¶
type SVGPatternUnitsAttribute struct {
// contains filtered or unexported fields
}
SVGPatternUnitsAttribute: instance of this type is always passed by reference.
func (*SVGPatternUnitsAttribute) Base ¶
func (s *SVGPatternUnitsAttribute) Base() *Attribute
func (*SVGPatternUnitsAttribute) Value ¶
func (s *SVGPatternUnitsAttribute) Value() SVGPatternUnits
type SVGPolygonElement ¶
type SVGPolygonElement struct { SVGTransformable // contains filtered or unexported fields }
func NewSVGPolygonElement ¶
func NewSVGPolygonElement() *SVGPolygonElement
The function returns the following values:
type SVGPolygonElementOverrider ¶
type SVGPolygonElementOverrider interface { }
SVGPolygonElementOverrider contains methods that are overridable.
type SVGPolylineElement ¶
type SVGPolylineElement struct { SVGTransformable // contains filtered or unexported fields }
func NewSVGPolylineElement ¶
func NewSVGPolylineElement() *SVGPolylineElement
The function returns the following values:
type SVGPolylineElementOverrider ¶
type SVGPolylineElementOverrider interface { }
SVGPolylineElementOverrider contains methods that are overridable.
type SVGPreserveAspectRatio ¶
type SVGPreserveAspectRatio struct {
// contains filtered or unexported fields
}
SVGPreserveAspectRatio: instance of this type is always passed by reference.
func (*SVGPreserveAspectRatio) Align ¶
func (s *SVGPreserveAspectRatio) Align() SVGAlign
func (*SVGPreserveAspectRatio) Defer ¶
func (s *SVGPreserveAspectRatio) Defer() bool
func (*SVGPreserveAspectRatio) MeetOrSlice ¶
func (s *SVGPreserveAspectRatio) MeetOrSlice() SVGMeetOrSlice
type SVGPreserveAspectRatioAttribute ¶
type SVGPreserveAspectRatioAttribute struct {
// contains filtered or unexported fields
}
SVGPreserveAspectRatioAttribute: instance of this type is always passed by reference.
func (*SVGPreserveAspectRatioAttribute) Base ¶
func (s *SVGPreserveAspectRatioAttribute) Base() *Attribute
func (*SVGPreserveAspectRatioAttribute) Value ¶
func (s *SVGPreserveAspectRatioAttribute) Value() *SVGPreserveAspectRatio
type SVGRadialGradientElement ¶
type SVGRadialGradientElement struct { SVGGradientElement // contains filtered or unexported fields }
func NewSVGRadialGradientElement ¶
func NewSVGRadialGradientElement() *SVGRadialGradientElement
The function returns the following values:
type SVGRadialGradientElementOverrider ¶
type SVGRadialGradientElementOverrider interface { }
SVGRadialGradientElementOverrider contains methods that are overridable.
type SVGRectElement ¶
type SVGRectElement struct { SVGTransformable // contains filtered or unexported fields }
func NewSVGRectElement ¶
func NewSVGRectElement() *SVGRectElement
The function returns the following values:
type SVGRectElementOverrider ¶
type SVGRectElementOverrider interface { }
SVGRectElementOverrider contains methods that are overridable.
type SVGSpreadMethod ¶
const ( SVGSpreadMethodError SVGSpreadMethod = -1 SVGSpreadMethodPad SVGSpreadMethod = 0 SVGSpreadMethodReflect SVGSpreadMethod = 1 SVGSpreadMethodRepeat SVGSpreadMethod = 2 )
func SVGSpreadMethodFromString ¶
func SVGSpreadMethodFromString(str string) SVGSpreadMethod
The function takes the following parameters:
The function returns the following values:
func (SVGSpreadMethod) String ¶
func (s SVGSpreadMethod) String() string
String returns the name in string for SVGSpreadMethod.
type SVGSpreadMethodAtttribute ¶
type SVGSpreadMethodAtttribute struct {
// contains filtered or unexported fields
}
SVGSpreadMethodAtttribute: instance of this type is always passed by reference.
func (*SVGSpreadMethodAtttribute) Base ¶
func (s *SVGSpreadMethodAtttribute) Base() *Attribute
func (*SVGSpreadMethodAtttribute) Value ¶
func (s *SVGSpreadMethodAtttribute) Value() SVGSpreadMethod
type SVGStitchTiles ¶
const ( SVGStitchTilesError SVGStitchTiles = -1 SVGStitchTilesNoStitch SVGStitchTiles = 0 SVGStitchTilesStitch SVGStitchTiles = 1 )
func SVGStitchTilesFromString ¶
func SVGStitchTilesFromString(str string) SVGStitchTiles
The function takes the following parameters:
The function returns the following values:
func (SVGStitchTiles) String ¶
func (s SVGStitchTiles) String() string
String returns the name in string for SVGStitchTiles.
type SVGStitchTilesAttribute ¶
type SVGStitchTilesAttribute struct {
// contains filtered or unexported fields
}
SVGStitchTilesAttribute: instance of this type is always passed by reference.
func (*SVGStitchTilesAttribute) Base ¶
func (s *SVGStitchTilesAttribute) Base() *Attribute
func (*SVGStitchTilesAttribute) Value ¶
func (s *SVGStitchTilesAttribute) Value() SVGStitchTiles
type SVGStopElement ¶
type SVGStopElement struct { SVGElement // contains filtered or unexported fields }
func NewSVGStopElement ¶
func NewSVGStopElement() *SVGStopElement
The function returns the following values:
type SVGStopElementOverrider ¶
type SVGStopElementOverrider interface { }
SVGStopElementOverrider contains methods that are overridable.
type SVGStringAttribute ¶
type SVGStringAttribute struct {
// contains filtered or unexported fields
}
SVGStringAttribute: instance of this type is always passed by reference.
func (*SVGStringAttribute) Base ¶
func (s *SVGStringAttribute) Base() *Attribute
func (*SVGStringAttribute) Value ¶
func (s *SVGStringAttribute) Value() string
type SVGStyle ¶
type SVGStyle struct {
// contains filtered or unexported fields
}
SVGStyle: instance of this type is always passed by reference.
func (*SVGStyle) AlignmentBaseline ¶
func (*SVGStyle) BaselineShift ¶
func (*SVGStyle) ClipRule ¶
func (s *SVGStyle) ClipRule() *SVGFillRuleProperty
func (*SVGStyle) Color ¶
func (s *SVGStyle) Color() *SVGColorProperty
func (*SVGStyle) ColorInterpolation ¶
func (*SVGStyle) ColorInterpolationFilters ¶
func (*SVGStyle) ColorProfile ¶
func (*SVGStyle) ColorRendering ¶
func (*SVGStyle) CompOp ¶
func (s *SVGStyle) CompOp() *SVGCompOpProperty
func (*SVGStyle) Display ¶
func (s *SVGStyle) Display() *SVGDisplayProperty
func (*SVGStyle) DominantBaseline ¶
func (*SVGStyle) EnableBackground ¶
func (s *SVGStyle) EnableBackground() *SVGEnableBackgroundProperty
func (*SVGStyle) Fill ¶
func (s *SVGStyle) Fill() *SVGPaintProperty
func (*SVGStyle) FillOpacity ¶
func (s *SVGStyle) FillOpacity() *SVGDoubleProperty
func (*SVGStyle) FillRule ¶
func (s *SVGStyle) FillRule() *SVGFillRuleProperty
func (*SVGStyle) FloodColor ¶
func (s *SVGStyle) FloodColor() *SVGColorProperty
func (*SVGStyle) FloodOpacity ¶
func (s *SVGStyle) FloodOpacity() *SVGDoubleProperty
func (*SVGStyle) FontFamily ¶
func (*SVGStyle) FontSize ¶
func (s *SVGStyle) FontSize() *SVGLengthProperty
func (*SVGStyle) FontSizeAdjust ¶
func (*SVGStyle) FontSizePx ¶
func (*SVGStyle) FontStretch ¶
func (s *SVGStyle) FontStretch() *SVGFontStretchProperty
func (*SVGStyle) FontStyle ¶
func (s *SVGStyle) FontStyle() *SVGFontStyleProperty
func (*SVGStyle) FontVariant ¶
func (*SVGStyle) FontWeight ¶
func (s *SVGStyle) FontWeight() *SVGFontWeightProperty
func (*SVGStyle) GlyphOrientationHorizontal ¶
func (*SVGStyle) GlyphOrientationVertical ¶
func (*SVGStyle) IgnoreGroupOpacity ¶
func (*SVGStyle) ImageRendering ¶
func (*SVGStyle) LetterSpacing ¶
func (*SVGStyle) LightingColor ¶
func (s *SVGStyle) LightingColor() *SVGColorProperty
func (*SVGStyle) MarkerStart ¶
func (*SVGStyle) Opacity ¶
func (s *SVGStyle) Opacity() *SVGDoubleProperty
func (*SVGStyle) Overflow ¶
func (s *SVGStyle) Overflow() *SVGOverflowProperty
func (*SVGStyle) PointerEvents ¶
func (*SVGStyle) ShapeRendering ¶
func (*SVGStyle) StopColor ¶
func (s *SVGStyle) StopColor() *SVGColorProperty
func (*SVGStyle) StopOpacity ¶
func (s *SVGStyle) StopOpacity() *SVGDoubleProperty
func (*SVGStyle) Stroke ¶
func (s *SVGStyle) Stroke() *SVGPaintProperty
func (*SVGStyle) StrokeDashArray ¶
func (s *SVGStyle) StrokeDashArray() *SVGDashArrayProperty
func (*SVGStyle) StrokeDashOffset ¶
func (s *SVGStyle) StrokeDashOffset() *SVGLengthProperty
func (*SVGStyle) StrokeLineCap ¶
func (s *SVGStyle) StrokeLineCap() *SVGLineCapProperty
func (*SVGStyle) StrokeLineJoin ¶
func (s *SVGStyle) StrokeLineJoin() *SVGLineJoinProperty
func (*SVGStyle) StrokeMiterLimit ¶
func (s *SVGStyle) StrokeMiterLimit() *SVGDoubleProperty
func (*SVGStyle) StrokeOpacity ¶
func (s *SVGStyle) StrokeOpacity() *SVGDoubleProperty
func (*SVGStyle) StrokeWidth ¶
func (s *SVGStyle) StrokeWidth() *SVGLengthProperty
func (*SVGStyle) TextAnchor ¶
func (s *SVGStyle) TextAnchor() *SVGTextAnchorProperty
func (*SVGStyle) TextDecoration ¶
func (*SVGStyle) TextRendering ¶
func (*SVGStyle) UnicodeBidi ¶
func (*SVGStyle) ViewportFill ¶
func (s *SVGStyle) ViewportFill() *SVGPaintProperty
func (*SVGStyle) ViewportFillOpacity ¶
func (s *SVGStyle) ViewportFillOpacity() *SVGDoubleProperty
func (*SVGStyle) Visibility ¶
func (s *SVGStyle) Visibility() *SVGVisibilityProperty
func (*SVGStyle) WordSpacing ¶
func (*SVGStyle) WritingMode ¶
func (s *SVGStyle) WritingMode() *SVGWritingModeProperty
type SVGSvgElement ¶
type SVGSvgElement struct { SVGElement // contains filtered or unexported fields }
func NewSVGSvgElement ¶
func NewSVGSvgElement() *SVGSvgElement
The function returns the following values:
func (*SVGSvgElement) Measure ¶
func (self *SVGSvgElement) Measure(view *SVGView, width, height *float64)
The function takes the following parameters:
- view
- width
- height
func (*SVGSvgElement) Render ¶
func (svgElement *SVGSvgElement) Render(view *SVGView)
The function takes the following parameters:
type SVGSvgElementOverrider ¶
type SVGSvgElementOverrider interface { }
SVGSvgElementOverrider contains methods that are overridable.
type SVGSwitchElement ¶
type SVGSwitchElement struct { SVGTransformable // contains filtered or unexported fields }
func NewSVGSwitchElement ¶
func NewSVGSwitchElement() *SVGSwitchElement
The function returns the following values:
type SVGSwitchElementOverrider ¶
type SVGSwitchElementOverrider interface { }
SVGSwitchElementOverrider contains methods that are overridable.
type SVGSymbolElement ¶
type SVGSymbolElement struct { SVGElement // contains filtered or unexported fields }
func NewSVGSymbolElement ¶
func NewSVGSymbolElement() *SVGSymbolElement
The function returns the following values:
type SVGSymbolElementOverrider ¶
type SVGSymbolElementOverrider interface { }
SVGSymbolElementOverrider contains methods that are overridable.
type SVGTextAnchor ¶
const ( SVGTextAnchorError SVGTextAnchor = -1 SVGTextAnchorStart SVGTextAnchor = 0 SVGTextAnchorMiddle SVGTextAnchor = 1 SVGTextAnchorEnd SVGTextAnchor = 2 )
func SVGTextAnchorFromString ¶
func SVGTextAnchorFromString(str string) SVGTextAnchor
The function takes the following parameters:
The function returns the following values:
func (SVGTextAnchor) String ¶
func (s SVGTextAnchor) String() string
String returns the name in string for SVGTextAnchor.
type SVGTextAnchorProperty ¶
type SVGTextAnchorProperty struct {
// contains filtered or unexported fields
}
SVGTextAnchorProperty: instance of this type is always passed by reference.
func (*SVGTextAnchorProperty) Base ¶
func (s *SVGTextAnchorProperty) Base() *Property
func (*SVGTextAnchorProperty) Value ¶
func (s *SVGTextAnchorProperty) Value() SVGTextAnchor
type SVGTextElement ¶
type SVGTextElement struct { SVGTransformable // contains filtered or unexported fields }
func NewSVGTextElement ¶
func NewSVGTextElement() *SVGTextElement
The function returns the following values:
type SVGTextElementOverrider ¶
type SVGTextElementOverrider interface { }
SVGTextElementOverrider contains methods that are overridable.
type SVGTransformAttribute ¶
type SVGTransformAttribute struct {
// contains filtered or unexported fields
}
SVGTransformAttribute: instance of this type is always passed by reference.
func (*SVGTransformAttribute) Base ¶
func (s *SVGTransformAttribute) Base() *Attribute
func (*SVGTransformAttribute) Matrix ¶
func (s *SVGTransformAttribute) Matrix() *SVGMatrix
type SVGTransformProperty ¶
type SVGTransformProperty struct {
// contains filtered or unexported fields
}
SVGTransformProperty: instance of this type is always passed by reference.
func (*SVGTransformProperty) Base ¶
func (s *SVGTransformProperty) Base() *Property
func (*SVGTransformProperty) Matrix ¶
func (s *SVGTransformProperty) Matrix() *SVGMatrix
type SVGTransformType ¶
const ( SVGTransformTypeError SVGTransformType = -1 SVGTransformTypeMatrix SVGTransformType = 0 SVGTransformTypeTranslate SVGTransformType = 1 SVGTransformTypeScale SVGTransformType = 2 SVGTransformTypeRotate SVGTransformType = 3 SVGTransformTypeSkewX SVGTransformType = 4 SVGTransformTypeSkewY SVGTransformType = 5 )
func (SVGTransformType) String ¶
func (s SVGTransformType) String() string
String returns the name in string for SVGTransformType.
type SVGTransformable ¶
type SVGTransformable struct { SVGElement // contains filtered or unexported fields }
func BaseSVGTransformable ¶
func BaseSVGTransformable(obj SVGTransformabler) *SVGTransformable
BaseSVGTransformable returns the underlying base object.
type SVGTransformableOverrider ¶
type SVGTransformableOverrider interface { }
SVGTransformableOverrider contains methods that are overridable.
type SVGTransformabler ¶
type SVGTransformabler interface { externglib.Objector // contains filtered or unexported methods }
SVGTransformabler describes types inherited from class SVGTransformable.
To get the original type, the caller must assert this to an interface or another type.
type SVGTspanElement ¶
type SVGTspanElement struct { SVGElement // contains filtered or unexported fields }
func NewSVGTspanElement ¶
func NewSVGTspanElement() *SVGTspanElement
The function returns the following values:
type SVGTspanElementOverrider ¶
type SVGTspanElementOverrider interface { }
SVGTspanElementOverrider contains methods that are overridable.
type SVGTurbulenceType ¶
const ( SVGTurbulenceTypeError SVGTurbulenceType = -1 SVGTurbulenceTypeTurbulence SVGTurbulenceType = 0 SVGTurbulenceTypeFractalNoise SVGTurbulenceType = 1 )
func SVGTurbulenceTypeFromString ¶
func SVGTurbulenceTypeFromString(str string) SVGTurbulenceType
The function takes the following parameters:
The function returns the following values:
func (SVGTurbulenceType) String ¶
func (s SVGTurbulenceType) String() string
String returns the name in string for SVGTurbulenceType.
type SVGTurbulenceTypeAttribute ¶
type SVGTurbulenceTypeAttribute struct {
// contains filtered or unexported fields
}
SVGTurbulenceTypeAttribute: instance of this type is always passed by reference.
func (*SVGTurbulenceTypeAttribute) Base ¶
func (s *SVGTurbulenceTypeAttribute) Base() *Attribute
func (*SVGTurbulenceTypeAttribute) Value ¶
func (s *SVGTurbulenceTypeAttribute) Value() SVGTurbulenceType
type SVGUseElement ¶
type SVGUseElement struct { SVGTransformable // contains filtered or unexported fields }
func NewSVGUseElement ¶
func NewSVGUseElement() *SVGUseElement
The function returns the following values:
type SVGUseElementFlags ¶
const ( SVGUseElementFlagsInUseForRender SVGUseElementFlags = 0b1 SVGUseElementFlagsInUseForGetExtents SVGUseElementFlags = 0b10 )
func (SVGUseElementFlags) Has ¶
func (s SVGUseElementFlags) Has(other SVGUseElementFlags) bool
Has returns true if s contains other.
func (SVGUseElementFlags) String ¶
func (s SVGUseElementFlags) String() string
String returns the names in string for SVGUseElementFlags.
type SVGUseElementOverrider ¶
type SVGUseElementOverrider interface { }
SVGUseElementOverrider contains methods that are overridable.
type SVGVector ¶
type SVGVector struct {
// contains filtered or unexported fields
}
SVGVector: instance of this type is always passed by reference.
type SVGVectorAttribute ¶
type SVGVectorAttribute struct {
// contains filtered or unexported fields
}
SVGVectorAttribute: instance of this type is always passed by reference.
func (*SVGVectorAttribute) Base ¶
func (s *SVGVectorAttribute) Base() *Attribute
func (*SVGVectorAttribute) Value ¶
func (s *SVGVectorAttribute) Value() *SVGVector
type SVGView ¶
type SVGView struct { DOMView // contains filtered or unexported fields }
func NewSVGView ¶
func NewSVGView(document *SVGDocument) *SVGView
The function takes the following parameters:
The function returns the following values:
func (*SVGView) AddGradientColorStop ¶
The function takes the following parameters:
func (*SVGView) ApplyBlend ¶
func (view *SVGView) ApplyBlend(input1, input2, output string, subregion *Box, mode SVGBlendingMode)
The function takes the following parameters:
- input1
- input2
- output
- subregion
- mode
func (*SVGView) ApplyColorMatrix ¶
func (view *SVGView) ApplyColorMatrix(input, output string, subregion *Box, typ SVGColorFilterType, nValues uint, values *float64)
The function takes the following parameters:
- input
- output
- subregion
- typ
- nValues
- values
func (*SVGView) ApplyConvolveMatrix ¶
func (view *SVGView) ApplyConvolveMatrix(input, output string, subregion *Box, a, b, nValues uint, values *float64, divisor, bias float64, targetX, targetY int, edgeMode SVGEdgeMode, preserveAlpha bool)
The function takes the following parameters:
- input
- output
- subregion
- a
- b
- nValues
- values
- divisor
- bias
- targetX
- targetY
- edgeMode
- preserveAlpha
func (*SVGView) ApplyDisplacementMap ¶
func (view *SVGView) ApplyDisplacementMap(input1, input2, output string, subregion *Box, scale float64, xChannelSelector, yChannelSelector SVGChannelSelector)
The function takes the following parameters:
- input1
- input2
- output
- subregion
- scale
- xChannelSelector
- yChannelSelector
func (*SVGView) ApplyGaussianBlur ¶
The function takes the following parameters:
- input
- output
- subregion
- stdX
- stdY
func (*SVGView) ApplyImage ¶
func (view *SVGView) ApplyImage(output string, subregion *Box, pixbuf *gdkpixbuf.Pixbuf, preserveAspectRatio *SVGPreserveAspectRatio)
The function takes the following parameters:
- output
- subregion
- pixbuf
- preserveAspectRatio
func (*SVGView) ApplyMorphology ¶
func (view *SVGView) ApplyMorphology(input, output string, subregion *Box, op SVGMorphologyOperator, radius float64)
The function takes the following parameters:
- input
- output
- subregion
- op
- radius
func (*SVGView) ApplyOffset ¶
The function takes the following parameters:
- input
- output
- subregion
- dx
- dy
func (*SVGView) ApplySpecularLighting ¶
func (view *SVGView) ApplySpecularLighting(output string, subregion *Box, surfaceScale, specularConstant, specularExponent, dx, dy float64)
The function takes the following parameters:
- output
- subregion
- surfaceScale
- specularConstant
- specularExponent
- dx
- dy
func (*SVGView) ApplyTurbulence ¶
func (view *SVGView) ApplyTurbulence(output string, subregion *Box, baseFrequencyX, baseFrequencyY float64, nOctaves int, seed float64, stitchTiles SVGStitchTiles, typ SVGTurbulenceType)
The function takes the following parameters:
- output
- subregion
- baseFrequencyX
- baseFrequencyY
- nOctaves
- seed
- stitchTiles
- typ
func (*SVGView) ClipExtents ¶
The function returns the following values:
func (*SVGView) CreateSurfacePattern ¶
func (view *SVGView) CreateSurfacePattern(viewport *Box, matrix *SVGMatrix, surfaceType SVGViewSurfaceType) bool
The function takes the following parameters:
- viewport
- matrix
- surfaceType
The function returns the following values:
func (*SVGView) FilterSurfaceExtents ¶
The function takes the following parameters:
The function returns the following values:
func (*SVGView) NormalizeLength ¶
func (view *SVGView) NormalizeLength(length *SVGLength, direction SVGLengthDirection) float64
The function takes the following parameters:
- length
- direction
The function returns the following values:
func (*SVGView) NormalizeLengthList ¶
func (view *SVGView) NormalizeLengthList(list *SVGLengthList, direction SVGLengthDirection, nData *uint) *float64
The function takes the following parameters:
- list
- direction
- nData
The function returns the following values:
func (*SVGView) ObjectExtents ¶
The function returns the following values:
func (*SVGView) PatternExtents ¶
The function returns the following values:
func (*SVGView) PopComposition ¶
func (view *SVGView) PopComposition()
func (*SVGView) PopElement ¶
func (view *SVGView) PopElement()
func (*SVGView) PopViewbox ¶
func (view *SVGView) PopViewbox()
func (*SVGView) PopViewport ¶
func (view *SVGView) PopViewport()
func (*SVGView) PushComposition ¶
The function takes the following parameters:
func (*SVGView) PushElement ¶
func (view *SVGView) PushElement(element SVGElementer)
The function takes the following parameters:
func (*SVGView) PushMatrix ¶
The function takes the following parameters:
The function returns the following values:
func (*SVGView) PushViewbox ¶
The function takes the following parameters:
func (*SVGView) PushViewport ¶
func (view *SVGView) PushViewport(viewport, viewbox *Box, aspectRatio *SVGPreserveAspectRatio, overflow SVGOverflow)
The function takes the following parameters:
- viewport
- viewbox
- aspectRatio
- overflow
func (*SVGView) SetGradientProperties ¶
func (view *SVGView) SetGradientProperties(method SVGSpreadMethod, units SVGPatternUnits, matrix *SVGMatrix) bool
The function takes the following parameters:
- method
- units
- matrix
The function returns the following values:
func (*SVGView) ShowPixbuf ¶
func (view *SVGView) ShowPixbuf(pixbuf *gdkpixbuf.Pixbuf)
The function takes the following parameters:
func (*SVGView) ShowPolygon ¶
The function takes the following parameters:
func (*SVGView) ShowPolyline ¶
The function takes the following parameters:
func (*SVGView) ShowText ¶
func (view *SVGView) ShowText(str string, nX uint, x *float64, nY uint, y *float64, nDx uint, dx *float64, nDy uint, dy *float64)
The function takes the following parameters:
- str
- nX
- x
- nY
- y
- nDx
- dx
- nDy
- dy
func (*SVGView) ShowViewport ¶
The function takes the following parameters:
func (*SVGView) TextExtents ¶
func (view *SVGView) TextExtents(str string, x, y float64, nDx uint, dx *float64, nDy uint, dy *float64, extents *Extents)
The function takes the following parameters:
- str
- x
- y
- nDx
- dx
- nDy
- dy
- extents
func (*SVGView) ViewboxToViewport ¶
func (view *SVGView) ViewboxToViewport(viewport, viewbox *Box, aspectRatio *SVGPreserveAspectRatio, x, y *float64)
The function takes the following parameters:
- viewport
- viewbox
- aspectRatio
- x
- y
type SVGViewOverrider ¶
type SVGViewOverrider interface { }
SVGViewOverrider contains methods that are overridable.
type SVGViewSurfaceType ¶
const ( SVGViewSurfaceTypeAuto SVGViewSurfaceType = iota SVGViewSurfaceTypeImage )
func (SVGViewSurfaceType) String ¶
func (s SVGViewSurfaceType) String() string
String returns the name in string for SVGViewSurfaceType.
type SVGViewbox ¶
type SVGViewbox struct {
// contains filtered or unexported fields
}
SVGViewbox: instance of this type is always passed by reference.
func (*SVGViewbox) Diagonal ¶
func (s *SVGViewbox) Diagonal() float64
func (*SVGViewbox) ResolutionPpi ¶
func (s *SVGViewbox) ResolutionPpi() float64
func (*SVGViewbox) Viewbox ¶
func (s *SVGViewbox) Viewbox() *Box
type SVGViewboxAttribute ¶
type SVGViewboxAttribute struct {
// contains filtered or unexported fields
}
SVGViewboxAttribute: instance of this type is always passed by reference.
func (*SVGViewboxAttribute) Base ¶
func (s *SVGViewboxAttribute) Base() *Attribute
func (*SVGViewboxAttribute) Value ¶
func (s *SVGViewboxAttribute) Value() *Box
type SVGVisibility ¶
const ( SVGVisibilityError SVGVisibility = -1 SVGVisibilityVisible SVGVisibility = 0 SVGVisibilityHidden SVGVisibility = 1 SVGVisibilityCollapse SVGVisibility = 2 )
func SVGVisibilityFromString ¶
func SVGVisibilityFromString(str string) SVGVisibility
The function takes the following parameters:
The function returns the following values:
func (SVGVisibility) String ¶
func (s SVGVisibility) String() string
String returns the name in string for SVGVisibility.
type SVGVisibilityProperty ¶
type SVGVisibilityProperty struct {
// contains filtered or unexported fields
}
SVGVisibilityProperty: instance of this type is always passed by reference.
func (*SVGVisibilityProperty) Base ¶
func (s *SVGVisibilityProperty) Base() *Property
func (*SVGVisibilityProperty) Value ¶
func (s *SVGVisibilityProperty) Value() SVGVisibility
type SVGWritingMode ¶
const ( SVGWritingModeError SVGWritingMode = -1 SVGWritingModeLrTb SVGWritingMode = 0 SVGWritingModeRlTb SVGWritingMode = 1 SVGWritingModeTbRl SVGWritingMode = 2 SVGWritingModeLr SVGWritingMode = 3 SVGWritingModeRl SVGWritingMode = 4 SVGWritingModeTb SVGWritingMode = 5 )
func SVGWritingModeFromString ¶
func SVGWritingModeFromString(str string) SVGWritingMode
The function takes the following parameters:
The function returns the following values:
func (SVGWritingMode) String ¶
func (s SVGWritingMode) String() string
String returns the name in string for SVGWritingMode.
type SVGWritingModeProperty ¶
type SVGWritingModeProperty struct {
// contains filtered or unexported fields
}
SVGWritingModeProperty: instance of this type is always passed by reference.
func (*SVGWritingModeProperty) Base ¶
func (s *SVGWritingModeProperty) Base() *Property
func (*SVGWritingModeProperty) Value ¶
func (s *SVGWritingModeProperty) Value() SVGWritingMode
Source Files ¶
- lasem.go
- lsm.go
- lsmattributes.go
- lsmcairo.go
- lsmdebug.go
- lsmdomcharacterdata.go
- lsmdomdocument.go
- lsmdomdocumentfragment.go
- lsmdomelement.go
- lsmdomentities.go
- lsmdomimplementation.go
- lsmdomnamednodemap.go
- lsmdomnode.go
- lsmdomnodelist.go
- lsmdomparser.go
- lsmdomtext.go
- lsmdomview.go
- lsmitex.go
- lsmmathmlactionelement.go
- lsmmathmlaligngroupelement.go
- lsmmathmlalignmarkelement.go
- lsmmathmlattributes.go
- lsmmathmldocument.go
- lsmmathmlelement.go
- lsmmathmlencloseelement.go
- lsmmathmlenums.go
- lsmmathmlerrorelement.go
- lsmmathmlfencedelement.go
- lsmmathmlfractionelement.go
- lsmmathmlglyphtableams.go
- lsmmathmlitexelement.go
- lsmmathmllayoututils.go
- lsmmathmlmathelement.go
- lsmmathmloperatordictionary.go
- lsmmathmloperatorelement.go
- lsmmathmlpaddedelement.go
- lsmmathmlphantomelement.go
- lsmmathmlpresentationcontainer.go
- lsmmathmlpresentationtoken.go
- lsmmathmlradicalelement.go
- lsmmathmlrowelement.go
- lsmmathmlscriptelement.go
- lsmmathmlsemanticselement.go
- lsmmathmlspaceelement.go
- lsmmathmlstringelement.go
- lsmmathmlstyle.go
- lsmmathmlstyleelement.go
- lsmmathmltablecellelement.go
- lsmmathmltableelement.go
- lsmmathmltablerowelement.go
- lsmmathmltraits.go
- lsmmathmlunderoverelement.go
- lsmmathmlutils.go
- lsmmathmlview.go
- lsmproperties.go
- lsmstr.go
- lsmsvgaelement.go
- lsmsvgattributes.go
- lsmsvgcircleelement.go
- lsmsvgclippathelement.go
- lsmsvgcolors.go
- lsmsvgdefselement.go
- lsmsvgdocument.go
- lsmsvgelement.go
- lsmsvgellipseelement.go
- lsmsvgenums.go
- lsmsvgfilterblend.go
- lsmsvgfiltercolormatrix.go
- lsmsvgfiltercomposite.go
- lsmsvgfilterconvolvematrix.go
- lsmsvgfilterdisplacementmap.go
- lsmsvgfilterelement.go
- lsmsvgfilterflood.go
- lsmsvgfiltergaussianblur.go
- lsmsvgfilterimage.go
- lsmsvgfiltermerge.go
- lsmsvgfiltermergenode.go
- lsmsvgfiltermorphology.go
- lsmsvgfilteroffset.go
- lsmsvgfilterprimitive.go
- lsmsvgfilterspecularlighting.go
- lsmsvgfiltersurface.go
- lsmsvgfiltertile.go
- lsmsvgfilterturbulence.go
- lsmsvggelement.go
- lsmsvggradientelement.go
- lsmsvgimageelement.go
- lsmsvglength.go
- lsmsvglineargradientelement.go
- lsmsvglineelement.go
- lsmsvgmarkerelement.go
- lsmsvgmaskelement.go
- lsmsvgmatrix.go
- lsmsvgpathelement.go
- lsmsvgpatternelement.go
- lsmsvgpolygonelement.go
- lsmsvgpolylineelement.go
- lsmsvgradialgradientelement.go
- lsmsvgrectelement.go
- lsmsvgstopelement.go
- lsmsvgstyle.go
- lsmsvgsvgelement.go
- lsmsvgswitchelement.go
- lsmsvgsymbolelement.go
- lsmsvgtextelement.go
- lsmsvgtraits.go
- lsmsvgtransformable.go
- lsmsvgtspanelement.go
- lsmsvguseelement.go
- lsmsvgview.go
- lsmutils.go