pub struct QGlyphRun { /* private fields */ }Expand description
C++ class: QGlyphRun.
Implementations§
Source§impl QGlyphRun
impl QGlyphRun
Sourcepub unsafe fn bounding_rect(&self) -> CppBox<QRectF>
pub unsafe fn bounding_rect(&self) -> CppBox<QRectF>
Calls C++ function: QRectF QGlyphRun::boundingRect() const.
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QGlyphRun>>,
) -> Ref<QGlyphRun>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QGlyphRun>>, ) -> Ref<QGlyphRun>
Calls C++ function: QGlyphRun& QGlyphRun::operator=(const QGlyphRun& other).
Sourcepub unsafe fn flags(&self) -> QFlags<GlyphRunFlag>
pub unsafe fn flags(&self) -> QFlags<GlyphRunFlag>
Calls C++ function: QFlags<QGlyphRun::GlyphRunFlag> QGlyphRun::flags() const.
Sourcepub unsafe fn glyph_indexes(&self) -> CppBox<QVectorOfUint>
pub unsafe fn glyph_indexes(&self) -> CppBox<QVectorOfUint>
Calls C++ function: QVector<unsigned int> QGlyphRun::glyphIndexes() const.
Sourcepub unsafe fn is_right_to_left(&self) -> bool
pub unsafe fn is_right_to_left(&self) -> bool
Calls C++ function: bool QGlyphRun::isRightToLeft() const.
Sourcepub unsafe fn new() -> CppBox<QGlyphRun>
pub unsafe fn new() -> CppBox<QGlyphRun>
Calls C++ function: [constructor] void QGlyphRun::QGlyphRun().
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QGlyphRun>>,
) -> CppBox<QGlyphRun>
pub unsafe fn new_copy( other: impl CastInto<Ref<QGlyphRun>>, ) -> CppBox<QGlyphRun>
Calls C++ function: [constructor] void QGlyphRun::QGlyphRun(const QGlyphRun& other).
Sourcepub unsafe fn positions(&self) -> CppBox<QVectorOfQPointF>
pub unsafe fn positions(&self) -> CppBox<QVectorOfQPointF>
Calls C++ function: QVector<QPointF> QGlyphRun::positions() const.
Sourcepub unsafe fn raw_font(&self) -> CppBox<QRawFont>
pub unsafe fn raw_font(&self) -> CppBox<QRawFont>
Calls C++ function: QRawFont QGlyphRun::rawFont() const.
Sourcepub unsafe fn set_bounding_rect(
&self,
bounding_rect: impl CastInto<Ref<QRectF>>,
)
pub unsafe fn set_bounding_rect( &self, bounding_rect: impl CastInto<Ref<QRectF>>, )
Calls C++ function: void QGlyphRun::setBoundingRect(const QRectF& boundingRect).
Sourcepub unsafe fn set_flag_2a(&self, flag: GlyphRunFlag, enabled: bool)
pub unsafe fn set_flag_2a(&self, flag: GlyphRunFlag, enabled: bool)
Calls C++ function: void QGlyphRun::setFlag(QGlyphRun::GlyphRunFlag flag, bool enabled = …).
Sourcepub unsafe fn set_flag_1a(&self, flag: GlyphRunFlag)
pub unsafe fn set_flag_1a(&self, flag: GlyphRunFlag)
Calls C++ function: void QGlyphRun::setFlag(QGlyphRun::GlyphRunFlag flag).
Sourcepub unsafe fn set_flags(&self, flags: QFlags<GlyphRunFlag>)
pub unsafe fn set_flags(&self, flags: QFlags<GlyphRunFlag>)
Calls C++ function: void QGlyphRun::setFlags(QFlags<QGlyphRun::GlyphRunFlag> flags).
Sourcepub unsafe fn set_glyph_indexes(
&self,
glyph_indexes: impl CastInto<Ref<QVectorOfUint>>,
)
pub unsafe fn set_glyph_indexes( &self, glyph_indexes: impl CastInto<Ref<QVectorOfUint>>, )
Calls C++ function: void QGlyphRun::setGlyphIndexes(const QVector<unsigned int>& glyphIndexes).
Sourcepub unsafe fn set_overline(&self, overline: bool)
pub unsafe fn set_overline(&self, overline: bool)
Calls C++ function: void QGlyphRun::setOverline(bool overline).
Sourcepub unsafe fn set_positions(
&self,
positions: impl CastInto<Ref<QVectorOfQPointF>>,
)
pub unsafe fn set_positions( &self, positions: impl CastInto<Ref<QVectorOfQPointF>>, )
Calls C++ function: void QGlyphRun::setPositions(const QVector<QPointF>& positions).
Sourcepub unsafe fn set_raw_data(
&self,
glyph_index_array: *const c_uint,
glyph_position_array: impl CastInto<Ptr<QPointF>>,
size: c_int,
)
pub unsafe fn set_raw_data( &self, glyph_index_array: *const c_uint, glyph_position_array: impl CastInto<Ptr<QPointF>>, size: c_int, )
Calls C++ function: void QGlyphRun::setRawData(const unsigned int* glyphIndexArray, const QPointF* glyphPositionArray, int size).
Sourcepub unsafe fn set_raw_font(&self, raw_font: impl CastInto<Ref<QRawFont>>)
pub unsafe fn set_raw_font(&self, raw_font: impl CastInto<Ref<QRawFont>>)
Calls C++ function: void QGlyphRun::setRawFont(const QRawFont& rawFont).
Sourcepub unsafe fn set_right_to_left(&self, on: bool)
pub unsafe fn set_right_to_left(&self, on: bool)
Calls C++ function: void QGlyphRun::setRightToLeft(bool on).
Sourcepub unsafe fn set_strike_out(&self, strike_out: bool)
pub unsafe fn set_strike_out(&self, strike_out: bool)
Calls C++ function: void QGlyphRun::setStrikeOut(bool strikeOut).
Sourcepub unsafe fn set_underline(&self, underline: bool)
pub unsafe fn set_underline(&self, underline: bool)
Calls C++ function: void QGlyphRun::setUnderline(bool underline).
Sourcepub unsafe fn strike_out(&self) -> bool
pub unsafe fn strike_out(&self) -> bool
Calls C++ function: bool QGlyphRun::strikeOut() const.