Mercurial > octave
comparison libinterp/corefcn/gl2ps-renderer.cc @ 17861:870f3e12e163
maint: Use phrase "FIXME:" for problem areas in code.
* libinterp/corefcn/betainc.cc, libinterp/corefcn/bitfcns.cc,
libinterp/corefcn/display.cc, libinterp/corefcn/gammainc.cc,
libinterp/corefcn/gl2ps-renderer.cc, libinterp/corefcn/graphics.cc,
libinterp/corefcn/load-save.cc, libinterp/corefcn/ls-hdf5.cc,
libinterp/corefcn/ls-mat5.cc, libinterp/corefcn/ls-oct-binary.cc,
libinterp/corefcn/luinc.cc, libinterp/corefcn/mex.cc,
libinterp/corefcn/regexp.cc, libinterp/corefcn/sighandlers.cc,
libinterp/corefcn/sparse-xpow.cc, libinterp/corefcn/urlwrite.cc,
libinterp/corefcn/variables.cc, libinterp/dldfcn/__init_fltk__.cc,
libinterp/dldfcn/__magick_read__.cc, libinterp/dldfcn/chol.cc,
libinterp/octave-value/ov-bool-sparse.cc,
libinterp/octave-value/ov-fcn-inline.cc,
libinterp/octave-value/ov-flt-re-mat.cc, libinterp/octave-value/ov-re-mat.cc,
libinterp/octave-value/ov-str-mat.cc, libinterp/parse-tree/lex.ll,
liboctave/numeric/SparseCmplxQR.cc, liboctave/numeric/SparseQR.cc,
liboctave/numeric/sparse-dmsolve.cc, liboctave/util/lo-utils.cc,
liboctave/util/sparse-util.cc, liboctave/util/url-transfer.cc:
maint: Use phrase "FIXME:" for problem areas in code.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 06 Nov 2013 11:42:35 -0800 |
parents | 06a850f83dd4 |
children | 6a71e5030df5 3277514f36da |
comparison
equal
deleted
inserted
replaced
17860:93edd282a2bc | 17861:870f3e12e163 |
---|---|
155 | 155 |
156 glRasterPos3d (x, y, z); | 156 glRasterPos3d (x, y, z); |
157 gl2psTextOpt (txt.c_str (), fontname.c_str (), fontsize, | 157 gl2psTextOpt (txt.c_str (), fontname.c_str (), fontsize, |
158 alignment_to_mode (ha, va), rotation); | 158 alignment_to_mode (ha, va), rotation); |
159 | 159 |
160 // FIXME? -- we have no way of getting a bounding box from gl2ps, so | 160 // FIXME? |
161 // we use freetype | 161 // We have no way of getting a bounding box from gl2ps, so we use freetype. |
162 Matrix bbox; | 162 Matrix bbox; |
163 uint8NDArray pixels; | 163 uint8NDArray pixels; |
164 text_to_pixels (txt, pixels, bbox, 0, 0, rotation); | 164 text_to_pixels (txt, pixels, bbox, 0, 0, rotation); |
165 return bbox; | 165 return bbox; |
166 } | 166 } |