Skip to content

Commit

Permalink
freetype linetype
Browse files Browse the repository at this point in the history
  • Loading branch information
lz1998 committed Jul 20, 2021
1 parent 1d585b0 commit 311d87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/freetype.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (f *FreeType2) SetSplitNumber(num int) {
// https://docs.opencv.org/master/d9/dfa/classcv_1_1freetype_1_1FreeType2.html#aba641f774c47a70eaeb76bf7aa865915
//
func (f *FreeType2) PutText(img *gocv.Mat, text string, org image.Point,
fontHeight int, c color.RGBA, thickness int, lineType int, bottomLeftOrigin bool) {
fontHeight int, c color.RGBA, thickness int, lineType gocv.LineType, bottomLeftOrigin bool) {
cText := C.CString(text)
defer C.free(unsafe.Pointer(cText))

Expand Down

0 comments on commit 311d87f

Please sign in to comment.