1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613
|
Description: add whatis entries to man pages
Origin: vendor
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=593289
Author: Ryan Niebur <ryan@debian.org>
Last-Update: 2011-08-08
--- a/xs/PangoAttributes.xs
+++ b/xs/PangoAttributes.xs
@@ -299,6 +299,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::Color PREFIX = pango_color_
+=for object Pango::Color - an object to represent a color for Pango
+
+=cut
+
BOOT:
PERL_UNUSED_VAR (file);
pango_color_wrapper_class.wrap = pango_color_wrap;
@@ -345,6 +349,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::Attribute PREFIX = pango_attribute_
+=for object Pango::Attribute - Pango base class for attributes
+
+=cut
+
BOOT:
default_wrapper_class = gperl_default_boxed_wrapper_class ();
gtk2perl_pango_attribute_wrapper_class = * default_wrapper_class;
@@ -377,6 +385,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrString
+=for object Pango::AttrString - used to represent attributes with a string value
+
+=cut
+
BOOT:
gperl_set_isa ("Pango::AttrString", "Pango::Attribute");
@@ -397,6 +409,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrInt
+=for object Pango::AttrInt - structure used to represent attributes with an integer value
+
+=cut
+
BOOT:
gperl_set_isa ("Pango::AttrInt", "Pango::Attribute");
@@ -413,6 +429,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrColor
+=for object Pango::AttrColor - Pango color attribute
+
+=cut
+
BOOT:
gperl_set_isa ("Pango::AttrColor", "Pango::Attribute");
@@ -441,6 +461,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrLanguage PREFIX = pango_attr_language_
+=for object Pango::AttrLanguage - used to represent attributes that are languages
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrLanguage");
gperl_set_isa ("Pango::AttrLanguage", "Pango::Attribute");
@@ -471,6 +495,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrFamily PREFIX = pango_attr_family_
+=for object Pango::AttrFamily - Pango attribute family
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrFamily");
gperl_set_isa ("Pango::AttrFamily", "Pango::AttrString");
@@ -485,6 +513,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrForeground PREFIX = pango_attr_foreground_
+=for object Pango::AttrForeground - Pango foreground attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrForeground");
gperl_set_isa ("Pango::AttrForeground", "Pango::AttrColor");
@@ -499,6 +531,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrBackground PREFIX = pango_attr_background_
+=for object Pango::AttrBackground - Pango background color attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrBackground");
gperl_set_isa ("Pango::AttrBackground", "Pango::AttrColor");
@@ -513,6 +549,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrSize PREFIX = pango_attr_size_
+=for object Pango::AttrSize - Pango font-size attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrSize");
gperl_set_isa ("Pango::AttrSize", "Pango::AttrInt");
@@ -541,6 +581,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrStyle PREFIX = pango_attr_style_
+=for object Pango::AttrStyle - Pango font slant style attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrStyle");
gperl_set_isa ("Pango::AttrStyle", "Pango::Attribute");
@@ -564,6 +608,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrWeight PREFIX = pango_attr_weight_
+=for object Pango::AttrWeight - Pango font weight attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrWeight");
gperl_set_isa ("Pango::AttrWeight", "Pango::Attribute");
@@ -587,6 +635,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrVariant PREFIX = pango_attr_variant_
+=for object Pango::AttrVariant - Pango font variant attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrVariant");
gperl_set_isa ("Pango::AttrVariant", "Pango::Attribute");
@@ -610,6 +662,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrStretch PREFIX = pango_attr_stretch_
+=for object Pango::AttrStretch - Pango font stretch attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrStretch");
gperl_set_isa ("Pango::AttrStretch", "Pango::Attribute");
@@ -633,6 +689,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrUnderline PREFIX = pango_attr_underline_
+=for object Pango::AttrUnderline - Pango underline style attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrUnderline");
gperl_set_isa ("Pango::AttrUnderline", "Pango::Attribute");
@@ -656,6 +716,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrStrikethrough PREFIX = pango_attr_strikethrough_
+=for object Pango::AttrStrikethrough - Pango strike-through attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrStrikethrough");
gperl_set_isa ("Pango::AttrStrikethrough", "Pango::Attribute");
@@ -679,6 +743,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrFontDesc PREFIX = pango_attr_font_desc_
+=for object Pango::AttrFontDesc - Pango description of a font
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrFontDesc");
gperl_set_isa ("Pango::AttrFontDesc", "Pango::Attribute");
@@ -706,6 +774,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrScale PREFIX = pango_attr_scale_
+=for object Pango::AttrScale - Pango font size scale attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrScale");
gperl_set_isa ("Pango::AttrScale", "Pango::Attribute");
@@ -729,6 +801,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrRise PREFIX = pango_attr_rise_
+=for object Pango::AttrRise - Pango baseline displacement attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrRise");
gperl_set_isa ("Pango::AttrRise", "Pango::AttrInt");
@@ -743,6 +819,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrShape PREFIX = pango_attr_shape_
+=for object Pango::AttrShape - Pango shape attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrShape");
gperl_set_isa ("Pango::AttrShape", "Pango::Attribute");
@@ -781,6 +861,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrFallback PREFIX = pango_attr_fallback_
+=for object Pango::AttrFallback - Pango fallback attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrFallback");
gperl_set_isa ("Pango::AttrFallback", "Pango::Attribute");
@@ -808,6 +892,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrLetterSpacing PREFIX = pango_attr_letter_spacing_
+=for object Pango::AttrLetterSpacing - Pango letter spacing attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrLetterSpacing");
gperl_set_isa ("Pango::AttrLetterSpacing", "Pango::AttrInt");
@@ -826,6 +914,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrUnderlineColor PREFIX = pango_attr_underline_color_
+=for object Pango::AttrUnderlineColor - Pango underline color attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrUnderlineColor");
gperl_set_isa ("Pango::AttrUnderlineColor", "Pango::AttrColor");
@@ -844,6 +936,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrStrikethroughColor PREFIX = pango_attr_strikethrough_color_
+=for object Pango::AttrStrikethroughColor - Pango color strikethrough color attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrStrikethroughColor");
gperl_set_isa ("Pango::AttrStrikethroughColor", "Pango::AttrColor");
@@ -862,6 +958,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrGravity PREFIX = pango_attr_gravity_
+=for object Pango::AttrGravity - Pango gravity attribute
+
+=cut
+
BOOT:
gperl_register_boxed_alias (PANGO_TYPE_ATTRIBUTE, "Pango::AttrGravity");
gperl_set_isa ("Pango::AttrGravity", "Pango::Attribute");
@@ -883,6 +983,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrGravityHint PREFIX = pango_attr_gravity_hint_
+=for object Pango::AttrGravityHint - Pango gravity hint attribute
+
+=cut
+
BOOT:
gperl_set_isa ("Pango::AttrGravityHint", "Pango::Attribute");
@@ -907,6 +1011,7 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrList PREFIX = pango_attr_list_
+
=for position DESCRIPTION
=head1 DESCRIPTION
@@ -960,6 +1065,10 @@
MODULE = Pango::Attributes PACKAGE = Pango::AttrIterator PREFIX = pango_attr_iterator_
+=for object Pango::AttrIterator - used to represent iterators through Pango::AttrLists
+
+=cut
+
void pango_attr_iterator_range (PangoAttrIterator *iterator, OUTLIST gint start, OUTLIST gint end);
gboolean pango_attr_iterator_next (PangoAttrIterator *iterator);
@@ -1008,7 +1117,8 @@
MODULE = Pango::Attributes PACKAGE = Pango PREFIX = pango_
# don't clobber the pod for Pango!
-=for object Pango::AttrList
+=for object Pango::AttrList - holds attributes that apply to a section of text
+
=cut
##gboolean pango_parse_markup (const char *markup_text,
--- a/xs/PangoCairo.xs
+++ b/xs/PangoCairo.xs
@@ -61,6 +61,10 @@
MODULE = Pango::Cairo PACKAGE = Pango::Cairo::FontMap PREFIX = pango_cairo_font_map_
+=for object Pango::Cairo::FontMap - Pango font maps with Cairo
+
+=cut
+
# PangoFontMap *pango_cairo_font_map_new (void);
PangoFontMap_noinc * pango_cairo_font_map_new (class)
C_ARGS:
@@ -106,6 +110,10 @@
MODULE = Pango::Cairo PACKAGE = Pango::Cairo::Font PREFIX = pango_cairo_font_
+=for object Pango::Cairo::Font - Pango using cairo fonts for rendering
+
+=cut
+
#if PANGO_CHECK_VERSION (1, 18, 0)
cairo_scaled_font_t *pango_cairo_font_get_scaled_font (PangoCairoFont *font);
@@ -116,6 +124,10 @@
MODULE = Pango::Cairo PACKAGE = Pango::Cairo PREFIX = pango_cairo_
+=for object Pango::Cairo - Pango rendering with the Cairo backend
+
+=cut
+
=for position DESCRIPTION
I<Pango::Cairo> contains a few functions that help integrate pango and
cairo. Since they aren't methods of a particular object, they are bound as
@@ -174,6 +186,10 @@
MODULE = Pango::Cairo PACKAGE = Pango::Cairo::Context PREFIX = pango_cairo_context_
+=for object Pango::Cairo::Context - Using Cairo contexts with pango
+
+=cut
+
BOOT:
gperl_set_isa ("Pango::Cairo::Context", "Pango::Context");
--- a/xs/PangoContext.xs
+++ b/xs/PangoContext.xs
@@ -20,6 +20,10 @@
MODULE = Pango::Context PACKAGE = Pango::Context PREFIX = pango_context_
+=for object Pango::Context - Pango object that stores global information used to control the itemization process
+
+=cut
+
## applications have no cause to use pango_context_new() -- it is intended
## to be used by backends. i seriously doubt anyone would want to write a
## pango backend in Perl, unless they want something that's really slow.
--- a/xs/PangoFont.xs
+++ b/xs/PangoFont.xs
@@ -20,9 +20,6 @@
MODULE = Pango::Font PACKAGE = Pango
-=for object Pango::FontDescription
-=cut
-
### some constants...
double
scale (class)
@@ -63,6 +60,10 @@
MODULE = Pango::Font PACKAGE = Pango::FontDescription PREFIX = pango_font_description_
+=for object Pango::FontDescription - Pango object to represent a description of a font
+
+=cut
+
##PangoFontDescription* pango_font_description_new (void)
PangoFontDescription_own *
pango_font_description_new (class)
@@ -228,6 +229,10 @@
MODULE = Pango::Font PACKAGE = Pango::FontMetrics PREFIX = pango_font_metrics_
+=for object Pango::FontMetrics - object for Pango containing overall metric information for a font
+
+=cut
+
# should happen automagicly
## void pango_font_metrics_unref (PangoFontMetrics *metrics)
@@ -277,6 +282,10 @@
MODULE = Pango::Font PACKAGE = Pango::FontFamily PREFIX = pango_font_family_
+=for object Pango::FontFamily - Pango object representing a family of related font faces
+
+=cut
+
BOOT:
gperl_object_set_no_warn_unreg_subclass (PANGO_TYPE_FONT_FAMILY, TRUE);
@@ -313,6 +322,10 @@
MODULE = Pango::Font PACKAGE = Pango::FontFace PREFIX = pango_font_face_
+=for object Pango::FontFace - object for Pango representing a group of fonts varying only in size
+
+=cut
+
#
# PangoFontFace
#
@@ -357,6 +370,10 @@
MODULE = Pango::Font PACKAGE = Pango::Font PREFIX = pango_font_
+=for object Pango::Font - a rendering-system independent font representation
+
+=cut
+
## PangoFontMetrics * pango_font_get_metrics (PangoFont *font, PangoLanguage *language)
PangoFontMetrics *
pango_font_get_metrics (font, language)
--- a/xs/PangoFontMap.xs
+++ b/xs/PangoFontMap.xs
@@ -20,6 +20,10 @@
MODULE = Pango::FontMap PACKAGE = Pango::FontMap PREFIX = pango_font_map_
+=for object Pango::FontMap - an object that represents the set of fonts available for a particular rendering system
+
+=cut
+
## PangoFont * pango_font_map_load_font (PangoFontMap *fontmap, PangoContext *context, const PangoFontDescription *desc)
PangoFont_ornull *
pango_font_map_load_font (fontmap, context, desc)
--- a/xs/PangoFontset.xs
+++ b/xs/PangoFontset.xs
@@ -48,6 +48,10 @@
MODULE = Pango::Fontset PACKAGE = Pango::Fontset PREFIX = pango_fontset_
+=for object Pango::Fontset - object containing a set of Pango::Font objects
+
+=cut
+
BOOT:
gperl_object_set_no_warn_unreg_subclass (PANGO_TYPE_FONTSET, TRUE);
--- a/xs/PangoGravity.xs
+++ b/xs/PangoGravity.xs
@@ -20,6 +20,10 @@
MODULE = Pango::Gravity PACKAGE = Pango::Gravity PREFIX = pango_gravity_
+=for object Pango::Gravity - represents the orientation of glyphs in a segment of text
+
+=cut
+
=for apidoc __function__
=cut
gboolean
--- a/xs/PangoLayout.xs
+++ b/xs/PangoLayout.xs
@@ -168,6 +168,10 @@
MODULE = Pango::Layout PACKAGE = Pango::Layout PREFIX = pango_layout_
+=for object Pango::Layout - an object representing a paragraph of text with attributes
+
+=cut
+
## PangoLayout *pango_layout_new (PangoContext *context)
PangoLayout_noinc *
pango_layout_new (class, context)
@@ -531,6 +535,10 @@
MODULE = Pango::Layout PACKAGE = Pango::LayoutLine PREFIX = pango_layout_line_
+=for object Pango::LayoutLine - a line in a Pango::Layout
+
+=cut
+
## gboolean pango_layout_line_x_to_index (PangoLayoutLine *line, int x_pos, int *index_, int *trailing)
void
pango_layout_line_x_to_index (PangoLayoutLine *line, int x_pos)
@@ -602,6 +610,10 @@
MODULE = Pango::Layout PACKAGE = Pango::LayoutIter PREFIX = pango_layout_iter_
+=for object Pango::LayoutIter - an object used to iterate over the visual extents of a Pango::Layout
+
+=cut
+
## void pango_layout_iter_free (PangoLayoutIter *iter)
## int pango_layout_iter_get_index (PangoLayoutIter *iter)
--- a/xs/PangoTabs.xs
+++ b/xs/PangoTabs.xs
@@ -20,6 +20,10 @@
MODULE = Pango::TabArray PACKAGE = Pango::TabArray PREFIX = pango_tab_array_
+=for object Pango::TabArray - an object containing an array of tab stops
+
+=cut
+
## PangoTabArray *pango_tab_array_new (gint initial_size, gboolean positions_in_pixels)
### PangoTabArray *pango_tab_array_new_with_positions (gint size, gboolean positions_in_pixels, PangoTabAlign first_alignment, gint first_position, ...)
--- a/xs/PangoRenderer.xs
+++ b/xs/PangoRenderer.xs
@@ -20,6 +20,10 @@
MODULE = Pango::Renderer PACKAGE = Pango::Renderer PREFIX = pango_renderer_
+=for object Pango::Renderer - a base class for pango rendering
+
+=cut
+
BOOT:
PERL_UNUSED_VAR (file);
--- a/xs/PangoScript.xs
+++ b/xs/PangoScript.xs
@@ -46,6 +46,10 @@
MODULE = Pango::Script PACKAGE = Pango::Script PREFIX = pango_script_
+=for object Pango::Script - identifies different writing systems
+
+=cut
+
BOOT:
PERL_UNUSED_VAR (file);
@@ -67,6 +71,10 @@
MODULE = Pango::Script PACKAGE = Pango::ScriptIter PREFIX = pango_script_iter_
+=for object Pango::ScriptIter - used to break a string of Unicode into runs by text
+
+=cut
+
## Using gchar instead of char here all over the place to enforce utf8.
## PangoScriptIter * pango_script_iter_new (const char *text, int length)
@@ -110,6 +118,10 @@
MODULE = Pango::Script PACKAGE = Pango::Language PREFIX = pango_language_
+=for object Pango::Language - an object that represents a language tag
+
+=cut
+
## gboolean pango_language_includes_script (PangoLanguage *language, PangoScript script)
gboolean
pango_language_includes_script (language, script)
--- a/xs/Pango.xs
+++ b/xs/Pango.xs
@@ -27,7 +27,12 @@
# Don't doc these in Pango, or we'll clobber the main POD page!
-=for object Pango::version
+=for object Pango layout and render international text
+
+=cut
+
+=for object Pango::version - get and check the version of Pango that this was compiled against
+
=cut
=for see_also L<Gtk2::version>
--- a/xs/PangoMatrix.xs
+++ b/xs/PangoMatrix.xs
@@ -20,6 +20,10 @@
MODULE = Pango::Matrix PACKAGE = Pango::Matrix PREFIX = pango_matrix_
+=for object Pango::Matrix - A structure specifying a transformation between user-space coordinates and device coordinates
+
+=cut
+
double
xx (matrix, new = 0)
PangoMatrix *matrix
|