lasem

package
v0.0.0-...-fe5fd13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2022 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const DOM_VIEW_DEFAULT_RESOLUTION = 72.000000
View Source
const DOM_VIEW_DEFAULT_VIEWBOX_HEIGHT = 200.000000
View Source
const DOM_VIEW_DEFAULT_VIEWBOX_WIDTH = 320.000000
View Source
const MATHML_FONT_DOUBLE_STRUCK = "msbm10"
View Source
const MATHML_FONT_FRAKTUR = "Serif"
View Source
const MATHML_FONT_MONOSPACE = "Monospace"
View Source
const MATHML_FONT_SANS = "Sans"
View Source
const MATHML_FONT_SCRIPT = "cmsy10"
View Source
const MATHML_FONT_SERIF = "Serif"
View Source
const MATHML_RADICAL_ORDER_X_OFFSET = 0.500000
View Source
const MATHML_RADICAL_ORDER_Y_OFFSET = 0.500000
View Source
const MATHML_RADICAL_TOP_LINE_WIDTH = 0.050000
View Source
const MATHML_RADICAL_UTF8 = "√"
View Source
const MATHML_SPACE_EM_MEDIUM = 0.222222
View Source
const MATHML_SPACE_EM_NEGATIVE_MEDIUM = 0.222222
View Source
const MATHML_SPACE_EM_NEGATIVE_THICK = 0.277778
View Source
const MATHML_SPACE_EM_NEGATIVE_THIN = 0.166667
View Source
const MATHML_SPACE_EM_NEGATIVE_VERY_THICK = 0.333333
View Source
const MATHML_SPACE_EM_NEGATIVE_VERY_THIN = 0.111111
View Source
const MATHML_SPACE_EM_NEGATIVE_VERY_VERY_THICK = 0.388889
View Source
const MATHML_SPACE_EM_NEGATIVE_VERY_VERY_THIN = 0.055556
View Source
const MATHML_SPACE_EM_THICK = 0.277778
View Source
const MATHML_SPACE_EM_THIN = 0.166667
View Source
const MATHML_SPACE_EM_VERY_THICK = 0.333333
View Source
const MATHML_SPACE_EM_VERY_THIN = 0.111111
View Source
const MATHML_SPACE_EM_VERY_VERY_THICK = 0.388889
View Source
const MATHML_SPACE_EM_VERY_VERY_THIN = 0.055556

Variables

View Source
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.

glib.Type values for lsmutils.go.

glib.Type values for lsmattributes.go.

glib.Type values for lsmdomcharacterdata.go.

glib.Type values for lsmdomdocument.go.

View Source
var GTypeDOMDocumentFragment = externglib.Type(C.lsm_dom_document_fragment_get_type())

glib.Type values for lsmdomdocumentfragment.go.

glib.Type values for lsmdomelement.go.

glib.Type values for lsmdomnamednodemap.go.

glib.Type values for lsmdomnode.go.

glib.Type values for lsmdomnodelist.go.

glib.Type values for lsmdomtext.go.

glib.Type values for lsmdomview.go.

View Source
var GTypeMathMLActionElement = externglib.Type(C.lsm_mathml_action_element_get_type())

glib.Type values for lsmmathmlactionelement.go.

View Source
var GTypeMathMLAlignGroupElement = externglib.Type(C.lsm_mathml_align_group_element_get_type())

glib.Type values for lsmmathmlaligngroupelement.go.

View Source
var GTypeMathMLAlignMarkElement = externglib.Type(C.lsm_mathml_align_mark_element_get_type())

glib.Type values for lsmmathmlalignmarkelement.go.

glib.Type values for lsmmathmldocument.go.

glib.Type values for lsmmathmlelement.go.

View Source
var GTypeMathMLEncloseElement = externglib.Type(C.lsm_mathml_enclose_element_get_type())

glib.Type values for lsmmathmlencloseelement.go.

glib.Type values for lsmmathmlerrorelement.go.

View Source
var GTypeMathMLFencedElement = externglib.Type(C.lsm_mathml_fenced_element_get_type())

glib.Type values for lsmmathmlfencedelement.go.

View Source
var GTypeMathMLFractionElement = externglib.Type(C.lsm_mathml_fraction_element_get_type())

glib.Type values for lsmmathmlfractionelement.go.

glib.Type values for lsmmathmlitexelement.go.

glib.Type values for lsmmathmlmathelement.go.

View Source
var GTypeMathMLOperatorElement = externglib.Type(C.lsm_mathml_operator_element_get_type())

glib.Type values for lsmmathmloperatorelement.go.

View Source
var GTypeMathMLPaddedElement = externglib.Type(C.lsm_mathml_padded_element_get_type())

