Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators Question Regarding Megabits Drawing Post 302735235 by Neo on Friday 23rd of November 2012 11:24:22 PM
Old 11-24-2012
Just give it a bit of time for the system to sync, today is the 24th, and the drawing dates are the 23rd and 24th.

Patience.
 

5 More Discussions You Might Find Interesting

1. Programming

Line-drawing character!

Hi guys, I'm trying to make my program to print out tables usings line-drawing character (alternate char. set) with Curses Library. However, it always prints out control characters (^@) instead of the correct ones. code example: mvwaddch(my_window, 23, 12, ACS_RTEE); appreciate your help,... (5 Replies)
Discussion started by: zecoj
5 Replies

2. Shell Programming and Scripting

Drawing

Hi, Is it possible to draw circle, box and other basic shapes using shell scripts ? If so can anyone please tell as how to do it. Thanks in advance. (3 Replies)
Discussion started by: abrd600
3 Replies

3. Programming

[ C++ ] Drawing Program.

I made a program that prints dots and lines in a Page. So far that's all i could come up with. When i try to print the lines and the dots it just prints consecutive points,I want it to print the points & lines in the page's coordinates. I have been stuck for a long time now. Please Help. ... (12 Replies)
Discussion started by: Max_Payne
12 Replies

4. Programming

problems with drawing in x using xlib

Hi all, I'm currently learning xlib and I've encountered a bizarre mistake: function calls such as XDrawPoint, XDrawLine, etc., don't seem to work; a blank window with nothing in is appears. I believe this has something to do with the window manager I use, fluxbox. After checking the code and... (0 Replies)
Discussion started by: hydronium
0 Replies

5. UNIX for Advanced & Expert Users

Server room drawing software

Hello All, I want to get ride of Excel/word and want some software to draw my server room racks/server and overall topology. Please share you opinion/experience. thanks inadvance (1 Reply)
Discussion started by: Vit0_Corleone
1 Replies
Libnetpbm PPM Drawing Function Manual(3)		     Library Functions Manual			  Libnetpbm PPM Drawing Function Manual(3)

       Table Of Contents <#toc>

NAME
libnetpbm_draw - Libnetpbm PPM Drawing Function Manual DESCRIPTION
This reference manual covers functions in the libnetpbm library for drawing images, using the PPM image format and the libnetpbm in-memory image formats. We actually have very little information here; this is mainly a framework for adding documentation later if someone becomes interested in this facility. The Functions The functions are all declared in the ppmdraw.h header file. ppmd_point_drawproc ppmd_setlinetype ppmd_setlineclip ppmd_line ppmd_spline3 ppmd_polyspline ppmd_circle ppmd_filledrectangle ppmd_fill_drawproc ppmd_fill ppmd_text ppmd_text_box Fonts The ppmd_text and ppmd_text_box functions use fonts. You control the fonts using functions described in this section. There is one font that comes with Netpbm, called 'standard'. It is built into the function library and is the default font. You can create additional fonts and use them instead. In a program that uses Netpbm drawing facilities, there is a 'current font.' all drawing of text uses the current font. When the program starts, the current font is 'standard'; you can change it after that by calling the ppmd_set_font function. Other than a built-in font, a font lives in file in a format special to Netpbm called Ppmdfont. The file typically has a name that ends in '.ppmdfont'. Use the ppmddumpfont program to dump the contents of a Ppmdfont file in human readable format. Use the ppmdmkfont program to generate the 'standard' font as a Ppmdfont file. You don't normally need to do this, because 'standard' is built into libnetpbm. Use the ppmdcfont program to turn a Ppmdfont file into a C source file that you can compile into a program as a built-in font. Though we don't give full instructions here on how to do that, libnetpbm's built-in 'standard' font is a good example. In Netpbm source code, you will find the C source file standardppmdfont.c, which was generated from the file standard.ppmdfont by ppmdcfont. You simply use a pointer to the structure that the C file defines as a font handle, just like one you would get from ppmd_read_font. Font File Format The font file starts with the characters 'ppmdfont' (without the quotation marks) in ASCII. The rest of the format is not yet documented, but it generally describes, for each code point, a sequence of straight line plotting com- mands to form the glyph for the indicated character. I.e. it is a vector, not raster, font. Font Control Functions These functions are declared in the header file ppmdfont.h. ppmd_read_font This function associates a Ppmdfont file, which you identify by naming the Ppmdfont file, with a handle that you can use to identify the font to other functions. Technically, this function reads the font into memory. ppmd_free_font This function releases the handle that you get from ppmd_read_font. It frees resources associated with it; you can't use the handle after this. ppmd_get_font This function returns the handle of the currently selected font. ppmd_set_font This function sets the currently selected font. You identify the font to which to set it with a handle such as you get from ppmd_read_font or ppmd_get_font. netpbm documentation September 2005 Libnetpbm PPM Drawing Function Manual(3)
All times are GMT -4. The time now is 03:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy