[Previous] [Contents] [Index] [Next]

Pg-Graphics

The Photon graphics functions build a buffer of draw commands. The application sends these commands to the Photon Manager, which in turn sends them to the graphics driver. The graphics driver then renders the commands on the screen.

Photon supports a set of simple, dual-purpose draw primitives that you can stroke (that is, draw as an outline) or fill, or both. These primitives include arcs, ellipses, polygons, rectangles, and rounded rectangles.


Note: Instead of calling the Pg* functions directly, you should use widgets whenever possible because widgets handle interaction with the user and look after redrawing themselves when damaged. If you need to do raw drawing, create a PtRaw
widget, and call the drawing primitives in its draw function. For more information, see the Raw Drawing and Animation
chapter of the Photon Programmer's Guide.

PgBackgroundShadings()
PgBlueValue()
PgClearDrawBuffer()
PgClearTranslation()
PgCMY()
PgColor_t
PgColorHSV_t
PgColorMatch()
PgCreateGC()
PgDefaultFill()
PgDefaultGC()
PgDefaultMode()
PgDefaultStroke()
PgDefaultText()
PgDestroyGC()
PgDrawArc()
PgDrawBevelBox()
PgDrawBeveled()
PgDrawBezier()
PgDrawBeziermx()
PgDrawBitmap()
PgDrawBitmapmx()
PgDrawEllipse()
PgDrawGrid()
PgDrawIBevelBox()
PgDrawILine()
PgDrawImage()
PgDrawImagemx()
PgDrawIPixel()
PgDrawIRect()
PgDrawLine()
PgDrawPhImagemx()
PgDrawPixel()
PgDrawPixelArray()
PgDrawPixelArraymx()
PgDrawPolygon()
PgDrawPolygonmx()
PgDrawRect()
PgDrawRepBitmap()
PgDrawRepBitmapmx()
PgDrawRepImage()
PgDrawRepImagemx()
PgDrawRoundRect()
PgDrawSpan()
PgDrawSpanmx()
PgDrawString()
PgDrawStringmx()
PgDrawText()
PgDrawTextArea()
PgDrawTextChars()
PgDrawTextmx()
PgDrawTImage()
PgDrawTImagemx()
PgDrawTrend()
PgDrawTrendmx()
PgExtentText()
PgFFlush()
PgFlush()
PgGetGC()
PgGetPalette()
PgGray()
PgGrayValue()
PgGreenValue()
PgHSV()
PgHSV2RGB()
PgRedValue()
PgRGB()
PgRGB2HSV()
PgSetClipping()
PgSetDrawBufferSize()
PgSetDrawMode()
PgSetFillColor()
PgSetFillDither()
PgSetFillTransPat()
PgSetFillXORColor()
PgSetFont()
PgSetGC()
PgSetMultiClip()
PgSetPalette()
PgSetPlaneMask()
PgSetRegion()
PgSetStrokeCap()
PgSetStrokeColor()
PgSetStrokeDash()
PgSetStrokeDither()
PgSetStrokeFWidth()
PgSetStrokeJoin()
PgSetStrokeTransPat()
PgSetStrokeWidth()
PgSetStrokeXORColor()
PgSetTextColor()
PgSetTextDither()
PgSetTextTransPat()
PgSetTextXORColor()
PgSetTranslation()
PgSetUnderline()
PgSetUserClip()
PgSetUserClipAbsolute()
PgShmemAttach()
PgShmemCleanup()
PgShmemCreate()
PgShmemDestroy()
PgShmemDetach()

Ap ¦ mbstr ¦ Pf ¦ Pg ¦ Ph ¦ Pm ¦ Pp ¦ Pt ¦ Px ¦ wc


[Previous] [Contents] [Index] [Next]