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::Brush(3pm) User Contributed Perl Documentation Graphics::Primitive::Brush(3pm)NAME
Graphics::Primitive::Brush - Description of a stroke
DESCRIPTION
Graphics::Primitive::Brush represents the visible trace of 'ink' along a path.
SYNOPSIS
use Graphics::Primitive::Brush;
my $stroke = Graphics::Primitive::Brush->new({
line_cap => 'round',
line_join => 'miter',
width => 2
});
METHODS
Constructor
new Creates a new Graphics::Primitive::Brush. Defaults to a width of 1, a line_cap 'butt' and a line_join of 'miter'.
Instance Methods
color
Set/Get this brush's color.
dash_pattern
Set/Get the dash pattern. A dash pattern is an arrayref of numbers representing the lengths of the various line segments of the dash.
Even numbered elements are considered opaque and odd elements are transparent.
derive
Clone this brush but change one or more of it's attributes by passing in a hashref of options:
my $new = $brush->derive({ attr => $newvalue });
The returned font will be identical to the cloned one, save the attributes specified.
equal_to ($other)
Returns 1 if this brush is equal to the supplied one, else returns 0.
line_cap
Set/Get the line_cap of this stroke. Valid values are butt, round and square.
line_join
Set/Get the line_join of this stroke. Valid values are miter, round and bevel.
not_equal_to ($other)
Opposite of equal_to.
width
Set/Get the width of this stroke. Defaults to 1
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::Brush(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)