summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c86be96)
raw | patch | inline | side by side (parent: c86be96)
author | pjrm <pjrm@users.sourceforge.net> | |
Thu, 25 May 2006 12:13:12 +0000 (12:13 +0000) | ||
committer | pjrm <pjrm@users.sourceforge.net> | |
Thu, 25 May 2006 12:13:12 +0000 (12:13 +0000) |
src/libnrtype/FontInstance.cpp | patch | blob | history |
index 8a0c9cb49048d03cb0921d55c3b06b9ae7788be3..d28fb42a420cf9f35e1e3aa23c9a5d3eba0d4e72 100644 (file)
// outline as returned by freetype -> livarot Path
// see nr-type-ft2.cpp for the freetype -> artBPath on which this code is based
-static int ft2_move_to (FT_Vector * to, void * i_user) {
+static int ft2_move_to(FT_Vector const *to, void * i_user) {
ft2_to_liv* user=(ft2_to_liv*)i_user;
NR::Point p(user->scale*to->x,user->scale*to->y);
// printf("m t=%f %f\n",p[0],p[1]);
return 0;
}
-static int ft2_line_to (FT_Vector * to, void * i_user)
+static int ft2_line_to(FT_Vector const *to, void *i_user)
{
ft2_to_liv* user=(ft2_to_liv*)i_user;
NR::Point p(user->scale*to->x,user->scale*to->y);
return 0;
}
-static int ft2_conic_to (FT_Vector * control, FT_Vector * to, void * i_user)
+static int ft2_conic_to(FT_Vector const *control, FT_Vector const *to, void *i_user)
{
ft2_to_liv* user=(ft2_to_liv*)i_user;
NR::Point p(user->scale*to->x,user->scale*to->y),c(user->scale*control->x,user->scale*control->y);
return 0;
}
-static int ft2_cubic_to (FT_Vector * control1, FT_Vector * control2, FT_Vector * to, void * i_user)
+static int ft2_cubic_to(FT_Vector const *control1, FT_Vector const *control2, FT_Vector const *to, void *i_user)
{
ft2_to_liv* user=(ft2_to_liv*)i_user;
NR::Point p(user->scale*to->x,user->scale*to->y),