glib.Type values for lsmmathmlpaddedelement.go.

View Source
var GTypeMathMLPhantomElement = externglib.Type(C.lsm_mathml_phantom_element_get_type())

glib.Type values for lsmmathmlphantomelement.go.

View Source
var GTypeMathMLPresentationContainer = externglib.Type(C.lsm_mathml_presentation_container_get_type())

glib.Type values for lsmmathmlpresentationcontainer.go.

View Source
var GTypeMathMLPresentationToken = externglib.Type(C.lsm_mathml_presentation_token_get_type())

glib.Type values for lsmmathmlpresentationtoken.go.

View Source
var GTypeMathMLRadicalElement = externglib.Type(C.lsm_mathml_radical_element_get_type())

glib.Type values for lsmmathmlradicalelement.go.

glib.Type values for lsmmathmlrowelement.go.

View Source
var GTypeMathMLScriptElement = externglib.Type(C.lsm_mathml_script_element_get_type())

glib.Type values for lsmmathmlscriptelement.go.

View Source
var GTypeMathMLSemanticsElement = externglib.Type(C.lsm_mathml_semantics_element_get_type())

glib.Type values for lsmmathmlsemanticselement.go.

glib.Type values for lsmmathmlspaceelement.go.

View Source
var GTypeMathMLStringElement = externglib.Type(C.lsm_mathml_string_element_get_type())

glib.Type values for lsmmathmlstringelement.go.

glib.Type values for lsmmathmlstyle.go.

glib.Type values for lsmmathmlstyleelement.go.

View Source
var GTypeMathMLTableCellElement = externglib.Type(C.lsm_mathml_table_cell_element_get_type())

glib.Type values for lsmmathmltablecellelement.go.

glib.Type values for lsmmathmltableelement.go.

View Source
var GTypeMathMLTableRowElement = externglib.Type(C.lsm_mathml_table_row_element_get_type())

glib.Type values for lsmmathmltablerowelement.go.

View Source
var GTypeMathMLUnderOverElement = externglib.Type(C.lsm_mathml_under_over_element_get_type())

glib.Type values for lsmmathmlunderoverelement.go.

glib.Type values for lsmmathmlview.go.

glib.Type values for lsmproperties.go.

glib.Type values for lsmsvgaelement.go.

glib.Type values for lsmsvgcircleelement.go.

glib.Type values for lsmsvgclippathelement.go.

glib.Type values for lsmsvgdefselement.go.

glib.Type values for lsmsvgdocument.go.

glib.Type values for lsmsvgelement.go.

glib.Type values for lsmsvgellipseelement.go.

glib.Type values for lsmsvgfilterblend.go.

glib.Type values for lsmsvgfiltercolormatrix.go.

glib.Type values for lsmsvgfiltercomposite.go.

View Source
var GTypeSVGFilterConvolveMatrix = externglib.Type(C.lsm_svg_filter_convolve_matrix_get_type())

glib.Type values for lsmsvgfilterconvolvematrix.go.

View Source
var GTypeSVGFilterDisplacementMap = externglib.Type(C.lsm_svg_filter_displacement_map_get_type())

glib.Type values for lsmsvgfilterdisplacementmap.go.

glib.Type values for lsmsvgfilterelement.go.

glib.Type values for lsmsvgfilterflood.go.

View Source
var GTypeSVGFilterGaussianBlur = externglib.Type(C.lsm_svg_filter_gaussian_blur_get_type())

glib.Type values for lsmsvgfiltergaussianblur.go.

glib.Type values for lsmsvgfilterimage.go.

glib.Type values for lsmsvgfiltermerge.go.

glib.Type values for lsmsvgfiltermergenode.go.

View Source
var GTypeSVGFilterMorphology = externglib.Type(C.lsm_svg_filter_morphology_get_type())

glib.Type values for lsmsvgfiltermorphology.go.

glib.Type values for lsmsvgfilteroffset.go.

glib.Type values for lsmsvgfilterprimitive.go.

View Source
var GTypeSVGFilterSpecularLighting = externglib.Type(C.lsm_svg_filter_specular_lighting_get_type())

glib.Type values for lsmsvgfilterspecularlighting.go.

glib.Type values for lsmsvgfiltersurface.go.

glib.Type values for lsmsvgfiltertile.go.

View Source
var GTypeSVGFilterTurbulence = externglib.Type(C.lsm_svg_filter_turbulence_get_type())

glib.Type values for lsmsvgfilterturbulence.go.

glib.Type values for lsmsvggelement.go.

glib.Type values for lsmsvggradientelement.go.

glib.Type values for lsmsvgimageelement.go.

glib.Type values for lsmsvglineelement.go.

View Source
var GTypeSVGLinearGradientElement = externglib.Type(C.lsm_svg_linear_gradient_element_get_type())

