Home >> (Table of Contents) Advanced Custom Study/System Interface and Language (ACSIL) >> ACSIL Interface Members - Introduction >> ACSIL Interface Members - GraphicsFunctions
ACSIL Interface Members - Graphics Functions
Related Documentation
- ACSIL Interface Members - Introduction.
- ACSIL Interface Members - Variables and Arrays.
- ACSIL Interface Members - sc.Input Array.
- ACSIL Interface Members - sc.Subgraph Array.
- ACSIL Interface Members - Functions.
- ACSIL Interface Members - Graphics Functions
On This Page
- Notes About Graphics Functions.
- sc.DrawFrameControl().
- sc.DrawEdge().
- sc.GetCurrentPosition().
- sc.LineTo().
- sc.MoveTo().
- sc.SetPixel().
- sc.FillEllipse().
- sc.DrawEllipseOutline().
- sc.DrawEllipseWithRadius().
- sc.DrawEllipse().
- sc.DrawArc().
- sc.DrawTextWithState().
- sc.DrawTextInRectangle().
- sc.DrawTextAt().
- sc.DrawText().
- sc.Internal_DrawPolygon().
- sc.FillRectangleWithColor().
- sc.FillRectangle().
- sc.Draw3DRectangle().
- sc.DrawFocusRectangle().
- sc.DrawRectangle().
- sc.GetTextSizeWithFont().
- sc.GetTextSize().
- sc.GetTextHeightWithFont().
- sc.GetTextHeight().
- sc.CalculateFontPointSize().
- sc.CalculateFontLogicalHeight().
- sc.GetDeviceCaps().
- sc.ResetTextFont().
- sc.ResetTextColor().
- sc.ResetTextAlign().
- sc.ResetPen().
- sc.ResetBrush().
- sc.ResetMixMode().
- sc.ResetClippingRegion().
- sc.ResetBackgroundMode().
- sc.ResetBackgroundColor().
- sc.SetTextFont().
- sc.SetTextColor().
- sc.SetTextAlign().
- sc.SetPen().
- sc.SetBrush().
- sc.SetMixMode().
- sc.SetClippingRegionFromRectangle().
- sc.SetBackgroundMode().
- sc.SetBackgroundColor().
- sc.DrawPolygon().
Functions
Notes About Graphics Functions
sc.DrawFrameControl()
Type: Function
int32_t DrawFrameControl(n_ACSIL::s_GraphicsRectangle& r_Rectangle, const uint32_t Type, const uint32_t State);
Parameters
- r_Rectangle:
- Type:
- State:
Example
sc.DrawEdge()
Type: Function
int32_t DrawEdge(n_ACSIL::s_GraphicsRectangle& r_Rectangle, const uint32_t EdgeType, const uint32_t Flags);
Parameters
- r_Rectangle:
- EdgeType:
- Flags:
Example
sc.GetCurrentPosition()
Type: Function
int32_t GetCurrentPosition(n_ACSIL::s_GraphicsPoint& r_GraphicsPoint);
Parameters
- r_GraphicsPoint:
Example
sc.LineTo()
Type: Function
int32_t LineTo(const int32_t XCoordinate, const int32_t YCoordinate);
Parameters
- XCoordinate:
- YCoordinate:
Example
sc.MoveTo()
Type: Function
int32_t MoveTo(const int32_t XCoordinate, const int32_t YCoordinate);
Parameters
- XCoordinate:
- YCoordinate:
Example
sc.SetPixel()
Type: Function
int32_t SetPixel(const int32_t XCoordinate, const int32_t YCoordinate, const n_ACSIL::s_GraphicsColor& Color);
Parameters
- XCoordinate:
- YCoordinate:
- Color:
Example
sc.FillEllipse()
Type: Function
int32_t FillEllipse(int LeftRect, int32_t TopRect, int32_t RightRect, int32_t BottomRect, const n_ACSIL::s_GraphicsBrush& Brush);
Parameters
- LeftRect:
- TopRect:
- RightRect:
- BottomRect:
- Brush:
Example
sc.DrawEllipseOutline()
Type: Function
int32_t DrawEllipseOutline(int LeftRect, int32_t TopRect, int32_t RightRect, int32_t BottomRect, const n_ACSIL::s_GraphicsBrush& Brush, int32_t Width, int32_t Height);
Parameters
- LeftRect:
- TopRect:
- RightRect:
- BottomRect:
- Brush:
- Width:
- Height:
Example
sc.DrawEllipseWithRadius()
Type: Function
int32_t DrawEllipseWithRadius(int32_t StartPointX, int32_t StartPointY, int32_t EndPointX, int32_t EndPointY, int32_t SecondRadius);
Parameters
- StartPointX:
- StartPointY:
- EndPointX:
- EndPointY:
- SecondRadius:
Example
sc.DrawEllipse()
Type: Function
int32_t DrawEllipse(int32_t LeftRect, int32_t TopRect, int32_t RightRect, int32_t BottomRect);
Parameters
- LeftRect:
- TopRect:
- RightRect:
- BottomRect:
Example
sc.DrawArc()
Type: Function
int32_t DrawArc(int32_t LeftRect, int32_t TopRect, int32_t RightRect, int32_t BottomRect, int32_t StartArcX, int32_t StartArcY, int32_t EndArcX, int32_t EndArcY);
Parameters
- LeftRect:
- TopRect:
- RightRect:
- BottomRect:
- StartArcX:
- StartArcY:
- EndArcX:
- EndArcY:
Example
sc.DrawTextWithState()
Type: Function
int32_t DrawTextWithState(const SCString& Text, const n_ACSIL::s_GraphicsPoint TextAnchor, const n_ACSIL::s_GraphicsSize Size, const uint32_t StateFlags);
Parameters
- Text:
- TextAnchor:
- Size:
- StateFlags:
Example
sc.DrawTextInRectangle()
Type: Function
int32_t DrawTextInRectangle(const SCString& Text, const int32_t TextAnchorX, const int32_t TextAnchorY, const n_ACSIL::s_GraphicsRectangle& Rectangle, const uint32_t Options);
Parameters
- Text:
- TextAnchorX:
- TextAnchorY:
- Rectangle:
- Options:
Example
sc.DrawTextAt()
Type: Function
int32_t DrawTextAt(const SCString& Text, const int32_t TextAnchorX, const int32_t TextAnchorY);
Parameters
- Text:
- TextAnchorX:
- TextAnchorY:
Example
sc.DrawText()
Type: Function
int32_t DrawText(const SCString& Text, n_ACSIL::s_GraphicsRectangle& r_Rectangle, const uint32_t Flags);
Parameters
- Text:
- r_Rectangle:
- Flags:
Example
sc.Internal_DrawPolygon()
Type: Function
int32_t Internal_DrawPolygon(const n_ACSIL::s_GraphicsPoint* p_Points, const int32_t NumPoints);
Parameters
- p_Points:
- NumPoints:
Example
sc.FillRectangleWithColor()
Type: Function
int32_t FillRectangleWithColor( const n_ACSIL::s_GraphicsRectangle& Rectangle, const n_ACSIL::s_GraphicsColor& Color);
Parameters
- Rectangle:
- Color:
Example
sc.FillRectangle()
Type: Function
int32_t FillRectangle(const n_ACSIL::s_GraphicsRectangle& Rectangle, const n_ACSIL::s_GraphicsBrush& Brush);
Parameters
- Rectangle:
- Brush:
Example
sc.Draw3DRectangle()
Type: Function
int32_t Draw3DRectangle(const n_ACSIL::s_GraphicsRectangle& Rectangle, const n_ACSIL::s_GraphicsColor& TopLeftColor, const n_ACSIL::s_GraphicsColor& BottomRightColor);
Parameters
- Rectangle:
- TopLeftColor:
- BottomRightColor:
Example
sc.DrawFocusRectangle()
Type: Function
int32_t DrawFocusRectangle(const n_ACSIL::s_GraphicsRectangle& Rectangle);
Parameters
- Rectangle:
Example
sc.DrawRectangle()
Type: Function
int32_t DrawRectangle(int32_t LeftRect, int32_t TopRect, int32_t RightRect, int32_t BottomRect);
Parameters
- LeftRect:
- TopRect:
- RightRect:
- BottomRect:
Example
sc.GetTextSizeWithFont()
Type: Function
int32_t GetTextSizeWithFont(const SCString& Text, const n_ACSIL::s_GraphicsFont& Font, n_ACSIL::s_GraphicsSize& r_GraphicsSize);
Parameters
- Text:
- Font:
- r_GraphicsSize:
Example
sc.GetTextSize()
Type: Function
int32_t GetTextSize(const SCString& Text, n_ACSIL::s_GraphicsSize& r_GraphicsSize);
Parameters
- Text:
- r_GraphicsSize:
Example
sc.GetTextHeightWithFont()
Type: Function
int32_t GetTextHeightWithFont(const n_ACSIL::s_GraphicsFont& Font);
Parameters
- Font:
Example
sc.GetTextHeight()
Type: Function
int32_t GetTextHeight();
Example
sc.CalculateFontPointSize()
Type: Function
int32_t CalculateFontPointSize(const int32_t LogicalHeight);
Parameters
- LogicalHeight:
Example
sc.CalculateFontLogicalHeight()
Type: Function
int32_t CalculateFontLogicalHeight(const int32_t PointSize);
Parameters
- PointSize:
Example
sc.GetDeviceCaps()
Type: Function
int32_t GetDeviceCaps( const int32_t Index);
Parameters
- Index:
Example
sc.ResetTextFont()
Type: Function
int32_t ResetTextFont();
Example
sc.ResetTextColor()
Type: Function
int32_t ResetTextColor();
Example
sc.ResetTextAlign()
Type: Function
int32_t ResetTextAlign();
Example
sc.ResetPen()
Type: Function
int32_t ResetPen();
Example
sc.ResetBrush()
Type: Function
int32_t ResetBrush();
Example
sc.ResetMixMode()
Type: Function
int32_t ResetMixMode();
Example
sc.ResetClippingRegion()
Type: Function
int32_t ResetClippingRegion();
Example
sc.ResetBackgroundMode()
Type: Function
int32_t ResetBackgroundMode();
Example
sc.ResetBackgroundColor()
Type: Function
int32_t ResetBackgroundColor();
Example
sc.SetTextFont()
Type: Function
int32_t SetTextFont(const n_ACSIL::s_GraphicsFont& TextFont);
Parameters
- TextFont:
Example
sc.SetTextColor()
Type: Function
int32_t SetTextColor(const n_ACSIL::s_GraphicsColor& TextColor);
Parameters
- TextColor:
Example
sc.SetTextAlign()
Type: Function
int32_t SetTextAlign(const uint32_t TextAlign);
Parameters
- TextAlign:
Example
sc.SetPen()
Type: Function
int32_t SetPen(const n_ACSIL::s_GraphicsPen& Pen);
Parameters
- Pen:
Example
sc.SetBrush()
Type: Function
int32_t SetBrush(const n_ACSIL::s_GraphicsBrush& Brush);
Parameters
- Brush:
Example
sc.SetMixMode()
Type: Function
int32_t SetMixMode(const int32_t Mode);
Parameters
- Mode:
Example
sc.SetClippingRegionFromRectangle()
Type: Function
int32_t SetClippingRegionFromRectangle(const n_ACSIL::s_GraphicsRectangle& Rectangle);
Parameters
- Rectangle:
Example
sc.SetBackgroundMode()
Type: Function
int32_t SetBackgroundMode(const int32_t BackgroundMode);
Parameters
- BackgroundMode:
Example
sc.SetBackgroundColor()
Type: Function
int32_t SetBackgroundColor(const n_ACSIL::s_GraphicsColor BackgroundColor);
Parameters
- BackgroundColor:
Example
sc.DrawPolygon()
Type: Function
int32_t DrawPolygon(const n_ACSIL::s_GraphicsPoint& Points, int t_count);
Parameters
- Points:
- t_Count:
Example
Common Function Parameter Descriptions
This is a list of all of the parameter descriptions for the common parameters for ACSIL graphics functions.
--
int --: .
*Last modified Monday, 10th February, 2025.