graphics::primitive::driver::textlayout(3pm) [debian man page]
Graphics::Primitive::Driver::TextLayout(3pm) User Contributed Perl Documentation Graphics::Primitive::Driver::TextLayout(3pm)NAME
Graphics::Primitive::Driver::TextLayout - TextLayout role
DESCRIPTION
Graphics::Primitive::Driver::TextLayout is a role for Driver text layout engines.
SYNOPSIS
package MyLayout;
use Moose;
with 'Graphics::Primitive::Driver::TextLayout';
...
METHODS
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.
AUTHOR
Cory Watson, "<gphat@cpan.org>"
COPYRIGHT & LICENSE
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.
perl v5.12.3 2010-08-21 Graphics::Primitive::Driver::TextLayout(3pm)
Check Out this Related Man Page
Graphics::Primitive::Insets(3pm) User Contributed Perl Documentation Graphics::Primitive::Insets(3pm)NAME
Graphics::Primitive::Insets - Space between things
DESCRIPTION
Graphics::Primitive::Insets represents the amount of space that surrounds something. This object can be used to represent either padding
or margins (in the CSS sense, one being inside the bounding box, the other being outside)
SYNOPSIS
use Graphics::Primitive::Insets;
my $insets = Graphics::Primitive::Insets->new({
top => 5,
bottom => 5,
left => 5,
right => 5
});
METHODS
Constructor
new Creates a new Graphics::Primitive::Insets.
Instance Methods
as_array
Return these insets as an array in the form of top, right, bottom and left.
bottom
Set/Get the inset from the bottom.
equal_to
Determine if these Insets are equal to another.
left
Set/Get the inset from the left.
right
Set/Get the inset from the right.
top Set/Get the inset from the top.
zero
Sets all the insets (top, left, bottom, right) to 0.
AUTHOR
Cory Watson, "<gphat@cpan.org>"
SEE ALSO perl(1)COPYRIGHT & LICENSE
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.
perl v5.12.3 2010-08-21 Graphics::Primitive::Insets(3pm)
I'm wanting to get user interaction...textbox or checkboxes would be great. I want to allow someone to enter data into textbox. (this is the time I want to grab a photo from) Then I want to be able to check the different sizes I want for the image. Say 4 options.
Is this possible using the... (0 Replies)
Hi guys
I am having some SCASI Driver issue while installing the RHEL 3 on SunFire X4200 series Server so can anyone help me out as how to get rid off from this problem. (1 Reply)
Hi guys
I am having some SCASI Driver issue while installing the RHEL 3 on SunFire X4200 series Server so can anyone help me out as how to get rid off from this problem. (2 Replies)
I have a list with four dates
say load_date.lst contains
2010-01-01 2010-01-31
2010-03-01 2010-03-31
2010-05-01 2010-05-31
2010-07-01 2010-07-31
And I have directory /lll/src/sql with set of sql's
1_load.sql
2_load.sql
3_load.sql
I want to run the sql'in series with respective to... (3 Replies)
I just bought a Lexmark PRO901 printer, for I was told that it was debian compliant.
Upon unpacking I saw mention of Ubuntu.
I thought of returning it but found a site that had
Printer Driver with JRE for 64-bit Debian Package Manager based Distros
What I downloaded was ... (1 Reply)
Hi, all.
We are getting below error messages for timesten
TT8151: ROOT.DEDICATED_ACCOUNT's replication role disallows the requested operation -- file "eeDML.c", lineno 9494, procedure "sbEeUpdateEval"
We use two way replication. Is there any explanation on what can cause this, and what... (0 Replies)
Hi All,
I'm looking for role change to Linux device Driver developer. My current role has no connection to Linux Device driver development and hence to support my stand i want to do a certification for the same.
I have googled but couldn't found any standard certification. I have submitted... (1 Reply)