glib.Type values for lsmsvglineargradientelement.go.

glib.Type values for lsmsvgmarkerelement.go.

glib.Type values for lsmsvgmaskelement.go.

glib.Type values for lsmsvgpathelement.go.

glib.Type values for lsmsvgpatternelement.go.

glib.Type values for lsmsvgpolygonelement.go.

glib.Type values for lsmsvgpolylineelement.go.

View Source
var GTypeSVGRadialGradientElement = externglib.Type(C.lsm_svg_radial_gradient_element_get_type())

glib.Type values for lsmsvgradialgradientelement.go.

glib.Type values for lsmsvgrectelement.go.

glib.Type values for lsmsvgstopelement.go.

glib.Type values for lsmsvgsvgelement.go.

glib.Type values for lsmsvgswitchelement.go.

glib.Type values for lsmsvgsymbolelement.go.

glib.Type values for lsmsvgtextelement.go.

glib.Type values for lsmsvgtransformable.go.

glib.Type values for lsmsvgtspanelement.go.

glib.Type values for lsmsvguseelement.go.

glib.Type values for lsmsvgview.go.

Functions

func CairoBoxDeviceToUser

func CairoBoxDeviceToUser(cairo *cairo.Context, to, from *Box)

The function takes the following parameters:

  • cairo
  • to
  • from

func CairoBoxUserToDevice

func CairoBoxUserToDevice(cairo *cairo.Context, to, from *Box)

The function takes the following parameters:

  • cairo
  • to
  • from

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 CairoEmitSVGPath

func CairoEmitSVGPath(cr *cairo.Context, path string)

The function takes the following parameters:

  • cr
  • path

func CairoHorizontal

func CairoHorizontal(cairo *cairo.Context, x float64)

The function takes the following parameters:

  • cairo
  • x

func CairoQuadraticCurveTo

func CairoQuadraticCurveTo(cr *cairo.Context, x1, y1, x, y float64)

The function takes the following parameters:

  • cr
  • x1
  • y1
  • 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 CairoRelHorizontal

func CairoRelHorizontal(cairo *cairo.Context, dx float64)

The function takes the following parameters:

  • cairo
  • dx

func CairoRelQuadraticCurveTo

func CairoRelQuadraticCurveTo(cr *cairo.Context, dx1, dy1, dx, dy float64)

The function takes the following parameters:

  • cr
  • dx1
  • dy1
  • dx
  • dy

func CairoRelVertical

func CairoRelVertical(cairo *cairo.Context, dy float64)

The function takes the following parameters:

  • cairo
  • dy

func CairoSetSourcePixbuf

func CairoSetSourcePixbuf(cairo *cairo.Context, pixbuf *gdkpixbuf.Pixbuf, pixbufX, pixbufY float64)

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 CairoVertical

func CairoVertical(cairo *cairo.Context, y float64)

The function takes the following parameters:

  • cairo
  • y

func DOMGetEntity

func DOMGetEntity(name string) string

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

func ItexToMathML(itex string) string

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

func MathMLGlyphTableGetOperatorSlant(text string) float64

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

func SVGAlignToString(align SVGAlign) string

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

func SVGColorFromString(name string) uint

The function takes the following parameters:

The function returns the following values:

func SVGCompOpToString

func SVGCompOpToString(compOp SVGCompOp) string

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 Shutdown

func Shutdown()

func StrIsURI

func StrIsURI(str string) bool

The function takes the following parameters:

The function returns the following values:

func StrPointListExents

func StrPointListExents(pointList string, extents *Extents)

The function takes the following parameters:

  • pointList
  • extents

func StrToURI

func StrToURI(str string) string

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.

func (*Attribute) IsDefined

func (attribute *Attribute) IsDefined() bool

The function returns the following values:

func (*Attribute) Value

func (a *Attribute) Value() string

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.

func NewBox

func NewBox(x, y, width, height float64) Box

NewBox creates a new Box instance from the given fields.

func (*Box) Height

func (b *Box) Height() float64

func (*Box) Width

func (b *Box) Width() float64

func (*Box) X

func (b *Box) X() float64

func (*Box) Y

func (b *Box) Y() float64

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

func BaseDOMNode(obj DOMNoder) *DOMNode

BaseDOMNode returns the underlying base object.

func (*DOMNode) AppendChild

func (self *DOMNode) AppendChild(newChild DOMNoder) DOMNoder

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) Changed

func (self *DOMNode) Changed()

func (*DOMNode) ChildNodes

func (self *DOMNode) ChildNodes() DOMNodeLister

The function returns the following values:

  • domNodeList: node child list.

func (*DOMNode) FirstChild

func (self *DOMNode) FirstChild() DOMNoder

