func (annotation *LinkAnnotation) SetBorderStyle( width float32, dashOn, dashOff uint16, ) error { C.HPDF_LinkAnnot_SetBorderStyle( annotation.annotation, C.HPDF_REAL(width), C.HPDF_UINT16(dashOn), C.HPDF_UINT16(dashOff), ) return annotation.pdf.GetLastError() }
func (annotation *Annotation) SetBorderStyle( subtype BSSubtype, width float32, dashOn, dashOff, dashPhase uint16, ) error { C.HPDF_Annotation_SetBorderStyle( annotation.annotation, C.HPDF_BSSubtype(subtype), C.HPDF_REAL(width), C.HPDF_UINT16(dashOn), C.HPDF_UINT16(dashOff), C.HPDF_UINT16(dashPhase), ) return annotation.pdf.GetLastError() }
func (page *Page) SetRotate(rotate uint16) error { C.HPDF_Page_SetRotate(page.page, C.HPDF_UINT16(rotate)) return page.pdf.GetLastError() }
func (encoder *Encoder) GetUnicode(code uint16) rune { return rune(C.HPDF_Encoder_GetUnicode(encoder.encoder, C.HPDF_UINT16(code))) }