OxyScripts.com
Menu spacer Home Tutorials Articles Code Forums irc.freenode.net #oxyscripts
Main (PHP)
Home Forums PHP News PHP Tutorials Articles PHP Code Snippets Contact Us Sysadmin Resources Books Template Shop
3rd Party Streams
SlashDot PHPDeveloper.org PHP.Net
Resources
PHP Manual MySQL Manual Smarty Manual PEAR Manual PHP-GTK Manual Symfony Manual
Code Snippets
Authentication Database Graphics HTTP Miscellaneous Time/Date
Affiliates
Scripts TutorialMan TutorialGuide CodingForums.com PHP Scripts Cheap Web Hosting Affordable Web Hosting Dreamweaver Templates

Search This Site :     PHP Function Reference :
 
GdkGC

GdkGC

A structure that contains graphics information.

Object Hierarchy

Direct subclasses

None.

Description

A GdkGC is made up of a series of properties, each of which may or may not be set, that describe everything from color to font to line-width. It forms several of the underlying elements of the style property in widgets, and is used in GDK where GtkStyle would be used at GTK level. The GC part of GdkGC stands for graphics context, and every GDK drawing function requires one in much the same way that every GTK drawing function requires a style.

The functions that allow the getting and setting of GdkGC properties are internalised in PHP-GTK. For the most part, we have writeable properties instead of these methods. Please note that there is no guarantee that all these properties will be supported by your operating system; win32's 'little black boxes' text issue is there because win32 does not support stippling, for example.

There is no direct constructor for a GdkGC. To create one, you will need to use the GdkWindow method new_gc() and set the properties that you are interested in directly.

Methods

set_dashes()
  Configures the appearance of dashed lines.

Properties

foreground:
  The foreground color.
background:
  The background color.
font:
  The loaded font.
function:
  Bitwise description of the drawing function.
fill:
  The style of the fill.
tile:
  The pixmap used for tiling.
stipple:
  The pixmap used for stippling.
clip_mask:
  The clip mask bitmap.
subwindow_mode:
  The way subwindows are treated.
ts_x_origin:
  Tile or stipple's x origin.
ts_y_origin:
  Tile or stipple's y origin.
clip_x_origin:
  Clip mask's x origin.
clip_y_origin:
  Clip mask's y origin.
graphics_exposures:
  Whether expose events are generated during pixmap copies.
line_width:
  The pixel width of a drawn line.
line_style:
  The way a dashed line is drawn.
cap_style:
  The way the end of a line is drawn.
join_style:
  The way line joins are drawn.

 
   Print this page


WARNING: unlink(/home/users/web/b372/ipw.oxyscrip/public_html/public/templates_c///%%F2/F2A/F2AC1AFC%%inc_rightbar.tpl.php.php) [function.unlink]: No such file or directory (on line 44 of file '/hermes/bosweb/web037/b372/ipw.oxyscrip/public_html/3rdparty/Smarty-2.6.11/libs/internals/core.write_file.php')
Top Sponsor
Symantec\'s Norton SystemWorks 2006
Sponsors
CA
Sponsors
AdWords Dominator 125*125
Advertisting


Affiliates
VertexTemplates PHPFreaks CodeWalkers StarGeek DevScripts CGI & PHP Scripts PHP CMS Free Templates

Shopping Rebates   Sell It 4 You   Flash Page Counters   Get Insured
GPS Tracking Service   Charity Donate Info   Web Site Hosting   VOIP Service

Privacy Policy | Links | Site Map | Advertising

All content on OxyScripts.com is (©)2002-2007

 
Powered by Adrastea - Version 1.0.0. Copyright © Rune Solutions, 2004-2005