[][src]Function qt_widgets::q_draw_border_pixmap_7a

pub unsafe fn q_draw_border_pixmap_7a(
    painter: impl CastInto<Ptr<QPainter>>,
    target_rect: impl CastInto<Ref<QRect>>,
    target_margins: impl CastInto<Ref<QMargins>>,
    pixmap: impl CastInto<Ref<QPixmap>>,
    source_rect: impl CastInto<Ref<QRect>>,
    source_margins: impl CastInto<Ref<QMargins>>,
    rules: impl CastInto<Ref<QTileRules>>
)

The qDrawBorderPixmap function is for drawing a pixmap into the margins of a rectangle.

Calls C++ function: void qDrawBorderPixmap(QPainter* painter, const QRect& targetRect, const QMargins& targetMargins, const QPixmap& pixmap, const QRect& sourceRect, const QMargins& sourceMargins, const QTileRules& rules = …).

Warning: no exact match found in C++ documentation. Below is the C++ documentation for void qDrawBorderPixmap(QPainter *painter, const QRect &target, const QMargins &margins, const QPixmap &pixmap):

The qDrawBorderPixmap function is for drawing a pixmap into the margins of a rectangle.

Draws the given pixmap into the given target rectangle, using the given painter. The pixmap will be split into nine segments and drawn according to the margins structure.

This function was introduced in Qt 4.6.