~ubuntu-branches/ubuntu/vivid/pangomm/vivid

« back to all changes in this revision

Viewing changes to pango/pangomm/context.cc

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2013-06-27 03:45:34 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20130627034534-ran33b0p8ffl2j25
Tags: 2.34.0-1
* New upstream release.
* Bump required version of libglibmm-2.4-dev to (>= 2.36.0).
* Drop obsolete DM-Upload-Allowed field.
* Update Vcs-* URLs.
* Update debian/copyright, use final copyright-format 1.0 spec.
* Bump Standards-Version to 3.9.4. No further changes.
* Add Build-Depends on autotools-dev as lintian was complaining about
  outdated config.{guess,sub}.
* Drop obsolete Conflicts/Replaces.
* Convert to multiarch.
* Bump debhelper compatibility level to 9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
 
216
216
void Context::set_font_map(const Glib::RefPtr<FontMap>& font_map)
217
217
{
218
 
pango_context_set_font_map(gobj(), Glib::unwrap(font_map)); 
 
218
  pango_context_set_font_map(gobj(), Glib::unwrap(font_map));
219
219
}
220
220
 
221
221
Glib::RefPtr<FontMap> Context::get_font_map()
245
245
 
246
246
void Context::set_font_description(const FontDescription& desc)
247
247
{
248
 
pango_context_set_font_description(gobj(), (desc).gobj()); 
 
248
  pango_context_set_font_description(gobj(), (desc).gobj());
249
249
}
250
250
 
251
251
FontDescription Context::get_font_description() const
260
260
 
261
261
void Context::set_language(const Language& language)
262
262
{
263
 
pango_context_set_language(gobj(), const_cast<PangoLanguage*>((language).gobj())); 
 
263
  pango_context_set_language(gobj(), const_cast<PangoLanguage*>((language).gobj()));
264
264
}
265
265
 
266
266
void Context::set_base_dir(Direction direction)
267
267
{
268
 
pango_context_set_base_dir(gobj(), ((PangoDirection)(direction))); 
 
268
  pango_context_set_base_dir(gobj(), ((PangoDirection)(direction)));
269
269
}
270
270
 
271
271
Direction Context::get_base_dir() const
275
275
 
276
276
void Context::set_base_gravity(Gravity gravity)
277
277
{
278
 
pango_context_set_base_gravity(gobj(), ((PangoGravity)(gravity))); 
 
278
  pango_context_set_base_gravity(gobj(), ((PangoGravity)(gravity)));
279
279
}
280
280
 
281
281
Gravity Context::get_base_gravity() const
290
290
 
291
291
void Context::set_gravity_hint(GravityHint hint)
292
292
{
293
 
pango_context_set_gravity_hint(gobj(), ((PangoGravityHint)(hint))); 
 
293
  pango_context_set_gravity_hint(gobj(), ((PangoGravityHint)(hint)));
294
294
}
295
295
 
296
296
GravityHint Context::get_gravity_hint() const
300
300
 
301
301
void Context::set_matrix(const Matrix& matrix)
302
302
{
303
 
pango_context_set_matrix(gobj(), &(matrix)); 
 
303
  pango_context_set_matrix(gobj(), &(matrix));
304
304
}
305
305
 
306
306
void Context::set_cairo_font_options(const Cairo::FontOptions& options)
307
307
{
308
 
pango_cairo_context_set_font_options(gobj(), (options).cobj()); 
 
308
  pango_cairo_context_set_font_options(gobj(), (options).cobj());
309
309
}
310
310
 
311
311
Cairo::FontOptions Context::get_font_options() const
315
315
 
316
316
void Context::set_resolution(double dpi)
317
317
{
318
 
pango_cairo_context_set_resolution(gobj(), dpi); 
 
318
  pango_cairo_context_set_resolution(gobj(), dpi);
319
319
}
320
320
 
321
321
double Context::get_resolution() const