The function returns the following values:

  • domNode: node first child.

func (*DOMNode) HasChildNodes

func (self *DOMNode) HasChildNodes() bool

The function returns the following values:

func (*DOMNode) InsertBefore

func (self *DOMNode) InsertBefore(newChild, refChild DOMNoder) DOMNoder

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) LastChild

func (self *DOMNode) LastChild() DOMNoder

The function returns the following values:

  • domNode: node last child.

func (*DOMNode) NextSibling

func (self *DOMNode) NextSibling() DOMNoder

The function returns the following values:

  • domNode: node next sibling.

func (*DOMNode) NodeName

func (self *DOMNode) NodeName() string

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

func (self *DOMNode) NodeValue() string

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) ParentNode

func (self *DOMNode) ParentNode() DOMNoder

The function returns the following values:

  • domNode: node parent.

func (*DOMNode) PreviousSibling

func (self *DOMNode) PreviousSibling() DOMNoder

The function returns the following values:

  • domNode: node previous sibling.

func (*DOMNode) RemoveChild

func (self *DOMNode) RemoveChild(oldChild DOMNoder) DOMNoder

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

func (self *DOMNode) ReplaceChild(newChild, oldChild DOMNoder) DOMNoder

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

func (self *DOMNode) SetNodeValue(newValue string)

The function takes the following parameters:

func (*DOMNode) WriteToStream

func (self *DOMNode) WriteToStream(stream gio.OutputStreamer) error

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

type DOMNodeType C.gint
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

func NewDOMText(data string) *DOMText

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

func BaseDOMView(obj DOMViewer) *DOMView

BaseDOMView returns the underlying base object.

func (*DOMView) Render

func (view *DOMView) Render(cairo *cairo.Context, x, y float64)

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

func (self *DOMView) Resolution() float64

The function returns the following values:

  • gdouble: view resolution, in pixel per inch.

func (*DOMView) SetDebug

func (view *DOMView) SetDebug(feature string, enable bool)

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

func (self *DOMView) SetResolution(ppi float64)

SetResolution: set the view resolution, in pixel per inch.

The function takes the following parameters:

  • ppi: resolution, in pixel per inch.

func (*DOMView) SetViewport

func (self *DOMView) SetViewport(viewportPt *Box)

SetViewport: set the viewport size.

The function takes the following parameters:

  • viewportPt: viewport size, in points.

func (*DOMView) SetViewportPixels

func (self *DOMView) SetViewportPixels(viewport *Box)

SetViewportPixels: set the viewport size.

The function takes the following parameters:

  • viewport size, in pixels.

func (*DOMView) Size

func (view *DOMView) Size() (width float64, height float64, baseline float64)

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

func (view *DOMView) SizePixels() (width uint, height uint, baseline uint)

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

func (self *DOMView) Viewport() *Box

The function returns the following values:

  • box: viewport size, in points.

func (*DOMView) ViewportPixels

func (self *DOMView) ViewportPixels() *Box

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

type DebugLevel C.gint
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

func NewExtents(x1, y1, x2, y2 float64) Extents

NewExtents creates a new Extents instance from the given fields.

func (*Extents) X1

func (e *Extents) X1() float64

func (*Extents) X2

func (e *Extents) X2() float64

func (*Extents) Y1

func (e *Extents) Y1() float64

func (*Extents) Y2

func (e *Extents) Y2() float64

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

type MathMLCSSType C.gint
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

type MathMLColumnAlign C.gint
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

