02-24-2008
Where are you declaring/defining itemType?
8 More Discussions You Might Find Interesting
1. Programming
What does "extern" do?
ex. extern int x;
and another question, what about using static in functions? like: static void foo(), why? (2 Replies)
Discussion started by: Esaia
2 Replies
2. Programming
Hi guys. I'm writing a basic script in C# and there's a few areas where I am stuck, and I was wondering if you may be able to help me?
1) Can you embed an image into the source code so it will show in the windows GUI?
2) Can you change the background of the GUI?
3) How do you add an .ico to... (5 Replies)
Discussion started by: JayC89
5 Replies
3. Programming
Hello,
First of all, i want to say Hi! Glad to join your forum and be your member. I'm a newbie towards C/C++ especially on network programming.
What is the definition of getaddrinfo()?
int getaddrinfo(const char *node, const char *service,
const struct addrinfo *hints,
... (4 Replies)
Discussion started by: f.ben.isaac
4 Replies
4. Shell Programming and Scripting
I need script to convert many files of the format MPEG ADTS to a normal mp3. (because my net radio can't play ADTS, for example:
file plik.mp3
plik.mp3: MPEG ADTS, layer III, v1, 128 kBits, 44.1 kHz, JntStereo
not play
file beautiful.mp3
beautiful.mp3: Audio file with ID3 version 23.0 tag,... (6 Replies)
Discussion started by: stahoo23
6 Replies
5. Programming
Hi All.
I have a package discreibed down.
CREATE OR REPLACE PACKAGE BODY IRISCOS_REFRESH_pkg AS
PROCEDURE IRISCOS IS
CURSOR cur_pci(c_myear number)
IS
Select cstc.cid, cstc.elid, p.first_name,p.last_name,p.email_id ,pl.plan_name, ptc.chair_id
from
person p, person_to_chair ptc,... (7 Replies)
Discussion started by: Haque123
7 Replies
6. Shell Programming and Scripting
Hey all,
Thanks for all the help you have given me. Two more things I am trying to figure out.
I need to issue a command..example
ps -ef | grep <process>
This would return about 10-15 running processes. I need to verify that there are x amount of processes running. What is... (7 Replies)
Discussion started by: jeffs42885
7 Replies
7. Homework & Coursework Questions
1.) I am to write scripts that will be phasetest folder in the home directory.
2.) The folder should have a set-up,phase and display files
I have written a small script which i used to check for the existing users and their password.
What I need help with:
I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies
8. UNIX for Dummies Questions & Answers
1) The lpr and sort utilities accept input either from a file named on the command line or from standard input.
a)Name two other utilities that function in a similar manner.
b)Name a utility that accepts its input only from standard input.
2) Explain the following error message. What... (10 Replies)
Discussion started by: youngyou
10 Replies
LEARN ABOUT PHP
printer_draw_chord
PRINTER_DRAW_CHORD(3) 1 PRINTER_DRAW_CHORD(3)
printer_draw_chord - Draw a chord
SYNOPSIS
void printer_draw_chord (resource $printer_handle, int $rec_x, int $rec_y, int $rec_x1, int $rec_y1, int $rad_x, int $rad_y, int
$rad_x1, int $rad_y1)
DESCRIPTION
The function simply draws an chord.
PARAMETERS
o $printer_handle
-$printer_handle must be a valid printer handle.
o $rec_x
-$rec_x is the upper left x coordinate of the bounding rectangle.
o $rec_y
-$rec_y is the upper left y coordinate of the bounding rectangle.
o $rec_x1
-$rec_x1 is the lower right x coordinate of the bounding rectangle.
o $rec_y1
-$rec_y1 is the lower right y coordinate of the bounding rectangle.
o $rad_x
-$rad_x is x coordinate of the radial defining the beginning of the chord.
o $rad_y
-$rad_y is y coordinate of the radial defining the beginning of the chord.
o $rad_x1
-$rad_x1 is x coordinate of the radial defining the end of the chord.
o $rad_y1
-$rad_y1 is y coordinate of the radial defining the end of the chord.
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
printer_draw_chord(3) example
<?php
$handle = printer_open();
printer_start_doc($handle, "My Document");
printer_start_page($handle);
$pen = printer_create_pen(PRINTER_PEN_SOLID, 2, "000000");
printer_select_pen($handle, $pen);
$brush = printer_create_brush(PRINTER_BRUSH_SOLID, "2222FF");
printer_select_brush($handle, $brush);
printer_draw_chord($handle, 1, 1, 500, 500, 1, 1, 500, 1);
printer_delete_brush($brush);
printer_delete_pen($pen);
printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);
?>
PHP Documentation Group PRINTER_DRAW_CHORD(3)