Module draw_trapezoid

Module draw_trapezoid 

Source

Modules§

action
audio
audio_stream
display_context
event
file_dialogs
live_atomic
live_cx
live_traits
log
makepad_futures
makepad_shader_compiler
midi
os
scope
smallvec
Small vectors in various sizes. These store a certain number of elements inline, and fall back to the heap for larger allocations. This can be a useful optimization for improving cache locality and reducing allocator traffic for workloads that fit within the inline buffer.
studio
thread
ui_runner
video
web_socket

Macros§

app_main
color
error
fmt_over
fmt_over_ref
generate_any_send_trait_api
generate_any_trait_api
get_component
gl_flush_error
gl_log_error
id
id_lut
ids
live
live_array
live_design
live_error_origin
live_id
live_id_num
live_object
live_primitive
log
profile_end
profile_end_log
register_component_factory
some_id
warning

Structs§

AffineTransformation
Animator
Apply
AudioBuffer
AudioDeviceDesc
AudioDeviceId
AudioDevicesEvent
AudioInfo
AudioTime
CameraFov
ComponentList
ComponentMap
Cx
Cx2d
CxDrawCall
CxDrawItem
CxDrawListPool
CxLinuxMedia
CxRectArea
CxRef
CxWindowPool
DVec2
DVec3
DVec4
DesignerPickEvent
DragEvent
DragHitEvent
DrawEvent
DrawList
DrawList2d
DrawListId
DrawMatrix
DrawShaderPtr
DrawTrapezoidVector
DrawVars
DropEvent
DropHitEvent
File
An object providing access to an open file on the filesystem.
FingerDownEvent
FingerHoverEvent
FingerMoveEvent
FingerScrollEvent
FingerUpEvent
FromUIReceiver
FromUISender
Geometry
GeometryField
GeometryFingerprint
GeometryId
GeometryQuad2D
GeometryRef
Glyph
A glyph in a font.
HashMap
A hash map implemented with quadratic probing and SIMD lookup.
HeapLiveIdPath
HitOptions
HttpError
HttpProgress
HttpRequest
HttpResponse
InlineString
InstanceArea
KeyEvent
KeyFocusEvent
KeyModifiers
Layout
LiveBinding
LiveBody
LiveComponentInfo
LiveDependency
LiveErrorOrigin
LiveFileId
LiveId
LiveIdHasher
LiveIdHasherBuilder
LiveIdInterner
LiveIdMap
LiveIdPath
LiveModuleId
LiveNode
LiveNodeOrigin
LiveProp
LivePtr
LiveRegistry
LiveTypeField
LiveTypeInfo
ManyInstances
Margin
Mat4
MessageThreadPool
MidiAftertouch
MidiChannelAftertouch
MidiControlChange
MidiData
MidiInput
MidiNote
MidiOutput
MidiPitchBend
MidiPortDesc
MidiPortId
MidiPortsEvent
MidiProgramChange
MidiSystem
MouseButton
A u32 bit mask of all mouse buttons that were pressed during a given mouse event.
MouseDownEvent
MouseMoveEvent
MouseUpEvent
NextFrame
NextFrameEvent
Pass
PassId
Plane
PointUsize
Pose
PrettyPrintedF32
PrettyPrintedF64
Quat
Rc
A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.
Rect
RectArea
RectUsize
RefCell
A mutable memory location with dynamically checked borrow rules
RevThreadPool
Scope
ScopeDataMut
ScopeDataRef
ShaderEnum
ShaderRegistry
SignalFromUI
SignalToUI
SizeUsize
SmallVec
A Vec-like container that can store a small number of elements inline.
TagThreadPool
TextClipboardEvent
TextInputEvent
Texture
TextureAnimation
TextureId
Timer
TimerEvent
ToUIReceiver
ToUISender
Trapezoidator
Converts a sequence of line path commands to a sequence of trapezoids. The line path commands should define a set of closed contours.
Trigger
UiRunner
Run code on the UI thread from another thread.
Vec2
Vec3
Vec4
Vector
A vector in 2-dimensional Euclidian space.
VideoBuffer
VideoBufferRef
VideoFormat
VideoFormatId
VideoInputDesc
VideoInputId
VideoInputsEvent
Walk
WebSocket
WindowCloseRequestedEvent
WindowClosedEvent
WindowDragQueryEvent
WindowGeomChangeEvent
WindowHandle
WindowId
WindowMovedEvent
XrAnchor
XrController
XrHand
XrLocalEvent
XrState
XrUpdateEvent

Enums§

Animate
AnimatorAction
ApplyFrom
ArcStringMut
Area
AudioDeviceType
CxOsOp
CxPassParent
CxPassRect
DigitDevice
DragHit
DragItem
DragResponse
DragState
Ease
Event
Events that can be sent between the Makepad framework and the application.
GpuPerformance
Hit
HitDesigner
HoverState
HttpMethod
InternLiveId
KeyCode
LiveFieldKind
LivePropType
LiveValue
LogLevel
MacosMenu
MidiEvent
MidiPortType
MouseCursor
NetworkResponse
OpenUrlInPlace
OsType
PassClearColor
PassClearDepth
Play
ShaderTy
TextureFormat
TextureSize
TextureUpdated
Vec2Index
VideoBufferData
VideoBufferRefData
VideoPixelFormat
VirtualKeyboardEvent
WebSocketMessage
WindowDragQueryResponse

Constants§

LIVE_ID_SEED
MAX_AUDIO_DEVICE_INDEX
MAX_VIDEO_DEVICE_INDEX
V0F0
V00F
VF00

Traits§

ActionCast
ActionCastRef
ActionDefaultRef
ActionTrait
AnimatorImpl
AppMain
BufRead
A BufRead is a type of Reader which has an internal buffer, allowing it to perform extra ways of reading.
CxMediaApi
CxOsApi
DeferCallback
ExtendFromInternalIterator
A trait for extending a collection with each item of an internal iterator.
FromInternalIterator
A trait for conversion from an internal iterator.
GeometryFields
InternalIterator
A trait for internal iterators. An internal iterator differs from a normal iterator in that its iteration is controlled internally by the iterator itself, instead of externally by the calling code. This means that instead of returning a single item on each call to next, internal iterators call a closure for each item on a single call to for_each. This allows internal operators to be implemented recursively, something that is not possible with normal iterators.
IntoInternalIterator
A trait for conversion into an internal iterator.
LiveApply
LiveApplyReset
LiveApplyValue
LiveComponentRegistry
LiveHook
LiveHookDeref
LiveIdAsProp
LiveNew
LiveNodeSliceApi
LiveNodeSliceToCbor
LiveNodeVecApi
LiveNodeVecFromCbor
LiveRead
LiveRegister
PathIterator
An extension trait for iterators over path commands.
Read
The Read trait allows for reading bytes from a source.
RedrawingApi
Seek
The Seek trait provides a cursor which can be moved within a stream of bytes.
ShaderMath
ToLiveValue
Transform
A trait to transform geometric objects in 2-dimensional Euclidian space.
Vec4Ext
Write
A trait for objects which are byte-oriented sinks.

Functions§

abs
acos
acosh
asin
asinh
atan
atanh
ceil
clamp
cos
cosh
dvec2
exp
exp2
floor
fract
live_design
ln
log2
log10
log_with_level
max
min
pow
powf
powi
profile_start
rect
shader_enum
sin
sinh
tan
tanh
vec2
vec3
vec4

Type Aliases§

Action
Actions
ActionsBuf
AudioInputFn
AudioOutputFn
LiveNodeSlice
LiveNodeVec
LiveRef
LiveType
NetworkResponsesEvent
VideoInputFn

Derive Macros§

DefaultNone
FromLiveId
Live
LiveAtomic
LiveComponentRegistry
LiveHook
LiveRead
LiveRegister