type MathMLDisplay C.gint
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 (*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

type MathMLFont C.gint
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

type MathMLFontStyle C.gint
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

type MathMLFontWeight C.gint
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

type MathMLForm C.gint
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

type MathMLGlyphFlags C.guint
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

type MathMLLine C.gint
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

type MathMLLinebreak C.gint
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

type MathMLMode C.gint
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

type MathMLNotation C.gint
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 (*MathMLOperatorDictionaryEntry) Form

func (*MathMLOperatorDictionaryEntry) LargeOp

func (m *MathMLOperatorDictionaryEntry) LargeOp() bool

func (*MathMLOperatorDictionaryEntry) LeftSpace

func (*MathMLOperatorDictionaryEntry) MaxSize

func (*MathMLOperatorDictionaryEntry) MinSize

func (*MathMLOperatorDictionaryEntry) MovableLimits

func (m *MathMLOperatorDictionaryEntry) MovableLimits() bool

func (*MathMLOperatorDictionaryEntry) Name

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 (*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

type MathMLPresentationTokenType C.gint
const (
	MathMLPresentationTokenTypeNumber MathMLPresentationTokenType = iota
	MathMLPresentationTokenTypeIdentifier
	MathMLPresentationTokenTypeText
)

func (MathMLPresentationTokenType) 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

type MathMLRadicalElementType C.gint
const (
	MathMLRadicalElementTypeSqrt MathMLRadicalElementType = iota
	MathMLRadicalElementTypeRoot
)

func (MathMLRadicalElementType) String

func (m MathMLRadicalElementType) String() string

String returns the name in string for MathMLRadicalElementType.

type MathMLRowAlign

type MathMLRowAlign C.gint
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

type MathMLScriptElementType C.gint
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

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 (*MathMLScriptLevelAttribute) Value

type MathMLScriptLevelSign

type MathMLScriptLevelSign C.gint
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 (*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

type MathMLSpaceName C.gint
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

type MathMLTableRowElementType C.gint
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

type MathMLUnderOverElementType C.gint
const (
	MathMLUnderOverElementTypeUnder MathMLUnderOverElementType = iota
	MathMLUnderOverElementTypeOver
	MathMLUnderOverElementTypeUnderOver
)

func (MathMLUnderOverElementType) String

String returns the name in string for MathMLUnderOverElementType.

type MathMLUnit

type MathMLUnit C.gint
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 (*MathMLUnsignedAttribute) Value

func (m *MathMLUnsignedAttribute) Value() uint

type MathMLVariant

type MathMLVariant C.gint
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.

func (*Property) Flags

func (p *Property) Flags() uint16

func (*Property) ID

func (p *Property) ID() uint16

func (*Property) Value

func (p *Property) Value() string

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
}

func NewSVGAElement

func NewSVGAElement() *SVGAElement

The function returns the following values:

type SVGAElementOverrider

type SVGAElementOverrider interface {
}

SVGAElementOverrider contains methods that are overridable.

type SVGAlign

type SVGAlign C.gint
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

func SVGAlignFromString(str string) SVGAlign

The function takes the following parameters:

The function returns the following values:

func (SVGAlign) String

func (s SVGAlign) String() string

String returns the name in string for SVGAlign.

type SVGAngle

type SVGAngle struct {
	// contains filtered or unexported fields
}

SVGAngle: instance of this type is always passed by reference.

func (*SVGAngle) Angle

func (s *SVGAngle) Angle() float64

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

type SVGAngleType C.gint
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

type SVGBlendingMode C.gint
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 (*SVGBlendingModeAttribute) Value

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

type SVGChannelSelector C.gint
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 (*SVGChannelSelectorAttribute) Value

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

func NewSVGColor(red, green, blue float64) SVGColor

NewSVGColor creates a new SVGColor instance from the given fields.

func (*SVGColor) Blue

func (s *SVGColor) Blue() float64

func (*SVGColor) Green

func (s *SVGColor) Green() float64

func (*SVGColor) Red

func (s *SVGColor) Red() float64

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

type SVGColorFilterType C.gint
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 (*SVGColorFilterTypeAttribute) Value

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

type SVGCompOp C.gint
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

func SVGCompOpFromString(str string) SVGCompOp

The function takes the following parameters:

The function returns the following values:

func (SVGCompOp) String

func (s SVGCompOp) String() string

String returns the name in string for SVGCompOp.

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

type SVGDisplay C.gint
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
	SVGDisplayTableFooterGroup SVGDisplay = 11
	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 NewSVGDocument

func NewSVGDocument() *SVGDocument

The function returns the following values:

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

type SVGEdgeMode C.gint
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

type SVGElementCategory C.guint
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

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

type SVGEnableBackground C.gint
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 (*SVGEnableBackgroundProperty) Value

type SVGFillRule

type SVGFillRule C.gint
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

type SVGFilterInput C.gint
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

type SVGFontStretch C.gint
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

type SVGFontStyle

type SVGFontStyle C.gint
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

type SVGFontWeight

type SVGFontWeight C.gint
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

type SVGGElement

type SVGGElement struct {
	SVGTransformable
	// contains filtered or unexported fields
}

func NewSVGGElement

func NewSVGGElement() *SVGGElement

The function returns the following values:

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 (*SVGGradientElementAttributes) Transform

func (s *SVGGradientElementAttributes) Transform() *SVGMatrix

func (*SVGGradientElementAttributes) Units

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

func (*SVGLength) ValueUnit

func (s *SVGLength) ValueUnit() float64

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

type SVGLengthDirection C.gint
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

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

type SVGLengthType C.gint
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

type SVGLineCap C.gint
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

type SVGLineJoin C.gint
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

type SVGMarkerUnits C.gint
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 (*SVGMarkerUnitsAttribute) Value

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) A

func (s *SVGMatrix) A() float64

func (*SVGMatrix) B

func (s *SVGMatrix) B() float64

func (*SVGMatrix) C

func (s *SVGMatrix) C() float64

func (*SVGMatrix) D

func (s *SVGMatrix) D() float64

func (*SVGMatrix) E

func (s *SVGMatrix) E() float64

func (*SVGMatrix) F

func (s *SVGMatrix) F() float64

func (*SVGMatrix) Flags

func (s *SVGMatrix) Flags() SVGMatrixFlags

func (*SVGMatrix) Init

func (matrix *SVGMatrix) Init(a float64, b float64, c float64, d float64, e float64, f float64)

The function takes the following parameters:

  • a
  • b
  • c
  • d
  • e
  • f

func (*SVGMatrix) InitIdentity

func (matrix *SVGMatrix) InitIdentity()

func (*SVGMatrix) InitRotate

func (matrix *SVGMatrix) InitRotate(radians float64)

The function takes the following parameters:

func (*SVGMatrix) InitScale

func (matrix *SVGMatrix) InitScale(sx float64, sy float64)

The function takes the following parameters:

  • sx
  • sy

func (*SVGMatrix) InitSkewX

func (matrix *SVGMatrix) InitSkewX(radians float64)

The function takes the following parameters:

func (*SVGMatrix) InitSkewY

func (matrix *SVGMatrix) InitSkewY(radians float64)

The function takes the following parameters:

func (*SVGMatrix) InitTranslate

func (matrix *SVGMatrix) InitTranslate(tx float64, ty float64)

The function takes the following parameters:

  • tx
  • ty

func (*SVGMatrix) IsIdentity

func (matrix *SVGMatrix) IsIdentity() bool

The function returns the following values:

func (*SVGMatrix) IsInvertible

func (matrix *SVGMatrix) IsInvertible() bool

The function returns the following values:

func (*SVGMatrix) Multiply

func (result *SVGMatrix) Multiply(a *SVGMatrix, b *SVGMatrix)

The function takes the following parameters:

  • a
  • b

func (*SVGMatrix) Rotate

func (matrix *SVGMatrix) Rotate(radians float64)

The function takes the following parameters:

func (*SVGMatrix) Scale

func (matrix *SVGMatrix) Scale(sx float64, sy float64)

The function takes the following parameters:

  • sx
  • sy

func (*SVGMatrix) SkewX

func (matrix *SVGMatrix) SkewX(radians float64)

The function takes the following parameters:

func (*SVGMatrix) SkewY

func (matrix *SVGMatrix) SkewY(radians float64)

The function takes the following parameters:

func (*SVGMatrix) TransformBoundingBox

func (matrix *SVGMatrix) TransformBoundingBox(x1 *float64, y1 *float64, x2 *float64, y2 *float64)

The function takes the following parameters:

  • x1
  • y1
  • x2
  • y2

func (*SVGMatrix) TransformPoint

func (matrix *SVGMatrix) TransformPoint(x *float64, y *float64)

The function takes the following parameters:

  • x
  • y

func (*SVGMatrix) Translate

func (matrix *SVGMatrix) Translate(tx float64, ty float64)

The function takes the following parameters:

  • tx
  • ty

type SVGMatrixFlags

type SVGMatrixFlags C.guint
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

type SVGMeetOrSlice C.gint
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

type SVGMorphologyOperator C.gint
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 (*SVGMorphologyOperatorAttribute) Value

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 (*SVGOneOrTwoDoubleAttribute) Value

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 (*SVGOneOrTwoIntegerAttribute) Value

type SVGOverflow

type SVGOverflow C.gint
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) Color

