func (ptr *QPagedPaintDevice) SetPageMargins(margins core.QMarginsF_ITF) bool { if ptr.Pointer() != nil { return C.QPagedPaintDevice_SetPageMargins(ptr.Pointer(), core.PointerFromQMarginsF(margins)) != 0 } return false }
func (ptr *QPagedPaintDevice) SetPageMargins2(margins core.QMarginsF_ITF, units QPageLayout__Unit) bool { if ptr.Pointer() != nil { return C.QPagedPaintDevice_SetPageMargins2(ptr.Pointer(), core.PointerFromQMarginsF(margins), C.int(units)) != 0 } return false }
func (ptr *QPdfWriter) SetPageMargins(margins core.QMarginsF_ITF) bool { if ptr.Pointer() != nil { return C.QPdfWriter_SetPageMargins(ptr.Pointer(), core.PointerFromQMarginsF(margins)) != 0 } return false }
func NewQPageLayout2(pageSize QPageSize_ITF, orientation QPageLayout__Orientation, margins core.QMarginsF_ITF, units QPageLayout__Unit, minMargins core.QMarginsF_ITF) *QPageLayout { return NewQPageLayoutFromPointer(C.QPageLayout_NewQPageLayout2(PointerFromQPageSize(pageSize), C.int(orientation), core.PointerFromQMarginsF(margins), C.int(units), core.PointerFromQMarginsF(minMargins))) }
func (ptr *QPageLayout) SetPageSize(pageSize QPageSize_ITF, minMargins core.QMarginsF_ITF) { if ptr.Pointer() != nil { C.QPageLayout_SetPageSize(ptr.Pointer(), PointerFromQPageSize(pageSize), core.PointerFromQMarginsF(minMargins)) } }
func (ptr *QPageLayout) SetMinimumMargins(minMargins core.QMarginsF_ITF) { if ptr.Pointer() != nil { C.QPageLayout_SetMinimumMargins(ptr.Pointer(), core.PointerFromQMarginsF(minMargins)) } }
func (ptr *QPageLayout) SetMargins(margins core.QMarginsF_ITF) bool { if ptr.Pointer() != nil { return C.QPageLayout_SetMargins(ptr.Pointer(), core.PointerFromQMarginsF(margins)) != 0 } return false }