Posted  by 

Syntax Laptops & Desktops Driver Download

GRAPHICS FUNCTIONS

  1. Syntax Laptops For Sale
  2. Syntax Laptops For Gaming
  3. Syntax Laptops For Kids
  4. Syntax Laptops & Desktops Driver Download
  1. Putpixel

Purpose:-Putpixel function is to draw the pixel on the screen. Pixel is small dot on the screen.

Syntax wmic global switches command Global switches /NAMESPACE: NAMESPACE - Path for the namespace the alias is to operate against. Namespaces are always relative.

Syntax is the set of rules by which the words and symbols in an expression are correctly combined. Initially, expressions in Access are a little bit hard to read. But with a good understanding of expression syntax and a little practice, it becomes much easier. The Windows PowerShell Expression Language syntax provides rich type-conversion support for value types received by the Filter parameter. The syntax uses an in-order representation, which means that the operator is placed between the operand and the value. For more information about the Filter parameter, type Get-Help aboutActiveDirectoryFilter.

Syntax:-putpixel(x co-orinate, y co-ordinate,COLOR);

Example: – putpixel(100,100,BLUE);

  1. SetbkColor

Purpose:-Setbkcolor function is used to set background color of the screen.

Syntax:-setbkcolor(COLOR);

Example:-setbkcolor(RED);

  1. Setlinestyle

Purpose:-setlinestyle function is used to set the current line style, width and pattern

Syntax:-setlinestyle(linestyle, pattern, thickness);

Example:-setlinestyle(SOLID_LINE,1,2);

  1. Setcolor

Purpose:-setcolor is to set color of the objects which is to be drawn after this setcolor line.

Syntax:-setcolor(COLOR);

Example:-setcolor(RED);

  1. Rectange:-

Purpose:- Rectangle function is used to draw the rectangle on the screen. X1,y1 are the lower left co-ordinates of the rectangle and the x2,y2 are the upper right co-ordinates of the rectangle.

Syntax:– rectangle(x1,y1,x2,y2);

Example:– rectangle(100,100,200,200);

  1. Textheight

Purpose:-textheight returns the height of a string in pixels.

Syntax:-textheight(STRING);

Example:-i=textheight(“HELLO”);

  1. Textwidth

Purpose:-textwidth returns the width of a string in pixels

Syntax:-textwidth(STRING);

Example:-i=textwidth(“HELLO”);

  1. Getx

Purpose:-getx returns the current position’s of x o-ordinate

Syntax:-getx();

Example:-x=getx();

  1. Gety

Purpose:-gety returns the current position’s of y co-ordinate

Syntax:-gety();

Example:-y=gety();

  1. Getmaxx

Purpose:-getmaxxreturns the maximum x co-ordinate on the screen

Syntax:-getmaxx();

Example:-maxx=getmaxx();

  1. Getmaxy

Purpose:-getmaxy returns the maximum y co-ordinate on the screen

Sale

Syntax:-getmaxy();

Example:-maxy=getmaxy();

  1. Line

Purpose:-Line function is used to draw the line on the screen.

Syntax: line(x1,y1,x2,y2);

Example:-line(100,100,200,100);

  1. Closegraph

Purpose:-closegraph function shut down the graphic system

Syntax:-closegraph();

Example:-closegraph();

  1. Moveto

Purpose:-moveto function moves current cursor position on the screen

Syntax:-moveto(x co-ordinate, y co-ordinate);

Example:-moveto(getmaxx/2, getmaxy/2);

  1. Settextstyle

Purpose:-settextstyle sets the current text characteristics like font, direction and size

Syntax:-settextstyle(font, direction size);

Example:-settextstyle(1,1,10);

Font 1 DEFAULT

2 TRIPLEX

3 SMALL

4 SANS SERIF

5 GOTHIC

Direction 0 HORIZ_DIR

  • VERT_DIR

Size 0 SMALL

10 large

  1. Circle

Purpose: Circle function is used to draw the circle on the screen

Syntax:– circle(x,y,radius);

