API reference - Class QPaintEngineState

Notation used in Ruby API documentation

Description: Binding of QPaintEngineState

Public constructors

new QPaintEngineStatenewConstructor QPaintEngineState::QPaintEngineState()

Public methods

[const]voidassign(const QPaintEngineState other)Assign the contents of another object to self
[const]QBrushbackgroundBrushMethod QBrush QPaintEngineState::backgroundBrush()
[const]Qt_BGModebackgroundModeMethod Qt::BGMode QPaintEngineState::backgroundMode()
[const]QBrushbrushMethod QBrush QPaintEngineState::brush()
[const]boolbrushNeedsResolvingMethod bool QPaintEngineState::brushNeedsResolving()
[const]QPointFbrushOriginMethod QPointF QPaintEngineState::brushOrigin()
[const]Qt_ClipOperationclipOperationMethod Qt::ClipOperation QPaintEngineState::clipOperation()
[const]QPainterPathclipPathMethod QPainterPath QPaintEngineState::clipPath()
[const]QRegionclipRegionMethod QRegion QPaintEngineState::clipRegion()
[const]QPainter_CompositionModecompositionModeMethod QPainter::CompositionMode QPaintEngineState::compositionMode()
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QPaintEngineStatedupCreates a copy of self
[const]QFontfontMethod QFont QPaintEngineState::font()
[const]boolisClipEnabledMethod bool QPaintEngineState::isClipEnabled()
[const]boolisClipEnabled?Method bool QPaintEngineState::isClipEnabled()
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]QMatrixmatrixMethod QMatrix QPaintEngineState::matrix()
[const]doubleopacityMethod double QPaintEngineState::opacity()
[const]QPainter ptrpainterMethod QPainter *QPaintEngineState::painter()
[const]QPenpenMethod QPen QPaintEngineState::pen()
[const]boolpenNeedsResolvingMethod bool QPaintEngineState::penNeedsResolving()
[const]QPainter_QFlags_RenderHintrenderHintsMethod QFlags<QPainter::RenderHint> QPaintEngineState::renderHints()
[const]QPaintEngine_QFlags_DirtyFlagstateMethod QFlags<QPaintEngine::DirtyFlag> QPaintEngineState::state()
[const]QTransformtransformMethod QTransform QPaintEngineState::transform()

Detailed description

[const] void assign(const QPaintEngineState other)

Description: Assign the contents of another object to self

This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.

[const] QBrush backgroundBrush

Description: Method QBrush QPaintEngineState::backgroundBrush()

[const] Qt_BGMode backgroundMode

Description: Method Qt::BGMode QPaintEngineState::backgroundMode()

[const] QBrush brush

Description: Method QBrush QPaintEngineState::brush()

[const] bool brushNeedsResolving

Description: Method bool QPaintEngineState::brushNeedsResolving()

[const] QPointF brushOrigin

Description: Method QPointF QPaintEngineState::brushOrigin()

[const] Qt_ClipOperation clipOperation

Description: Method Qt::ClipOperation QPaintEngineState::clipOperation()

[const] QPainterPath clipPath

Description: Method QPainterPath QPaintEngineState::clipPath()

[const] QRegion clipRegion

Description: Method QRegion QPaintEngineState::clipRegion()

[const] QPainter_CompositionMode compositionMode

Description: Method QPainter::CompositionMode QPaintEngineState::compositionMode()

void create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

void destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing.

[const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

[const] QPaintEngineState dup

Description: Creates a copy of self

[const] QFont font

Description: Method QFont QPaintEngineState::font()

[const] bool isClipEnabled

Description: Method bool QPaintEngineState::isClipEnabled()

[const] bool isClipEnabled?

Description: Method bool QPaintEngineState::isClipEnabled()

[const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

[const] QMatrix matrix

Description: Method QMatrix QPaintEngineState::matrix()

[static] new QPaintEngineState new

Description: Constructor QPaintEngineState::QPaintEngineState()

This method creates an object of class QPaintEngineState.

[const] double opacity

Description: Method double QPaintEngineState::opacity()

[const] QPainter ptr painter

Description: Method QPainter *QPaintEngineState::painter()

[const] QPen pen

Description: Method QPen QPaintEngineState::pen()

[const] bool penNeedsResolving

Description: Method bool QPaintEngineState::penNeedsResolving()

[const] QPainter_QFlags_RenderHint renderHints

Description: Method QFlags<QPainter::RenderHint> QPaintEngineState::renderHints()

[const] QPaintEngine_QFlags_DirtyFlag state

Description: Method QFlags<QPaintEngine::DirtyFlag> QPaintEngineState::state()

[const] QTransform transform

Description: Method QTransform QPaintEngineState::transform()