func (s *SVGPaint) Color() *SVGColor

func (*SVGPaint) Type

func (s *SVGPaint) Type() SVGPaintType

func (*SVGPaint) URL

func (s *SVGPaint) URL() string

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

type SVGPaintType C.gint
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

type SVGPatternUnits C.gint
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 (*SVGPatternUnitsAttribute) Value

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 (*SVGPreserveAspectRatioAttribute) Value

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

type SVGSpreadMethod C.gint
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 (*SVGSpreadMethodAtttribute) Value

type SVGStitchTiles

type SVGStitchTiles C.gint
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 (*SVGStitchTilesAttribute) Value

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 (s *SVGStyle) AlignmentBaseline() *Property

func (*SVGStyle) BaselineShift

func (s *SVGStyle) BaselineShift() *Property

func (*SVGStyle) Clip

func (s *SVGStyle) Clip() *Property

func (*SVGStyle) ClipPath

func (s *SVGStyle) ClipPath() *Property

func (*SVGStyle) ClipRule

func (s *SVGStyle) ClipRule() *SVGFillRuleProperty

func (*SVGStyle) Color

func (s *SVGStyle) Color() *SVGColorProperty

func (*SVGStyle) ColorInterpolation

func (s *SVGStyle) ColorInterpolation() *Property

func (*SVGStyle) ColorInterpolationFilters

func (s *SVGStyle) ColorInterpolationFilters() *Property

func (*SVGStyle) ColorProfile

func (s *SVGStyle) ColorProfile() *Property

func (*SVGStyle) ColorRendering

func (s *SVGStyle) ColorRendering() *Property

func (*SVGStyle) CompOp

func (s *SVGStyle) CompOp() *SVGCompOpProperty

func (*SVGStyle) Cursor

func (s *SVGStyle) Cursor() *Property

func (*SVGStyle) Direction

func (s *SVGStyle) Direction() *Property

func (*SVGStyle) Display

func (s *SVGStyle) Display() *SVGDisplayProperty

func (*SVGStyle) DominantBaseline

func (s *SVGStyle) DominantBaseline() *Property

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) Filter

func (s *SVGStyle) Filter() *Property

func (*SVGStyle) FloodColor

func (s *SVGStyle) FloodColor() *SVGColorProperty

func (*SVGStyle) FloodOpacity

func (s *SVGStyle) FloodOpacity() *SVGDoubleProperty

func (*SVGStyle) Font

func (s *SVGStyle) Font() *Property

func (*SVGStyle) FontFamily

func (s *SVGStyle) FontFamily() *Property

func (*SVGStyle) FontSize

func (s *SVGStyle) FontSize() *SVGLengthProperty

func (*SVGStyle) FontSizeAdjust

func (s *SVGStyle) FontSizeAdjust() *Property

func (*SVGStyle) FontSizePx

func (s *SVGStyle) FontSizePx() float64

func (*SVGStyle) FontStretch

func (s *SVGStyle) FontStretch() *SVGFontStretchProperty

func (*SVGStyle) FontStyle

func (s *SVGStyle) FontStyle() *SVGFontStyleProperty

func (*SVGStyle) FontVariant

func (s *SVGStyle) FontVariant() *Property

func (*SVGStyle) FontWeight

func (s *SVGStyle) FontWeight() *SVGFontWeightProperty

func (*SVGStyle) GlyphOrientationHorizontal

func (s *SVGStyle) GlyphOrientationHorizontal() *Property

func (*SVGStyle) GlyphOrientationVertical

func (s *SVGStyle) GlyphOrientationVertical() *Property

func (*SVGStyle) IgnoreGroupOpacity

func (s *SVGStyle) IgnoreGroupOpacity() bool

func (*SVGStyle) ImageRendering

func (s *SVGStyle) ImageRendering() *Property

func (*SVGStyle) Kerning

func (s *SVGStyle) Kerning() *Property

func (*SVGStyle) LetterSpacing

func (s *SVGStyle) LetterSpacing() *Property

func (*SVGStyle) LightingColor

func (s *SVGStyle) LightingColor() *SVGColorProperty

func (*SVGStyle) Marker

func (s *SVGStyle) Marker() *Property

func (*SVGStyle) MarkerEnd

func (s *SVGStyle) MarkerEnd() *Property

func (*SVGStyle) MarkerMid

func (s *SVGStyle) MarkerMid() *Property

func (*SVGStyle) MarkerStart

func (s *SVGStyle) MarkerStart() *Property

func (*SVGStyle) Mask

func (s *SVGStyle) Mask() *Property

func (*SVGStyle) Opacity

func (s *SVGStyle) Opacity() *SVGDoubleProperty

func (*SVGStyle) Overflow

func (s *SVGStyle) Overflow() *SVGOverflowProperty

func (*SVGStyle) PointerEvents

func (s *SVGStyle) PointerEvents() *Property

func (*SVGStyle) ShapeRendering

func (s *SVGStyle) ShapeRendering() *Property

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 (s *SVGStyle) TextDecoration() *Property

func (*SVGStyle) TextRendering

func (s *SVGStyle) TextRendering() *Property

func (*SVGStyle) UnicodeBidi

func (s *SVGStyle) UnicodeBidi() *Property

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 (s *SVGStyle) WordSpacing() *Property

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

type SVGTextAnchor C.gint
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

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

type SVGTransformType C.gint
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

type SVGTurbulenceType C.gint
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 (*SVGTurbulenceTypeAttribute) Value

type SVGUseElement

type SVGUseElement struct {
	SVGTransformable
	// contains filtered or unexported fields
}

func NewSVGUseElement

func NewSVGUseElement() *SVGUseElement

The function returns the following values:

type SVGUseElementFlags

type SVGUseElementFlags C.guint
const (
	SVGUseElementFlagsInUseForRender     SVGUseElementFlags = 0b1
	SVGUseElementFlagsInUseForGetExtents SVGUseElementFlags = 0b10
)