Example:circle(100,100,50);

  1. Cleardevice

Purpose: cleardevice function is used to clear the contents or graphic images on the screen in graphics mode.

Syntax:cleardevice();

Example:cleardevice();

  1. Outtextxy

Purpose: outtextxy function is used to print the text on the screen in graphics mode.

Syntax:outtext(x,y,text);

Example:-outtextxy(100,100,”HELLO”);

  1. Sector

Purpose:sector function draws and fills an elliptical pie slice.

Syntax:sector(x, y, starting angle, ending angle, xradius, yradius);

Example:sector(100,100,45 135 100 50);

  1. Arc

Purpose:arc draws the arc on the screen, arc is a part of the circle

Syntax:arc(x, y, starting angle, ending angle, radius);

Example:arc( 100,100,90,180,50);

  1. Setfillstyle

Purpose: setfillstyle is used to set the color and style to be filled in the object using the flood fill method.

Syntax Laptops For Sale

Syntax:stefillstyle(STYLE, COLOR);

Example:setfillstyle(1,RED)

  1. Floodfill

Purpose:floodfill function is used to fill the color in the object, object may be circle, rectangle or any other closed image.

Syntax:floodfill(x,y,boundary color);

Example:floodfill(100,100,BLUE);

  1. Ellipse

Purpose:ellipse function is used to draw the ellipse on the screen.

Syntax:ellipse(x, y, starting angle, ending angle, xradius, yradius);

Example:ellipse(100,100,90,200,20,20);

  1. Outtext

Purpose:outtext function is used to display the text on the screen, using this function text is display in the current position.

Syntax:outtext(STRING);

Example:outtex(“HELLO”);

  1. Getcolor

Purpose:getcolor returns the current drawing color.

Syntax:getcolor();

Example:intclr = getcolor();

  1. Getpixel

Purpose:getpixel gets the color of a specified pixel.

Syntax Laptops For Gaming

Syntax:getpixel(x,y);

Example: color=getpixel(100,100);

-->

Starts a new instance of the command interpreter, Cmd.exe. If used without parameters, cmd displays the version and copyright information of the operating system.

Syntax

Parameters

ParameterDescription
/cCarries out the command specified by string and then stops.
/kCarries out the command specified by string and continues.
/sModifies the treatment of string after /c or /k.
/qTurns the echo off.
/dDisables execution of AutoRun commands.
/aFormats internal command output to a pipe or a file as American National Standards Institute (ANSI).
/uFormats internal command output to a pipe or a file as Unicode.
/t:{<b><f><f>}Sets the background (b) and foreground (f) colors.
/e:onEnables command extensions.
/e:offDisables commands extensions.
/f:onEnables file and directory name completion.
/f:offDisables file and directory name completion.
/v:onEnables delayed environment variable expansion.
/v:offDisables delayed environment variable expansion.
<string>Specifies the command you want to carry out.
/?Displays help at the command prompt.

The following table lists valid hexadecimal digits that you can use as the values for <b> and <f>:

ValueColor
0Black
1Blue
2Green
3Aqua
4Red
5Purple
6Yellow
7White
8Gray
9Light blue
aLight green
bLight aqua
cLight red
dLight purple
eLight yellow
fBright white

Syntax Laptops For Kids

