GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Graphics::Primitive::Driver::TextLayout(3) User Contributed Perl Documentation Graphics::Primitive::Driver::TextLayout(3)

Graphics::Primitive::Driver::TextLayout - TextLayout role

Graphics::Primitive::Driver::TextLayout is a role for Driver text layout engines.

    package MyLayout;
    use Moose;

    with 'Graphics::Primitive::Driver::TextLayout';

    ...

component
Set/Get the component from which to draw layout information.
height
Set/Get this layout's height
slice
Implemented by role consumer. Given an offset and an optional size, returns a TextBox containing lines from this layout that come as close to $size without exceeding it. This method is provided to allow incremental rendering of text. For example, if you have a series of containers 80 units high, you might write code like this:

  for(my $i = 0; $i < 3; $i++) {
      $textbox = $layout->slice($i * 80, 80);
      # render the text
  }
    
width
Set/Get this layout's width. Defaults to the width of the component supplied.

Cory Watson, "<gphat@cpan.org>"

Copyright 2008-2010 by Cory G Watson.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2015-01-04 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.