Skip to content

Commit 2584a02

Browse files
committed
Remove embolden_xy
1 parent 69aea42 commit 2584a02

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

src/outline.c

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -549,29 +549,6 @@ Py_Outline_embolden(Py_Outline* self, PyObject* args, PyObject* kwds)
549549
};
550550

551551

552-
static PyObject*
553-
Py_Outline_embolden_xy(Py_Outline* self, PyObject* args, PyObject* kwds) {
554-
double xstrength;
555-
double ystrength;
556-
557-
const char* keywords[] = {"xstrength", "ystrength", NULL};
558-
559-
if (!PyArg_ParseTupleAndKeywords(
560-
args, kwds, "d:embolden", (char **)keywords,
561-
&xstrength, &ystrength)) {
562-
return NULL;
563-
}
564-
565-
if (ftpy_exc(
566-
FT_Outline_EmboldenXY(&self->x,
567-
TO_F26DOT6(xstrength), TO_F26DOT6(ystrength)))) {
568-
return NULL;
569-
}
570-
571-
Py_RETURN_NONE;
572-
};
573-
574-
575552
static PyObject*
576553
Py_Outline_get_bbox(Py_Outline* self, PyObject* args, PyObject* kwds)
577554
{
@@ -730,7 +707,6 @@ static PyMethodDef Py_Outline_methods[] = {
730707
OUTLINE_METHOD_NOARGS(check),
731708
OUTLINE_METHOD(decompose),
732709
OUTLINE_METHOD(embolden),
733-
OUTLINE_METHOD(embolden_xy),
734710
OUTLINE_METHOD_NOARGS(get_bbox),
735711
OUTLINE_METHOD_NOARGS(get_cbox),
736712
OUTLINE_METHOD_NOARGS(get_orientation),

0 commit comments

Comments
 (0)