Remarks

  • To use multiple commands for <string>, separate them by the command separator && and enclose them in quotation marks. For example:

  • If you specify /c or /k, cmd processes, the remainder of string, and the quotation marks are preserved only if all of the following conditions are met:

    • You don't also use /s.

    • You use exactly one set of quotation marks.

    • You don't use any special characters within the quotation marks (for example: & < > ( ) @ ^ ).

    • You use one or more white-space characters within the quotation marks.

    • The string within quotation marks is the name of an executable file.

    If the previous conditions aren't met, string is processed by examining the first character to verify whether it is an opening quotation mark. If the first character is an opening quotation mark, it is stripped along with the closing quotation mark. Any text following the closing quotation marks is preserved.

  • If you don't specify /d in string, Cmd.exe looks for the following registry subkeys:

    • HKEY_LOCAL_MACHINESoftwareMicrosoftCommand ProcessorAutoRunREG_SZ

    • HKEY_CURRENT_USERSoftwareMicrosoftCommand ProcessorAutoRunREG_EXPAND_SZ

    If one or both registry subkeys are present, they're executed before all other variables.

    Caution

    Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.

  • You can disable command extensions for a particular process by using /e:off. You can enable or disable extensions for all cmd command-line options on a computer or user session by setting the following REG_DWORD values:

    • HKEY_LOCAL_MACHINESoftwareMicrosoftCommand ProcessorEnableExtensionsREG_DWORD

    • HKEY_CURRENT_USERSoftwareMicrosoftCommand ProcessorEnableExtensionsREG_DWORD

    Set the REG_DWORD value to either 0×1 (enabled) or 0×0 (disabled) in the registry by using Regedit.exe. User-specified settings take precedence over computer settings, and command-line options take precedence over registry settings.

    Caution

    Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.

    When you enable command extensions, the following commands are affected:

    • assoc

    • call

    • chdir (cd)

    • color

    • del (erase)

    • endlocal

    • for

    • ftype

    • goto

    • if

    • mkdir (md)

    • popd

    • prompt

    • pushd

    • set

    • setlocal

    • shift

    • start (also includes changes to external command processes)

  • If you enable delayed environment variable expansion, you can use the exclamation point character to substitute the value of an environment variable at run time.

  • File and directory name completion is not enabled by default. You can enable or disable file name completion for a particular process of the cmd command with /f:{onoff}. You can enable or disable file and directory name completion for all processes of the cmd command on a computer or for a user logon session by setting the following REG_DWORD values:

    • HKEY_LOCAL_MACHINESoftwareMicrosoftCommand ProcessorCompletionCharREG_DWORD

    • HKEY_LOCAL_MACHINESoftwareMicrosoftCommand ProcessorPathCompletionCharREG_DWORD

    • HKEY_CURRENT_USERSoftwareMicrosoftCommand ProcessorCompletionCharREG_DWORD

    • HKEY_CURRENT_USERSoftwareMicrosoftCommand ProcessorPathCompletionCharREG_DWORD

    To set the REG_DWORD value, run Regedit.exe and use the hexadecimal value of a control character for a particular function (for example, 0×9 is TAB and 0×08 is BACKSPACE). User-specified settings take precedence over computer settings, and command-line options take precedence over registry settings.

    Caution

    Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.

  • If you enable file and directory name completion by using /f:on, use CTRL+D for directory name completion and CTRL+F for file name completion. To disable a particular completion character in the registry, use the value for white space [0×20] because it is not a valid control character.

    • Pressing CTRL+D or CTRL+F, processes the file and directory name completion. These key combination functions append a wildcard character to string (if one is not present), builds a list of paths that match, and then displays the first matching path.

      If none of the paths match, the file and directory name completion function beeps and does not change the display. To move through the list of matching paths, press CTRL+D or CTRL+F repeatedly. To move through the list backwards, press the SHIFT key and CTRL+D or CTRL+F simultaneously. To discard the saved list of matching paths and generate a new list, edit string and press CTRL+D or CTRL+F. If you switch between CTRL+D and CTRL+F, the saved list of matching paths is discarded and a new list is generated. The only difference between the key combinations CTRL+D and CTRL+F is that CTRL+D only matches directory names and CTRL+F matches both file and directory names. If you use file and directory name completion on any of the built-in directory commands (that is, CD, MD, or RD), directory completion is assumed.

    • File and directory name completion correctly processes file names that contain white space or special characters if you place quotation marks around the matching path.

    • You must use quotation marks around the following special characters: & < > [ ] { } ^ = ; ! ' + , ` ~ [white space].

    • If the information that you supply contains spaces, you must use quotation marks around the text (for example, 'Computer Name').

    • If you process file and directory name completion from within string, any part of the path to the right of the cursor is discarded (at the point in string where the completion was processed).

Syntax Laptops & Desktops Driver Download

Additional References