Einhugur Framework for C++

Graphics Class

A class to handle all drawing.

Object
   Graphics

class Graphics

Constructors

Graphics

Methods

DrawImage
DrawImage
DrawLineDraws a line from x1; y1 to x2;y2 using the current stroke color.
DrawOval
DrawRectangleDraws a rectangle using the selected stroke color.
DrawText
FillOval
FillRectangleDraws a filled rectangle using the selected fill color.
GetCGContextRef
Release (Inherited)Decreases reference count by one and deletes the object if the reference count reached zero.
Retain (Inherited)Increases the reference count by one.
SetAlpha
SetAntialias
SetFillColor
SetFillColor
SetStrokeColor
SetStrokeColor
StringWidthMeasures the width of a string using a supplied font.