=head1 NAME

Gtk2::Gdk::GC

=head1 HIERARCHY

  Glib::Object
  +----Gtk2::Gdk::GC


=head1 METHODS

=head2 gc = Gtk2::Gdk::GC-E<gt>B<new> ($drawable, $values=undef)

=over

=over

=item * $drawable (Gtk2::Gdk::Drawable) 

=item * $values (scalar) 

=back

=back

=head2 gc = Gtk2::Gdk::GC-E<gt>B<new_with_values> ($drawable, $values=undef)

=over

=over

=item * $drawable (Gtk2::Gdk::Drawable) 

=item * $values (scalar) 

=back

=back

=head2 $gc-E<gt>B<set_background> ($color)

=over

=over

=item * $color (Gtk2::Gdk::Color) 

=back

=back

=head2 $gc-E<gt>B<set_clip_mask> ($mask)

=over

=over

=item * $mask (scalar) 

=back

=back

=head2 $gc-E<gt>B<set_clip_origin> ($x, $y)

=over

=over

=item * $x (integer) 

=item * $y (integer) 

=back

=back

=head2 $gc-E<gt>B<set_clip_rectangle> ($rectangle)

=over

=over

=item * $rectangle (Gtk2::Gdk::Rectangle) 

=back

=back

=head2 $gc-E<gt>B<set_clip_region> ($region)

=over

=over

=item * $region (Gtk2::Gdk::Region) 

=back

=back

=head2 colormap = $gc-E<gt>B<get_colormap> 

=over

=back

=head2 $gc-E<gt>B<set_colormap> ($colormap)

=over

=over

=item * $colormap (Gtk2::Gdk::Colormap) 

=back

=back

=head2 $dst_gc-E<gt>B<copy> ($src_gc)

=over

=over

=item * $src_gc (Gtk2::Gdk::GC) 

=back

=back

=head2 $gc-E<gt>B<set_dashes> ($dash_offset, ...)

=over

=over

=item * $dash_offset (integer) 

=item * ... (list) of integers, the length of the dash segments

=back

Sets the way dashed-lines are drawn. Lines will be drawn with alternating on
and off segments of the lengths specified in list of dashes. The manner in
which the on and off segments are drawn is determined by the line_style value
of the GC.

=back

=head2 $gc-E<gt>B<set_exposures> ($exposures)

=over

=over

=item * $exposures (boolean) 

=back

=back

=head2 $gc-E<gt>B<set_fill> ($fill)

=over

=over

=item * $fill (Gtk2::Gdk::Fill) 

=back

=back

=head2 $gc-E<gt>B<set_font> ($font)

=over

=over

=item * $font (Gtk2::Gdk::Font) 

=back

=back

=head2 $gc-E<gt>B<set_foreground> ($color)

=over

=over

=item * $color (Gtk2::Gdk::Color) 

=back

=back

=head2 $gc-E<gt>B<set_function> ($function)

=over

=over

=item * $function (Gtk2::Gdk::Function) 

=back

=back

=head2 $gc-E<gt>B<set_line_attributes> ($line_width, $line_style, $cap_style, $join_style)

=over

=over

=item * $line_width (integer) 

=item * $line_style (Gtk2::Gdk::LineStyle) 

=item * $cap_style (Gtk2::Gdk::CapStyle) 

=item * $join_style (Gtk2::Gdk::JoinStyle) 

=back

=back

=head2 $gc-E<gt>B<offset> ($x_offset, $y_offset)

=over

=over

=item * $x_offset (integer) 

=item * $y_offset (integer) 

=back

=back

=head2 $gc-E<gt>B<set_rgb_background> ($rgb)

=over

=over

=item * $rgb (unsigned) 

=back

=back

=head2 $gc-E<gt>B<set_rgb_bg_color> ($color)

=over

=over

=item * $color (Gtk2::Gdk::Color) 

=back

=back

=head2 $gc-E<gt>B<set_rgb_fg_color> ($color)

=over

=over

=item * $color (Gtk2::Gdk::Color) 

=back

=back

=head2 $gc-E<gt>B<set_rgb_foreground> ($rgb)

=over

=over

=item * $rgb (unsigned) 

=back

=back

=head2 $gc-E<gt>B<rgb_gc_set_background> ($rgb)

=over

=over

=item * $rgb (unsigned) 

=back

=back

=head2 $gc-E<gt>B<rgb_gc_set_foreground> ($rgb)

=over

=over

=item * $rgb (unsigned) 

=back

=back

=head2 screen = $gc-E<gt>B<get_screen> 

=over

=back

=head2 $gc-E<gt>B<set_stipple> ($stipple)

=over

=over

=item * $stipple (Gtk2::Gdk::Pixmap) 

=back

=back

=head2 $gc-E<gt>B<set_subwindow> ($mode)

=over

=over

=item * $mode (Gtk2::Gdk::SubwindowMode) 

=back

=back

=head2 $gc-E<gt>B<set_tile> ($tile)

=over

=over

=item * $tile (Gtk2::Gdk::Pixmap) 

=back

=back

=head2 $gc-E<gt>B<set_ts_origin> ($x, $y)

=over

=over

=item * $x (integer) 

=item * $y (integer) 

=back

=back

=head2 scalar = $gc-E<gt>B<get_values> 

=over

=back

=head2 $gc-E<gt>B<set_values> ($values)

=over

=over

=item * $values (scalar) 

=back

=back


=head1 SEE ALSO

L<Gtk2>, L<Glib::Object>

=head1 COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL.  See L<Gtk2> for a full notice.


=cut

