新規作成  編集  Ruby-GNOME2 Project Website  ページ一覧  検索  更新履歴  編集履歴  RSS  ログイン

Cairo::Context

class Cairo::Context

There are only GDK related API.

Object Hierarchy

  • Object
    • Cairo::Context

Instance Methods

rectangle(rectangle)
Adds the given rectangle to the current path of self.
region(region)
Adds the given region to the current path of self.
set_source_color(color)
Sets the specified Gdk::Color as the source color of self.
set_source_pixbuf(pixbuf, pixbuf_x, pixbuf_y)
Sets the given pixbuf as the source pattern for the Cairo context. The pattern has an extend mode of Cairo::EXTEND_NONE and is aligned so that the origin of pixbuf is pixbuf_x, pixbuf_y
  • pixbuf: Gdk::Pixbuf
  • pixbuf_x: X coordinate of location to place upper left corner of pixbuf
  • pixbuf_y: Y coordinate of location to place upper left corner of pixbuf
  • Returns: self

ChangeLog

  • 2005-10-03 Added. - kou
更新日時:2006/12/17 16:57:22
キーワード:
参照: