Module webrender::border [] [src]

Reexports

use api::BorderRadius;
use api::BorderSide;
use api::BorderStyle;
use api::BorderWidths;
use api::ClipAndScrollInfo;
use api::ColorF;
use api::LayerPoint;
use api::LayerRect;
use api::LayerPrimitiveInfo;
use api::LayerSize;
use api::NormalBorder;
use api::RepeatMode;
use clip::ClipSource;
use ellipse::Ellipse;
use frame_builder::FrameBuilder;
use gpu_cache::GpuDataRequest;
use prim_store::BorderPrimitiveCpu;
use prim_store::BrushSegment;
use prim_store::BrushSegmentDescriptor;
use prim_store::BrushClipMaskKind;
use prim_store::EdgeAaSegmentMask;
use prim_store::PrimitiveContainer;
use prim_store::TexelRect;
use util::lerp;
use util::pack_as_float;

Structs

BorderCornerClipData

Represents the common GPU data for writing a clip mask for a border corner.

BorderCornerClipSource

The source data for a border corner clip mask.

BorderCornerDashClipData

Represents the GPU data for drawing a single dash to a clip mask. A dash clip is defined by two lines. We store a point on the ellipse curve, and a tangent to that point, which allows for efficient line-distance calculations in the fragment shader.

BorderCornerDotClipData

Represents the GPU data for drawing a single dot to a clip mask.

DotInfo
ImageBorderSegment

Enums

BorderCorner
BorderCornerClipKind

The kind of border corner clip.

BorderCornerInstance
BorderCornerKind
BorderCornerSide
BorderEdgeKind

Traits

BorderSideHelpers
NormalBorderHelpers

Functions

ensure_no_corner_overlap