API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

AEECLIP

Brew Release
Brew MP 1.0.2
Description
This structure defines the dimensions of a clipping shape that is used to restrict the region in which an IGraphics drawing operations takes effect.
Members
  • type : Type of clipping shape.
  • shape : Union of clipping shape.
  • shape.rect : Rectangular clipping shape.
  • shape.circle : Circular clipping shape.
  • shape.ellipse : Ellipse as the clipping shape.
  • shape.pie : Circular pie as the clipping shape.
  • shape.triangle : Triangular clipping shape.
Definition
  • typedef struct _clipshape
    {
       AEEClipShape type;
       union {
          AEERect rect;
          AEECircle circle;
          AEEEllipse ellipse;
          AEEPie pie;
          AEETriangle triangle;
       } shape;
    } AEEClip;
    
Comments
Shape is a UNION type. Only one of the shapes is effective at any moment. The program has to check the type and then access shape for the corresponding clipping shape.