func (SVGUseElementFlags) Has

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.

func (*SVGVector) NValues

func (s *SVGVector) NValues() uint

func (*SVGVector) Values

func (s *SVGVector) Values() *float64

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

func (view *SVGView) AddGradientColorStop(offset float64)

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) ApplyFlood

func (view *SVGView) ApplyFlood(output string, subregion *Box)

The function takes the following parameters:

  • output
  • subregion

func (*SVGView) ApplyGaussianBlur

func (view *SVGView) ApplyGaussianBlur(input, output string, subregion *Box, stdX, stdY float64)

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) ApplyMerge

func (view *SVGView) ApplyMerge(input, output string, subregion *Box)

The function takes the following parameters:

  • input
  • output
  • subregion

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

func (view *SVGView) ApplyOffset(input, output string, subregion *Box, dx, dy float64)

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) ApplyTile

func (view *SVGView) ApplyTile(input, output string, subregion *Box)

The function takes the following parameters:

  • input
  • output
  • subregion

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

func (view *SVGView) ClipExtents() *Box

The function returns the following values:

func (*SVGView) CreateLinearGradient

func (view *SVGView) CreateLinearGradient(x1, y1, x2, y2 float64)

The function takes the following parameters:

  • x1
  • y1
  • x2
  • y2

func (*SVGView) CreateRadialGradient

func (view *SVGView) CreateRadialGradient(cx, cy, r, fx, fy float64)

The function takes the following parameters:

  • cx
  • cy
  • r
  • fx
  • fy

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) EndText

func (view *SVGView) EndText()

func (*SVGView) FilterSurfaceExtents

func (view *SVGView) FilterSurfaceExtents(name string) *Box

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

func (view *SVGView) ObjectExtents() *Box

The function returns the following values:

func (*SVGView) PathExtents

func (view *SVGView) PathExtents(path string, extents *Extents)

The function takes the following parameters:

  • path
  • extents

func (*SVGView) PatternExtents

func (view *SVGView) PatternExtents() *Box

The function returns the following values:

func (*SVGView) PopComposition

func (view *SVGView) PopComposition()

func (*SVGView) PopElement

func (view *SVGView) PopElement()

func (*SVGView) PopMatrix

func (view *SVGView) PopMatrix()

func (*SVGView) PopStyle

func (view *SVGView) PopStyle()

func (*SVGView) PopViewbox

func (view *SVGView) PopViewbox()

func (*SVGView) PopViewport

func (view *SVGView) PopViewport()

func (*SVGView) PushComposition

func (view *SVGView) PushComposition(style *SVGStyle)

The function takes the following parameters:

func (*SVGView) PushElement

func (view *SVGView) PushElement(element SVGElementer)

The function takes the following parameters:

func (*SVGView) PushMatrix

func (view *SVGView) PushMatrix(matrix *SVGMatrix) bool

The function takes the following parameters:

The function returns the following values:

func (*SVGView) PushStyle

func (view *SVGView) PushStyle(style *SVGStyle)

The function takes the following parameters:

func (*SVGView) PushViewbox

func (view *SVGView) PushViewbox(viewbox *Box)

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) ShowCircle

func (view *SVGView) ShowCircle(cx, cy, r float64)

The function takes the following parameters:

  • cx
  • cy
  • r

func (*SVGView) ShowEllipse

func (view *SVGView) ShowEllipse(cx, cy, rx, ry float64)

The function takes the following parameters:

  • cx
  • cy
  • rx
  • ry

func (*SVGView) ShowLine

func (view *SVGView) ShowLine(x1, y1, x2, y2 float64)

The function takes the following parameters:

  • x1
  • y1
  • x2
  • y2

func (*SVGView) ShowPath

func (view *SVGView) ShowPath(d string)

The function takes the following parameters:

func (*SVGView) ShowPixbuf

func (view *SVGView) ShowPixbuf(pixbuf *gdkpixbuf.Pixbuf)

The function takes the following parameters:

func (*SVGView) ShowPolygon

func (view *SVGView) ShowPolygon(points string)

The function takes the following parameters:

func (*SVGView) ShowPolyline

func (view *SVGView) ShowPolyline(points string)

The function takes the following parameters:

func (*SVGView) ShowRectangle

func (view *SVGView) ShowRectangle(x, y, width, height, rx, ry float64)

The function takes the following parameters:

  • x
  • y
  • width
  • height
  • rx
  • ry

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

func (view *SVGView) ShowViewport(viewport *Box)

The function takes the following parameters:

func (*SVGView) StartText

func (view *SVGView) StartText()

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

type SVGViewSurfaceType C.gint
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

type SVGVisibility C.gint
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

type SVGWritingMode

type SVGWritingMode C.gint
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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL