ScummVM API documentation
Graphics::DrawStep Struct Reference

Classes

struct  Color
 

Public Types

enum  VectorAlignment {
  kVectorAlignManual, kVectorAlignLeft, kVectorAlignRight, kVectorAlignBottom,
  kVectorAlignTop, kVectorAlignCenter
}
 

Public Attributes

DrawingFunctionCallback drawingCall
 
Graphics::ManagedSurfaceblitSrc
 
Color fgColor
 
Color bgColor
 
Color gradColor1
 
Color gradColor2
 
Color bevelColor
 
bool autoWidth
 
bool autoHeight
 
int16 x
 
int16 y
 
int16 w
 
int16 h
 
Common::Rect padding
 
Common::Rect clip
 
VectorAlignment xAlign
 
VectorAlignment yAlign
 
uint8 shadow
 
uint8 stroke
 
uint8 factor
 
uint8 radius
 
uint8 bevel
 
uint8 fillMode
 
uint8 shadowFillMode
 
uint32 extraData
 
uint32 scale
 
uint32 shadowIntensity
 
GUI::ThemeEngine::AutoScaleMode autoscale
 

Member Data Documentation

◆ drawingCall

DrawingFunctionCallback Graphics::DrawStep::drawingCall

Pointer to drawing function

◆ fgColor

Color Graphics::DrawStep::fgColor

Foreground color

◆ bgColor

Color Graphics::DrawStep::bgColor

background color

◆ gradColor1

Color Graphics::DrawStep::gradColor1

gradient start

◆ gradColor2

Color Graphics::DrawStep::gradColor2

gradient end

◆ h

int16 Graphics::DrawStep::h

width, height and position, if not measured automatically. negative values mean counting from the opposite direction

◆ clip

Common::Rect Graphics::DrawStep::clip

Clipping rect restriction

◆ bevel

uint8 Graphics::DrawStep::bevel

Misc options...

◆ fillMode

uint8 Graphics::DrawStep::fillMode

active fill mode

◆ shadowFillMode

uint8 Graphics::DrawStep::shadowFillMode

fill mode of the shadow used

◆ extraData

uint32 Graphics::DrawStep::extraData

Generic parameter for extra options (orientation/bevel)

◆ scale

uint32 Graphics::DrawStep::scale

scale of all the coordinates in FIXED POINT with 16 bits mantissa

◆ shadowIntensity

uint32 Graphics::DrawStep::shadowIntensity

interval for drawing shadows in FIXED POINT with 16 bits mantissa

◆ autoscale

GUI::ThemeEngine::AutoScaleMode Graphics::DrawStep::autoscale

scale alphaimage if present


The documentation for this struct was generated from the following file: